Skip to content

Commit b859502

Browse files
Ivan Lipskigregkh
authored andcommitted
drm/amd/display: Allow DCN301 to clear update flags
commit 2d418e4 upstream. [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]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d97bde1 commit b859502

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • drivers/gpu/drm/amd/display/dc/core

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5439,7 +5439,8 @@ bool dc_update_planes_and_stream(struct dc *dc,
54395439
else
54405440
ret = update_planes_and_stream_v2(dc, srf_updates,
54415441
surface_count, stream, stream_update);
5442-
if (ret && dc->ctx->dce_version >= DCN_VERSION_3_2)
5442+
if (ret && (dc->ctx->dce_version >= DCN_VERSION_3_2 ||
5443+
dc->ctx->dce_version == DCN_VERSION_3_01))
54435444
clear_update_flags(srf_updates, surface_count, stream);
54445445

54455446
return ret;

0 commit comments

Comments
 (0)