[PATCH] drm/amd: Add AMD Phenom 2 to pcie dynamic switching exclusions
Mario Limonciello
mario.limonciello at amd.com
Wed Apr 2 17:51:53 UTC 2025
On 4/2/2025 12:13 AM, Mario Limonciello wrote:
> From: Mario Limonciello <mario.limonciello at amd.com>
>
> 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")
>
> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4098
> Fixes: 466a7d115326e ("drm/amd: Use the first non-dGPU PCI device for BW limits")
> Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index 6ebf6179064b7..22a0a0bbb4bf4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -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_device
>
> if (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.
More information about the amd-gfx
mailing list