Skip to contentSkip to conversation

drm/imx: ipuv3-plane: fix accidental partial revert of 8 pixel alignment fix

PATCH New Philipp Zabel 1 participant 1 message Aug 16, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/imx: ipuv3-plane: fix accidental partial revert of 8 pixel alignment fix

This fixes an accidental partial revert of commit 94dfec48fca7 ("drm/imx: Add 8 pixel alignment fix") during a rebase of commit fc1e985b67f9 ("drm/imx: ipuv3-plane: add color encoding and range properties").

Fixes fc1e985b67f9 ("drm/imx: ipuv3-plane: add color encoding and range properties")
---
 drivers/gpu/drm/imx/ipuv3-plane.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/imx/ipuv3-plane.c +1 -1
index 8710f55d2579..bd1f9f0366d3 100644
@@ -683,7 +683,7 @@ static void ipu_plane_atomic_update(struct drm_plane *plane,
 		break;
 	}
 
-	ipu_dmfc_config_wait4eot(ipu_plane->dmfc, drm_rect_width(dst));
+	ipu_dmfc_config_wait4eot(ipu_plane->dmfc, ALIGN(drm_rect_width(dst), 8));
 
 	width = ipu_src_rect_width(new_state);
 	height = drm_rect_height(&new_state->src) >> 16;
Signature · 1 line
2.30.2