]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/mediatek: dsi: Add mode_valid callback to DSI bridge
authorShuijing Li <shuijing.li@mediatek.com>
Wed, 23 Aug 2023 09:20:47 +0000 (17:20 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 27 Sep 2023 22:53:54 +0000 (22:53 +0000)
commit609252ea46643f437febf312fbea1464df60b585
tree85bdc3d6eee14de1153722d4b9b9e4cc090aa286
parentfcaf9761fd5884a64eaac48536f8c27ecfd2e6bc
drm/mediatek: dsi: Add mode_valid callback to DSI bridge

Support IGT (Intel GPU Tools) in Mediatek DSI driver.
According to the description of MIPI Alliance Specification for D-PHY
Version 1.1, the maximum supported data rate is 1.5Gbps, so add mode_valid
callback to dsi bridge to filter out the data rate exceeding the
Specification.

Signed-off-by: Shuijing Li <shuijing.li@mediatek.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20230823092047.32258-1-shuijing.li@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c