]> asedeno.scripts.mit.edu Git - 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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:09 +0000 (14:18 -0500)
commit08d238e68989b2389afb7d0cb489386ffc43e13c
tree247ef9788092e3741b697d67319dbd4835dedfed
parent0430017149c53f20493ebeee856315c669d18f4d
drm/amd/display: Clock does not lower in Updateplanes

[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>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c