]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: add DRM_MODE_ROTATE_180 back to supported rotations
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Wed, 11 May 2022 22:27:10 +0000 (15:27 -0700)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Wed, 18 May 2022 22:59:28 +0000 (15:59 -0700)
commit226b97332a2cea2b28b3c25123602327be55f81a
tree0f660ce756e88c5890771fd92972232a9171a5aa
parentd95982c854fd25fad3429b2fc7e3ae2e411d844b
drm/msm/dpu: add DRM_MODE_ROTATE_180 back to supported rotations

DRM_MODE_ROTATE_180 was previously marked as supported even
for devices not supporting inline rotation.

This is true because the SSPPs can always flip the image.

After inline rotation support changes, this bit was removed
and kms_rotation_crc IGT test starts skipping now whereas
it was previously passing.

Restore DRM_MODE_ROTATE_180 bit to the supported rotations
list.

Fixes: d2e7d6eb81521 ("add inline rotation support for sc7280")
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Tested-by: Jessica Zhang <quic_jesszhan@quicinc.com> # Trogdor (SC8170)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/485928/
Link: https://lore.kernel.org/r/20220511222710.22394-1-quic_abhinavk@quicinc.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c