Commit b22c3362 authored by Stylon Wang's avatar Stylon Wang Committed by Alex Deucher
Browse files

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: default avatarTom Chung <chiahsuan.chung@amd.com>
Acked-by: default avatarTom Chung <chiahsuan.chung@amd.com>
Signed-off-by: default avatarStylon Wang <stylon.wang@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9af4377f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);