aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStylon Wang <[email protected]>2023-10-05 20:25:10 +0800
committerAlex Deucher <[email protected]>2023-10-09 17:01:15 -0400
commitb22c336268e477e3e8fc21e7d6b18fa8c4cd1f9a (patch)
treed5acda8e5cccdb8b1767cd0f1958878d7db05dac
parent9af4377fd5d04e7e9e2477d13dbea32849de04e7 (diff)
drm/amd/display: Disable virtual links
[Why] This could work around the issue with DP tunneling producing a NULL pointer dereference. [How] Disable the virtual links. Reviewed-by: Tom Chung <[email protected]> Acked-by: Tom Chung <[email protected]> Signed-off-by: Stylon Wang <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index c12dfe7acb3e..c9a272d960a1 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -1713,7 +1713,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
/* Enable DWB for tested platforms only */
if (adev->ip_versions[DCE_HWIP][0] >= IP_VERSION(3, 0, 0))
- init_data.num_virtual_links = 1;
+ init_data.num_virtual_links = 0;
INIT_LIST_HEAD(&adev->dm.da_list);