drm/amd: Add AMD Phenom 2 to pcie dynamic switching exclusions
Subsystems (2)
PATCH 1/1 drm/amd: Add AMD Phenom 2 to pcie dynamic switching exclusions
From: Mario Limonciello <[email protected]>
AMD RX580 when added AMD Phenom 2 has problems with overheating. This is due to changes with PCIe dynamic switching introduced by commit 466a7d115326e ("drm/amd: Use the first non-dGPU PCI device for BW limits")
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +5 -0
@@ -1854,6 +1854,9 @@ bool amdgpu_device_seamless_boot_supported(struct amdgpu_device *adev)* * https://edc.intel.com/content/www/us/en/design/products/platforms/details/raptor-lake-s/13th-generation-core-processors-datasheet-volume-1-of-2/005/pci-express-support/ * https://gitlab.freedesktop.org/drm/amd/-/issues/2663 +* +* AMD Phenom II X6 1090T has a similar issue +* https://gitlab.freedesktop.org/drm/amd/-/issues/4098 */ static bool amdgpu_device_pcie_dynamic_switching_supported (struct amdgpu_device *adev) {
@@ -1866,6 +1869,8 @@ static bool amdgpu_device_pcie_dynamic_switching_supported(struct amdgpu_deviceif (c->x86_vendor ==X86_VENDOR_INTEL )return false; +if (c->x86_vendor ==X86_VENDOR_AMD && c->x86 ==0x10 && c->x86_model ==0x0A ) +return false;#endif return true; }
Signature · 1 line
2.43.0
Quoted 28 lines · Mario Limonciello
From: Mario Limonciello <[email protected]>
AMD RX580 when added AMD Phenom 2 has problems with overheating. This is due to changes with PCIe dynamic switching introduced by commit
466a7d115326e("drm/amd: Use the first non-dGPU PCI device for BW limits")Fixes 466a7d115326e ("drm/amd: Use the first non-dGPU PCI device for BW limits")Signed-off-by Mario Limonciello <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++++ 1 file changed, 5 insertions(+)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3
-0@@ -1854,6 +1854,9 @@ bool amdgpu_device_seamless_boot_supported(struct amdgpu_device *adev)* * https://edc.intel.com/content/www/us/en/design/products/platforms/details/raptor-lake-s/13th-generation-core-processors-datasheet-volume-1-of-2/005/pci-express-support/ * https://gitlab.freedesktop.org/drm/amd/-/issues/2663 +* +* AMD Phenom II X6 1090T has a similar issue +* https://gitlab.freedesktop.org/drm/amd/-/issues/4098 */ static bool amdgpu_device_pcie_dynamic_switching_supported (struct amdgpu_device *adev) {
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c static bool amdgpu_device_pcie_dynamic_switching_supported(struct amdgpu_device · line 1876
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2
-0@@ -1866,6 +1869,8 @@ static bool amdgpu_device_pcie_dynamic_switching_supported(struct amdgpu_deviceif (c->x86_vendor ==X86_VENDOR_INTEL )return false; +if (c->x86_vendor ==X86_VENDOR_AMD && c->x86 ==0x10 && c->x86_model ==0x0A ) +return false;#endif return true; }
Please disregard this version, I will nominate a version to cover more old hardware.