projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4881a4
)
drm/i915/perf: Treat u64 in uabi as a normal integer
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 30 Nov 2016 16:46:49 +0000
(16:46 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 1 Dec 2016 07:37:51 +0000
(07:37 +0000)
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 <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
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/drm/i915_drm.h
b/include/uapi/drm/i915_drm.h
index bdfc68876990a7c4934af16d40ea2be92209dabe..da32c2f6c3f9a7389471eaa46e0a87c93d4e55aa 100644
(file)
--- 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;
};
/**