On 3/13/2024 5:02 PM, Dmitry Baryshkov wrote:
Take into account the plane rotation and flipping when calculating src
positions for the wide plane parts.

This is not an issue yet, because rotation is only supported for the
UBWC planes and wide UBWC planes are rejected anyway because in parallel
multirect case only the half of the usual width is supported for tiled
formats. However it's better to fix this now rather than stumbling upon
it later.

Fixes: 80e8ae3b38ab ("drm/msm/dpu: add support for wide planes")
Signed-off-by: Dmitry Baryshkov <[email protected]>
---
  drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 12 ++++++++++++
  1 file changed, 12 insertions(+)


Reviewed-by: Abhinav Kumar <[email protected]>

Reply via email to