drm/amd/display: Trigger full update after DCC on/off
authorJake Wang <haonan.wang2@amd.com>
Fri, 14 May 2021 19:41:39 +0000 (15:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Jun 2021 16:15:20 +0000 (12:15 -0400)
commit6c475bdbece0df896bb4db9553073a48503269c8
tree70424d1c374ed388b7ee7e2313081856958e0b4a
parente1944deba131db59b393d509a164e59708c52e4a
drm/amd/display: Trigger full update after DCC on/off

[Why]
During DCC on/off, stutter period is calculated before DCC has fully transitioned.
This results in incorrect stutter period calculation.

[How]
Trigger a full update when DCC changes between on/off.

Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c