]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7bca2c7e46ddd72204bc2ef73d88b08bdbd4c35
tree9feea5db2abf55b0a75907757aab4bb08846ad40
parent56a5eea5224189cecaffe506ce6b438448d4ead5
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