summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSamson Tam <Samson.Tam@amd.com>2019-06-04 22:52:59 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 22:17:19 +0300
commit4fc1609bcd5475a9cef1caeb10a04106f4f85fac (patch)
tree65dce2dc9cb324e4903719aa1f061030036d98df /tools/perf/scripts/python/export-to-postgresql.py
parent4a876eecf6a5bfbe05ca6358e1b6a484e27ce32f (diff)
downloadlinux-4fc1609bcd5475a9cef1caeb10a04106f4f85fac.tar.xz
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 <Samson.Tam@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions