Skip to content

Commit 0a01378

Browse files
Nicholas Carbonesalexdeucher
authored andcommitted
drm/amd/display: Set DCN32 to use update planes and stream version 3
[Why] Old minimal transition does not always wait for updates to complete before proceeding, which can lead to corruption in multi display scenarios for DCN32. [How] Set DCN32 to use update_planes_and_stream_v3 for better pipe transition handling. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Nicholas Carbones <Nicholas.Carbones@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent e0550a1 commit 0a01378

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
@@ -5376,7 +5376,8 @@ bool dc_update_planes_and_stream(struct dc *dc,
53765376
* specially handle compatibility problems with transitions among those
53775377
* features as they are now transparent to the new sequence.
53785378
*/
5379-
if (dc->ctx->dce_version >= DCN_VERSION_4_01)
5379+
if (dc->ctx->dce_version >= DCN_VERSION_4_01 || dc->ctx->dce_version == DCN_VERSION_3_2 ||
5380+
dc->ctx->dce_version == DCN_VERSION_3_21)
53805381
ret = update_planes_and_stream_v3(dc, srf_updates,
53815382
surface_count, stream, stream_update);
53825383
else

0 commit comments

Comments
 (0)