[PATCH v3 0/1] Filter modes according to hardware capability

From: Shawn Sung
Date: Tue Feb 20 2024 - 04:37:41 EST


From: Hsiao Chien Sung <shawn.sung@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

This series is based on mediatek-drm-next branch of
kernel/git/chunkuang.hu/linux.git.

Changes in v3:
- Add more information to the comment

Changes in v2:
- Refined the filtering formula
- Add the .mode_valid hook to the hardware that causes the limitation

Hsiao Chien Sung (1):
drm/mediatek: Filter modes according to hardware capability

drivers/gpu/drm/mediatek/mtk_disp_drv.h | 4 ++
drivers/gpu/drm/mediatek/mtk_disp_merge.c | 65 +++++++++++++++++++
.../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 17 +++++
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 17 +++++
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 +
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 12 ++++
6 files changed, 116 insertions(+)

--
2.18.0