[PATCH 0/1] Fix errors when reporting rotation capability
From: Hsiao Chien Sung
Date: Mon Sep 18 2023 - 03:11:23 EST
This bug is found when running IGT tests.
For CRTCs that doesn't support rotation should still return
DRM_MODE_ROTATE_0. Since both OVL and OVL adaptor on MTK chip
doesn't support rotation, return the capability of the
hardware accordingly.
Hsiao Chien Sung (1):
drm/mediatek: Fix errors when reporting rotation capability
drivers/gpu/drm/mediatek/mtk_disp_drv.h | 1 +
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 8 +-------
drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 5 +++++
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 +
drivers/gpu/drm/mediatek/mtk_drm_plane.c | 2 +-
5 files changed, 9 insertions(+), 8 deletions(-)
--
2.18.0