Skip to content

Commit

Permalink
drm/i915: Don't use BIT() in UAPI section
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Joonas Lahtinen committed Oct 6, 2017
1 parent 0c3767b commit 822a4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/drm/i915_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
Expand Down

0 comments on commit 822a4b6

Please sign in to comment.