OSDN Git Service

drm/amd/display: Clear update flags at end of flip
authorAlvin Lee <alvin.lee2@amd.com>
Wed, 7 Jun 2023 21:17:59 +0000 (17:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jun 2023 19:42:21 +0000 (15:42 -0400)
commit873bbf2da278f253df9fa78acb8df83fb05c7c52
tree7905c738d107e29e14eb7b75e3f0ee5a1c841388
parentc8f293541810e2542c5cbf082b7f7c2c2eaa47a8
drm/amd/display: Clear update flags at end of flip

Clear update flags so the next flip does not have any redundant
programming (if a subsequent flip does not have a stream or plane
update, the update flags are not cleared).

Fixes: 0baae6246307 ("drm/amd/display: Refactor fast update to use new HWSS build sequence")
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c