]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Clock does not lower in Updateplanes
authorMurton Liu <murton.liu@amd.com>
Mon, 10 Jun 2019 21:55:28 +0000 (17:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2019 08:11:00 +0000 (10:11 +0200)
commit98d0152c2da000d48d78458874abf259a80d0c4c
tree94d8cd71708f91e09ac4bfda7427fb28a0b8717a
parent840e427020ace71b13ca862591a41f47fef29d68
drm/amd/display: Clock does not lower in Updateplanes

[ Upstream commit 492d9ec244923420af96db6b69ad7d575859aa92 ]

[why]
We reset the optimized_required in atomic_plane_disable
flag immediately after it is set in atomic_plane_disconnect, causing us to
never have flag set during next flip in UpdatePlanes.

[how]
Optimize directly after each time plane is removed.

Signed-off-by: Murton Liu <murton.liu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c