summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore-lts/files/5.10-revert-a135a1b4c4db1f3b8cbed9676a40ede39feb3362.patch
blob: c1092a74a76303857c03a1a95b8f66d57fc78794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Nur a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c	2021-01-06 13:56:56.000000000 +0000
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c	2021-01-06 22:44:20.751987382 +0000
@@ -2278,8 +2278,7 @@
 
 			drm_connector_update_edid_property(connector,
 							   aconnector->edid);
-			aconnector->num_modes = drm_add_edid_modes(connector, aconnector->edid);
-			drm_connector_list_update(connector);
+			drm_add_edid_modes(connector, aconnector->edid);
 
 			if (aconnector->dc_link->aux_mode)
 				drm_dp_cec_set_edid(&aconnector->dm_dp_aux.aux,