]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove incorrect ASSERT check for link_enc
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 9 Jun 2022 17:33:33 +0000 (13:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jul 2022 20:13:34 +0000 (16:13 -0400)
commit608a139cc714cac3d64230873c434bc9b13928c2
treebfe40d9af9633c82a4cd2cea00206ffc15e76dcd
parent01eb5cdac30260d2230b38c19cab5d935df394d9
drm/amd/display: Remove incorrect ASSERT check for link_enc

[Why]
It's possible that we don't have a link encoder assignment if the
context is NULL but we're calling dc_add_stream_to_ctx from DM directly.

Link encoder assignment will happen later after global validation
runs with fast_validate = false.

[How]
Remove the ASSERTION. We already guard against NULL link_enc.

Reviewed-by: Michael Strauss <Michael.Strauss@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@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/dcn20/dcn20_resource.c