diff options
author | Wyatt Wood <wyatt.wood@amd.com> | 2020-11-04 19:44:31 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-24 12:08:02 -0500 |
commit | 63c954a1ff8b0f63dcabf8bb2d3b3c895a69ed89 (patch) | |
tree | 4ba02100bacdf241cda8de83ef06340ff4381519 /drivers/gpu/drm/amd/display/dc | |
parent | 014427adc5565a0b46fd3ef6719167a31f04d764 (diff) | |
download | lwn-63c954a1ff8b0f63dcabf8bb2d3b3c895a69ed89.tar.gz lwn-63c954a1ff8b0f63dcabf8bb2d3b3c895a69ed89.zip |
drm/amd/display: Clear sticky vsc sdp error bit
[Why]
Need to clear sticky error bits generated during hpd irq from receiver.
[How]
Clear sticky vsc sdp error bit.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 1dfcaf1acbfc..93fbc646f53b 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -2570,7 +2570,8 @@ static bool handle_hpd_irq_psr_sink(struct dc_link *link) psr_sink_psr_status.raw = dpcdbuf[2]; if (psr_error_status.bits.LINK_CRC_ERROR || - psr_error_status.bits.RFB_STORAGE_ERROR) { + psr_error_status.bits.RFB_STORAGE_ERROR || + psr_error_status.bits.VSC_SDP_ERROR) { /* Acknowledge and clear error bits */ dm_helpers_dp_write_dpcd( link->ctx, |