drm/amd/display: reset drr programming on pipe reset
authorWenjing Liu <Wenjing.Liu@amd.com>
Wed, 10 Jul 2019 22:31:38 +0000 (18:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:52:53 +0000 (10:52 -0500)
commit38df070135297746804bf8537ac2e8c66bb37bd5
tree6698b0fe9ec9b3889d0bb6151bb311766514538d
parent9d19c73f37473bfc4c9216e5e48b4684cc2050d2
drm/amd/display: reset drr programming on pipe reset

[why]
drr is still enabled after driver is unloaded causing black screen

[how]
disable drr during pipe reset.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c