drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 24 Oct 2017 15:27:28 +0000 (16:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Nov 2017 08:54:49 +0000 (09:54 +0100)
commit0a2effa4941326d2d9e5d26fc70ebaa1a0e4eca5
tree8c1d545bf0d41a1e0b495ffed44ced74bd6944fd
parent0d74253003e6370e65468f5aec8c969bdef6733e
drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace

commit 7277f755048da562eb2489becacd38d0d05e1e06 upstream.

The compat callback was missing and triggered failures in 32bits
userspace when enabling/disable the perf stream. We don't require any
particular processing here as these ioctls don't take any argument.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: eec688e1420 ("drm/i915: Add i915 perf infrastructure")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171024152728.4873-1-lionel.g.landwerlin@intel.com
(cherry picked from commit 191f896085cf3b5d85920d58a759da4eea141721)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/i915_perf.c