[Intel-gfx] [PATCH] drm/i915: Don't use BIT() in UAPI section
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Fri Oct 6 10:45:59 UTC 2017
Lets not introduce BIT() macro requirement for UAPI for now.
Fixes: 3fd3a6ffe279 ("drm/i915: Simplify i915_reg_read_ioctl")
Signed-off-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
---
include/uapi/drm/i915_drm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h
index 7266b53191ee..125bde7d9504 100644
--- 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 */
};
--
2.13.6
More information about the Intel-gfx
mailing list