Hi Encrow and all,

On Tue, 01 Dec 2026 19:33:30 +0800, Cody Kang wrote:
> I tried your reproducer on the two monitors I have and cannot
> reproduce it. I would be happy to talk with you off the list, to get
> your logs and to send you a fix to test.

A follow-up for the list. With logs Encrow sent me today, I think the root
cause is clear: when the ViewSonic VX2762-4K-MHDU wakes from standby it
drops HPD for about 1.4 s right after link training starts. The driver
does not start AUX transfers while HPD is low, so the training fails.

I proposed a solution of waiting for HPD 2 seconds (maximum) and train
again in this case. Encrow tested the change on his four monitors, result
pass, no regression, including that ViewSonic one.

Here is a chart of what is observed on ViewSonic with this proposed fix
(not to scale). The first two rows are a monitor without the issue
(majority), to compare:

ms          0       28  30                       1438       1647  1653
            |       |   |                        |          |     |

HPD         ____________________________________________________________
(majority)                      high all the time

driver      enable  trains  video on (about 50 ms)
(with fix)

HPD         ____________                          ______________________
(ViewSonic)             |________________________|
                              low for 1.4 s

driver      enable  trains, fails  waits for HPD   trains again   video on
(with fix)

For a monitor that keeps HPD high the fix adds no time: the wait returns
at once and the enable takes about 50 ms, as the second row shows.

Thanks Encrow for the report and the testing.

Cody

Reply via email to