]> 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:55 +0000 (10:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Sep 2020 20:11:13 +0000 (16:11 -0400)
commit538b0a3e34f4be341133c6db59da655c37a0a104
treeafbd17e93b61d7b721808454e45d536a8ab37885
parentb1ca039a1608d352176d6f2a16644e3f06d4b774
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