aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-11-30 16:46:49 +0000
committerChris Wilson <[email protected]>2016-12-01 07:37:51 +0000
commitcd8bddc4ab535009a3cdf700a14f10d75eda899c (patch)
tree6c911acc276223d7656d54a15b77fc2344c6f461 /include
parentd4881a48a85ccb8b100fb7cd4f4791f35b0a3f49 (diff)
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: eec688e1420d ("drm/i915: Add i915 perf infrastructure") Signed-off-by: Chris Wilson <[email protected]> Cc: Robert Bragg <[email protected]> Cc: Matthew Auld <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Matthew Auld <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/i915_drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h
index bdfc68876990..da32c2f6c3f9 100644
--- a/include/uapi/drm/i915_drm.h
+++ b/include/uapi/drm/i915_drm.h
@@ -1292,7 +1292,7 @@ struct drm_i915_perf_open_param {
* Pointer to array of u64 (id, value) pairs configuring the stream
* to open.
*/
- __u64 __user properties_ptr;
+ __u64 properties_ptr;
};
/**