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:
40560e2
)
drm/imx: Use drm_plane_mask()
author
Ville Syrjälä
<
[email protected]
>
Tue, 26 Jun 2018 19:47:12 +0000
(22:47 +0300)
committer
Ville Syrjälä
<
[email protected]
>
Mon, 2 Jul 2018 15:45:56 +0000
(18:45 +0300)
Use drm_plane_mask() where appropriate.
Cc: Philipp Zabel <
[email protected]
>
Signed-off-by: Ville Syrjälä <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Rodrigo Vivi <
[email protected]
>
Acked-by: Philipp Zabel <
[email protected]
>
drivers/gpu/drm/imx/ipuv3-crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/imx/ipuv3-crtc.c
b/drivers/gpu/drm/imx/ipuv3-crtc.c
index e83af0f2be869a105036bf49c4f1b612acab83ee..21d002859ae0c7a23ed07ce5e8c1c6859d68eb14 100644
(file)
--- a/
drivers/gpu/drm/imx/ipuv3-crtc.c
+++ b/
drivers/gpu/drm/imx/ipuv3-crtc.c
@@
-213,7
+213,7
@@
static bool ipu_crtc_mode_fixup(struct drm_crtc *crtc,
static int ipu_crtc_atomic_check(struct drm_crtc *crtc,
struct drm_crtc_state *state)
{
- u32 primary_plane_mask =
1 << drm_plane_index
(crtc->primary);
+ u32 primary_plane_mask =
drm_plane_mask
(crtc->primary);
if (state->active && (primary_plane_mask & state->plane_mask) == 0)
return -EINVAL;