diff options
| author | 2019-09-20 20:20:23 -0400 | |
|---|---|---|
| committer | 2019-10-10 19:34:27 -0500 | |
| commit | dd998291dbe92106d8c4a7581c409b356928d711 (patch) | |
| tree | 88a459d356c2f1a4de42a1a9f8d625d728a73d79 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amd/display: Add capability check for static ramp calc (diff) | |
| download | linux-dev-dd998291dbe92106d8c4a7581c409b356928d711.tar.xz linux-dev-dd998291dbe92106d8c4a7581c409b356928d711.zip | |
drm/amd/display: Fix dongle_caps containing stale information.
[WHY]
During detection:
function: get_active_converter_info populates link->dpcd_caps.dongle_caps
only when dpcd_rev >= DPCD_REV_11 and DWN_STRM_PORTX_TYPE is
DOWN_STREAM_DETAILED_HDMI or DOWN_STREAM_DETAILED_DP_PLUS_PLUS.
Otherwise, it is not cleared, and stale information remains.
During mode validation:
function: dp_active_dongle_validate_timing reads
link->dpcd_caps.dongle_caps->dongle_type to determine the maximum
pixel clock to support. This information is now stale and no longer
valid.
[HOW]
dp_active_dongle_validate_timing should be using
link->dpcd_caps->dongle_type instead.
Signed-off-by: David Galiffi <david.galiffi@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
