diff options
author | Wenjing Liu <Wenjing.Liu@amd.com> | 2019-07-26 14:53:20 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-15 10:57:24 -0500 |
commit | e7f2c80cbaabf62966d02ba752d19c9a63f422ab (patch) | |
tree | 3c1765f202a890c00f452053b9aa0f19874dee54 /fs/tracefs | |
parent | 79e005204f75b54db9e42a39b3f66fac2ba190b9 (diff) | |
download | linux-e7f2c80cbaabf62966d02ba752d19c9a63f422ab.tar.bz2 |
drm/amd/display: check hpd before retry verify link cap
[why]
During detection link training if a display is disconnected,
the current code will retry 3 times of link training
on disconnected link before giving up.
[how]
Before each retry check for HPD status, only retry
verify link cap when HPD is still high.
Also put a 10ms delay between each retry to improve
the chance of success.
Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Abdoulaye Berthe <Abdoulaye.Berthe@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs/tracefs')
0 files changed, 0 insertions, 0 deletions