Skip to contentSkip to conversation

drm/amd/display: Add a proper DMI match for Precision devices

PATCH In review Rodrigo Siqueira 2 participants 3 messages Jul 12, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Add a proper DMI match for Precision devices

We had an MST fix for some DELL devices that got merged, but we missed other products. This commit adds the other missing Precision devices.

Cc Mario Limonciello <[email protected]>
Cc Jerry Zuo <[email protected]>
Cc Qian Fu <[email protected]>
Cc Alex Deucher <[email protected]>
Fixes 9fcd8af669d7 ("drm/amd/display: Ignore First MST Sideband Message Return Error")
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +12 -0
index e203d75834de..96a0be8508ce 100644
@@ -1408,6 +1408,18 @@ static const struct dmi_system_id hpd_disconnect_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3660"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3260"),
+	},
+	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3460"),
+		},
+	},
 	{}
 };
 
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Rodrigo Siqueira

We had an MST fix for some DELL devices that got merged, but we missed other products. This commit adds the other missing Precision devices.

Cc Mario Limonciello <[email protected]>
Cc Jerry Zuo <[email protected]>
Cc Qian Fu <[email protected]>
Cc Alex Deucher <[email protected]>
Fixes 9fcd8af669d7 ("drm/amd/display: Ignore First MST Sideband Message Return Error")
---
  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 ++++++++++++
  1 file changed, 12 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -0
index e203d75834de..96a0be8508ce 100644

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static const struct dmi_system_id hpd_disconnect_quirk_table[] = { · line 1415

Quoted 8 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +5 -0
@@ -1408,6 +1408,18 @@ static const struct dmi_system_id hpd_disconnect_quirk_table[] = {
  			DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3660"),
  		},
  	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3260"),
+	},

Just a nit here, the "}," should be indented one tab to the right.

Quoted 10 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +7 -0
+	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3460"),
+		},
+	},
  	{}
  };
 
#2 lore raw
Quoted 31 lines · Mario
Quoted 18 lines · Rodrigo Siqueira

We had an MST fix for some DELL devices that got merged, but we missed other products. This commit adds the other missing Precision devices.

Cc Mario Limonciello <[email protected]>
Cc Jerry Zuo <[email protected]>
Cc Qian Fu <[email protected]>
Cc Alex Deucher <[email protected]>
Fixes 9fcd8af669d7 ("drm/amd/display: Ignore First MST Sideband Message Return Error")

---
  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 ++++++++++++

  1 file changed, 12 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -0
index e203d75834de..96a0be8508ce 100644

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static const struct dmi_system_id · line 1416

Quoted 9 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +5 -0
@@ -1408,6 +1408,18 @@ static const struct dmi_system_id 
 hpd_disconnect_quirk_table[] = {
               DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3660"),
           },
       },
+    {
+        .matches = {
+            DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+            DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3260"),
+    },

Just a nit here, the "}," should be indented one tab to the right.

Quoted 1 line

I made the requested change and merged it into amd-staging-drm-next.

Thanks
Siqueira

Quoted 10 lines
Quoted 9 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +7 -0
+    },
+    {
+        .matches = {
+            DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+            DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3460"),
+        },
+    },
       {}
   };