OSDN Git Service

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)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 24 Oct 2017 15:49:58 +0000 (16:49 +0100)
commit191f896085cf3b5d85920d58a759da4eea141721
treea37dc51345b13fd8c20c2a5e09babdfd3ee5b345
parent64b80085dd3603d401fc05879f700b86a3a5c8e8
drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace

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")
Cc: linux-stable <stable@vger.kernel.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171024152728.4873-1-lionel.g.landwerlin@intel.com
drivers/gpu/drm/i915/i915_perf.c