diff options
| author | Samson Tam <[email protected]> | 2019-06-04 15:52:59 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-07-18 14:18:08 -0500 |
| commit | 08900ab73225584e4a260223a0848e2825e226fe (patch) | |
| tree | 4e188806b73e681954b3175f4a0ee978e06ac2d2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6d988a557ee8bd0970c46aea94396ff4815724cd (diff) | |
drm/amd/display: skip retrain in dc_link_set_preferred_link_settings() if using passive dongle
[Why]
Fixes issue when we have a display connected using a passive
dongle and then emulate over it using a DP connection at 1 x 1.62 Ghz.
System hangs because register bus returns back 0xFFFFFFFF for all
register reads after setting register DIG_BE_CNTL in
dcn10_link_encoder_connect_dig_be_to_fe(). Hang occurs later
when trying to do a register read.
[How]
At the start of the emulation, dc_link_set_preferred_link_settings()
and dp_retrain_link_dp_test() is called, even though it is connected
using a passive dongle.
Add an extra condition in dp_retrain_link_dp_test() to check for
link->dongle_max_pix_clk > 0. This is the only way we know if the
connection is using passive dongle so we don't retrain DP.
Signed-off-by: Samson Tam <[email protected]>
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions