drm/amd/display: Add missing triggers for full updates
authorAlvin Lee <alvin.lee2@amd.com>
Tue, 4 Jul 2023 15:11:30 +0000 (11:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jul 2023 15:16:28 +0000 (11:16 -0400)
commit157f75a79aaf44a124c10cfd05f4056ba3f84b84
tree0bd1cb57ae8cdacd32ca03fe208edb391c075375
parentda915efaa213a33451965db1314a75a39219df65
drm/amd/display: Add missing triggers for full updates

[Description]
- Full update was missed for the following cases:
- Idle optimization is enabled
- Plane is not in current context
- Also don't clear surface updates at end of
  commit_plane_for_stream_fast as they are cleared at
  the beginning of each flip (only stream updates need
  to be cleared in case there is no stream update in
  the next flip)

Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@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