mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 17:57:23 +07:00
drm/i915: Don't use BIT() in UAPI section
Lets not introduce BIT() macro requirement for UAPI for now.
Fixes: 3fd3a6ffe2
("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
This commit is contained in:
parent
0c3767b281
commit
822a4b6732
@ -1318,7 +1318,7 @@ struct drm_i915_reg_read {
|
|||||||
* be specified
|
* be specified
|
||||||
*/
|
*/
|
||||||
__u64 offset;
|
__u64 offset;
|
||||||
#define I915_REG_READ_8B_WA BIT(0)
|
#define I915_REG_READ_8B_WA (1ul << 0)
|
||||||
|
|
||||||
__u64 val; /* Return value */
|
__u64 val; /* Return value */
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user