diff options
author | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2017-10-06 12:45:59 +0200 |
---|---|---|
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2017-10-06 13:08:55 +0200 |
commit | 822a4b673284672af697ccd66e8795f8a712a90d (patch) | |
tree | 45a3a814a311d546b31e83bc277f9b1c16965b0a /include/uapi/drm/i915_drm.h | |
parent | drm/i915: Use crtc_state_is_legacy_gamma in intel_color_check (diff) | |
download | linux-822a4b673284672af697ccd66e8795f8a712a90d.tar.xz linux-822a4b673284672af697ccd66e8795f8a712a90d.zip |
drm/i915: Don't use BIT() in UAPI section
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@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
Diffstat (limited to 'include/uapi/drm/i915_drm.h')
-rw-r--r-- | include/uapi/drm/i915_drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ }; |