drm/amd/display: Query all entries in assignment table during updates.
authorJimmy Kizito <Jimmy.Kizito@amd.com>
Thu, 4 Nov 2021 20:52:13 +0000 (16:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Nov 2021 21:58:10 +0000 (16:58 -0500)
commitaadb06f9c9729ee3af1543f54da966644ebc5be7
treea0338ecc3d471e4c70588fce7a6f88acb63b7706
parent548f212514151b0d6ec911c87e61f189f530255b
drm/amd/display: Query all entries in assignment table during updates.

[Why]
Stream ordering and count can vary from one state to the next. Only
checking a subset of entries in the encoder assignment table can lead to
invalid encoder assignments.

[How]
Check all entries in encoder assignment table when querying it.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c