Skip to content

Commit 822a4b6

Browse files
drm/i915: Don't use BIT() in UAPI section
Lets not introduce BIT() macro requirement for UAPI for now. Fixes: 3fd3a6f ("drm/i915: Simplify i915_reg_read_ioctl") Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20171006104559.17312-1-joonas.lahtinen@linux.intel.com
1 parent 0c3767b commit 822a4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/drm/i915_drm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ struct drm_i915_reg_read {
13181318
* be specified
13191319
*/
13201320
__u64 offset;
1321-
#define I915_REG_READ_8B_WA BIT(0)
1321+
#define I915_REG_READ_8B_WA (1ul << 0)
13221322

13231323
__u64 val; /* Return value */
13241324
};

0 commit comments

Comments
 (0)