drm/amd/display: Move Link Encoder Assignment Out Of dc_global_validate
authorAustin Zheng <Austin.Zheng@amd.com>
Thu, 26 Sep 2024 20:53:17 +0000 (16:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2024 18:16:37 +0000 (14:16 -0400)
commit5c7cc114dd6e88b2242db00242b85543b5fe3164
treec9c9379412b73f36ebf69be0bc415a9460041dea
parent94d904aec19c276057d4cd9dfcc15846bee852e7
drm/amd/display: Move Link Encoder Assignment Out Of dc_global_validate

Assigning link encoder is not relevant to validating bandwidth so move
the logic outside of dc_global_validate.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@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/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c