OSDN Git Service

drm/amd/display: disable stream if pixel clock changed with link active
authorChiawen Huang <chiawen.huang@amd.com>
Fri, 25 Sep 2020 14:54:50 +0000 (10:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Sep 2020 20:08:44 +0000 (16:08 -0400)
commitba578afd5a4f6139ffe564f07575875ca51a0f4f
tree9feea5db2abf55b0a75907757aab4bb08846ad40
parent89b151ade71495ebe2e48923812571e8e6a92918
drm/amd/display: disable stream if pixel clock changed with link active

[Why]
Vbios uses preferred timing to turn on edp but OS could use other
timing. If change pixel clock when link active, there is unexpected
garbage on monitor.

[How]
Once pixel clock changed, the driver needs to disable stream.

Signed-off-by: Chiawen Huang <chiawen.huang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/core/dc.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c