mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v7 0/2] Adjust bandwidth limit for DP
@ 2025-11-04  8:55 Liankun Yang
  2025-11-04  8:55 ` [PATCH v7 1/2] drm/mediatek: " Liankun Yang
  2025-11-04  8:55 ` [PATCH v7 2/2] drm/mediatek: Add isolation to edp Liankun Yang
  0 siblings, 2 replies; 11+ messages in thread
From: Liankun Yang @ 2025-11-04  8:55 UTC (permalink / raw)
  To: chunkuang.hu, p.zabel, airlied, simona, matthias.bgg,
	angelogioacchino.delregno, mac.shen, peng.liu, liankun.yang,
	Project_Global_Chrome_Upstream_Group
  Cc: dri-devel, linux-mediatek, linux-arm-kernel, linux-kernel

DP link training checks the current PHY link signal quality.
After DP detects an HPD connection, it should first determine
the current link signal quality in order to select the resolution.

Since the EDP is already fixed to use the EDP panel,
the current training information and resolution are basically fixed.
EDP exists and its process differs from DP. Therefore,
it is necessary to isolate the parsing capability,
panel power, training state and enable state.

For example, the platform support DP 4lane 5.4G,
but panel A support DP 2lane 5.4G.

This is a time sequence:

1. Plug in panel A. According to the platform, it can output 4K 60Hz.
2. Timing mode set 4K 60Hz.
3. Atomic enable(Based on panel A ability, training pass 2lane 5.4G).
4. Finally, due to 2lane 5.4G bandwidth limitation, the platform cannot
output 4K 60Hz, resulting in a black sreen.

If apply this patch.

1. Plug in panel A.
2. Training pass 2lane 5.4G
3. Timing mode set 2K 60Hz(Based on the 2lane 5.4G bandwidth limit).
4. Atomic enable for output screen.

Liankun Yang (2):
  drm/mediatek: Adjust bandwidth limit for DP
  drm/mediatek: Add isolation to edp

 drivers/gpu/drm/mediatek/mtk_dp.c | 57 ++++++++++++++++++++-----------
 1 file changed, 38 insertions(+), 19 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-12-23  6:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-04  8:55 [PATCH v7 0/2] Adjust bandwidth limit for DP Liankun Yang
2025-11-04  8:55 ` [PATCH v7 1/2] drm/mediatek: " Liankun Yang
2025-11-19  9:18   ` CK Hu (胡俊光)
2025-11-24  9:14     ` LIANKUN YANG (杨连坤)
2025-11-26  3:11       ` CK Hu (胡俊光)
2025-12-01  6:39         ` LIANKUN YANG (杨连坤)
2025-12-17  9:59           ` CK Hu (胡俊光)
2025-12-18  1:13           ` CK Hu (胡俊光)
2025-11-04  8:55 ` [PATCH v7 2/2] drm/mediatek: Add isolation to edp Liankun Yang
2025-12-17 10:08   ` CK Hu (胡俊光)
2025-12-23  6:34     ` LIANKUN YANG (杨连坤)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®