]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: Specified VR patch skip to reset segment to 0
authorDerek Lai <Derek.Lai@amd.com>
Wed, 27 Nov 2019 10:04:37 +0000 (18:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:09 +0000 (16:09 -0500)
[Why]
After read the 3rd Edid blocks, we will reset segment to 0,
which causes this VR fail to read Edid successfully.

[How]
Skip to reset segment to 0 for this VR device.

Signed-off-by: Derek Lai <Derek.Lai@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_link.h

index 1ff79f703734090ce5ffdba22e65e55ae7717acc..f420aeac7fbd3e13ece81e4a0c0b8859fdd27ded 100644 (file)
@@ -133,6 +133,7 @@ struct dc_link {
        struct link_flags {
                bool dp_keep_receiver_powered;
                bool dp_skip_DID2;
+               bool dp_skip_reset_segment;
        } wa_flags;
        struct link_mst_stream_allocation_table mst_stream_alloc_table;