projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c1e82
)
drm/i915: define _MMIO_PLANE() in terms of _PLANE() not _MMIO_PIPE()
author
Jani Nikula
<jani.nikula@intel.com>
Wed, 31 Oct 2018 11:04:51 +0000
(13:04 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Fri, 2 Nov 2018 07:16:52 +0000
(09:16 +0200)
Minor semantic nit, no functional changes.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20181031110453.12722-2-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_reg.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_reg.h
b/drivers/gpu/drm/i915/i915_reg.h
index 25fd3c6d33a7e13126dc2e97e0522cb0730e9f23..f682dbaa5dee9501b157002b625a9c99eff916f8 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_reg.h
+++ b/
drivers/gpu/drm/i915/i915_reg.h
@@
-160,7
+160,7
@@
static inline bool i915_mmio_reg_valid(i915_reg_t reg)
#define _PIPE(pipe, a, b) _PICK_EVEN(pipe, a, b)
#define _MMIO_PIPE(pipe, a, b) _MMIO(_PIPE(pipe, a, b))
#define _PLANE(plane, a, b) _PICK_EVEN(plane, a, b)
-#define _MMIO_PLANE(plane, a, b) _MMIO
_PIPE(plane, a, b
)
+#define _MMIO_PLANE(plane, a, b) _MMIO
(_PLANE(plane, a, b)
)
#define _TRANS(tran, a, b) _PICK_EVEN(tran, a, b)
#define _MMIO_TRANS(tran, a, b) _MMIO(_TRANS(tran, a, b))
#define _PORT(port, a, b) _PICK_EVEN(port, a, b)