OSDN Git Service

drm/amd/display: fix multi edp panel instancing
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 12 Dec 2022 22:42:59 +0000 (17:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jan 2023 19:57:10 +0000 (14:57 -0500)
commit01506614ceb2de9a0924bf004ff5f5ee94f50139
tree422094373db406a490a410119627432a69ca12b4
parent59b4c07892d8cc0292ddf1a808cad55398c95143
drm/amd/display: fix multi edp panel instancing

A previous fix attempted to correct mismatch between DM display
targets and dc panel instancing by only counting connected panels.
This behaviour breaks a feature, thus this is an alternative solution
that allows mapping display targets to dc links during mod_power_create.

Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_link.h