]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Align bw context with hw config when system resume
authorLewis Huang <Lewis.Huang@amd.com>
Wed, 29 Sep 2021 08:32:15 +0000 (16:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Oct 2021 18:26:13 +0000 (14:26 -0400)
commitb3c8901a8bc78d7e7f9c86e3ec73002c9d30f20a
tree805a045451c5a04d2425ba4af0e9ef7d46e7dd4d
parent687ed2d73253e050fd8b870b25a6b00cbffdca7c
drm/amd/display: Align bw context with hw config when system resume

[Why]
When the vbios config and driver config are different, if we update
clock to lower before call program_timing and program_pixel_clk, garbage
appear.

[How]
Align bw context with hw config when system resume

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Agustin Gutierrez <agustin.gutierrez@amd.com>
Signed-off-by: Lewis Huang <Lewis.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c