Skip to content

Commit 2d418e4

Browse files
Ivan Lipskialexdeucher
authored andcommitted
drm/amd/display: Allow DCN301 to clear update flags
[Why & How] Not letting DCN301 to clear after surface/stream update results in artifacts when switching between active overlay planes. The issue is known and has been solved initially. See below: (https://gitlab.freedesktop.org/drm/amd/-/issues/3441) Fixes: f354556 ("drm/amd/display: limit clear_update_flags t dcn32 and above") Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Ivan Lipski <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2b6943d commit 2d418e4

File tree

1 file changed

+2
-1
lines changed
  • drivers/gpu/drm/amd/display/dc/core

1 file changed

+2
-1
lines changed

drivers/gpu/drm/amd/display/dc/core/dc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5443,7 +5443,8 @@ bool dc_update_planes_and_stream(struct dc *dc,
54435443
else
54445444
ret = update_planes_and_stream_v2(dc, srf_updates,
54455445
surface_count, stream, stream_update);
5446-
if (ret && dc->ctx->dce_version >= DCN_VERSION_3_2)
5446+
if (ret && (dc->ctx->dce_version >= DCN_VERSION_3_2 ||
5447+
dc->ctx->dce_version == DCN_VERSION_3_01))
54475448
clear_update_flags(srf_updates, surface_count, stream);
54485449

54495450
return ret;

0 commit comments

Comments
 (0)