]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: Treat u64 in uabi as a normal integer
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Nov 2016 16:46:49 +0000 (16:46 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 1 Dec 2016 07:37:51 +0000 (07:37 +0000)
commit380be66fc7802c0521d7b2651f6cfc0e07163096
tree6c911acc276223d7656d54a15b77fc2344c6f461
parent99f3cc93aa913715223b3670ba9e6cf8c1490b2a
drm/i915/perf: Treat u64 in uabi as a normal integer

Forgo marking up the u64 integer representing a user pointer as this
just annoys sparse. The conversion from u64 to a user pointer is managed
by u64_to_user_ptr().

Fixes: b3eb6faf8152 ("drm/i915: Add i915 perf infrastructure")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Robert Bragg <robert@sixbynine.org>
Cc: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161130164649.26809-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
include/uapi/drm/i915_drm.h