drm/amd/display: Add a proper DMI match for Precision devices
Subsystems (3)
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.
--- 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
@@ -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
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")Signed-off-by Rodrigo Siqueira <[email protected]>--- 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
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"), + }, + }, {} };
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")Signed-off-by Rodrigo Siqueira <[email protected]>---
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
-0drivers/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
Reviewed-by Mario Limonciello <[email protected]>
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"), + }, + }, {} };