drm/amd/display: fix a crash on USB4 over C20 PHY
authorAhmad Othman <Ahmad.Othman@amd.com>
Thu, 7 Oct 2021 02:23:04 +0000 (22:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Oct 2021 18:26:14 +0000 (14:26 -0400)
commit986430446c917ba89de5f2beadfec7a90e6a1b2b
tree916453c74d63e100e16ddde0615cd5e6c5cd103c
parentd738db6883df3e3c513f9e777c842262693f951b
drm/amd/display: fix a crash on USB4 over C20 PHY

[Why]
Crash when USB4 is connected.

[How]
Added an ASIC specific code guard.

Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Agustin Gutierrez <agustin.gutierrez@amd.com>
Signed-off-by: Ahmad Othman <Ahmad.Othman@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c