Skip to content

Commit

Permalink
drm/imx: ipuv3-plane: fix accidental partial revert of 8 pixel alignm…
Browse files Browse the repository at this point in the history
…ent fix

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

Fixes: fc1e985 ("drm/imx: ipuv3-plane: add color encoding and range properties")
Signed-off-by: Philipp Zabel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Zabel <[email protected]>
  • Loading branch information
pH5 committed Aug 16, 2021
1 parent 7cca7c8 commit 72fc275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/imx/ipuv3-plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 72fc275

Please sign in to comment.