drm/amd/display: Fix construct_phy with MXM connector
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Thu, 15 Aug 2024 22:45:20 +0000 (18:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 02:14:13 +0000 (22:14 -0400)
commitec9e2e7acc6dabb8f00c2c60785931310caaa883
tree5ee9c1a4df20347ece929e68dd9c7d9a19d26894
parentf327189389785b26e49904a7d3ba0c96506a4586
drm/amd/display: Fix construct_phy with MXM connector

[Why/How]
The call to construct_phy will fail in cases where connector type is
MXM, and the dc_link won't be properly created/initialized.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Signed-off-by: Roman Li <roman.li@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/link/link_factory.c