projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3767b
)
drm/i915: Don't use BIT() in UAPI section
author
Joonas Lahtinen
<
[email protected]
>
Fri, 6 Oct 2017 10:45:59 +0000
(13:45 +0300)
committer
Joonas Lahtinen
<
[email protected]
>
Fri, 6 Oct 2017 11:08:55 +0000
(14:08 +0300)
Lets not introduce BIT() macro requirement for UAPI for now.
Fixes: 3fd3a6ffe279 ("drm/i915: Simplify i915_reg_read_ioctl")
Signed-off-by: Joonas Lahtinen <
[email protected]
>
Cc: Chris Wilson <
[email protected]
>
Reviewed-by: Chris Wilson <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
include/uapi/drm/i915_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/i915_drm.h
b/include/uapi/drm/i915_drm.h
index 7266b53191ee7a764d1ecb3eaea751b559da1248..125bde7d95045e80473a0e709ac7943a8cb9d5cd 100644
(file)
--- a/
include/uapi/drm/i915_drm.h
+++ b/
include/uapi/drm/i915_drm.h
@@
-1318,7
+1318,7
@@
struct drm_i915_reg_read {
* be specified
*/
__u64 offset;
-#define I915_REG_READ_8B_WA
BIT(
0)
+#define I915_REG_READ_8B_WA
(1ul <<
0)
__u64 val; /* Return value */
};