Commit 72fc2752 authored by Philipp Zabel's avatar Philipp Zabel

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

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

Fixes: fc1e985b ("drm/imx: ipuv3-plane: add color encoding and range properties")
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20210816131728.30987-1-p.zabel@pengutronix.deSigned-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 7cca7c80
...@@ -683,7 +683,7 @@ static void ipu_plane_atomic_update(struct drm_plane *plane, ...@@ -683,7 +683,7 @@ static void ipu_plane_atomic_update(struct drm_plane *plane,
break; 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); width = ipu_src_rect_width(new_state);
height = drm_rect_height(&new_state->src) >> 16; height = drm_rect_height(&new_state->src) >> 16;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment