Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/si/dpm: sync up quirks from radeon

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+13
+13
drivers/gpu/drm/amd/amdgpu/si_dpm.c
··· 3023 3023 /* PITCAIRN - https://bugs.freedesktop.org/show_bug.cgi?id=76490 */ 3024 3024 { PCI_VENDOR_ID_ATI, 0x6810, 0x1462, 0x3036, 0, 120000 }, 3025 3025 { PCI_VENDOR_ID_ATI, 0x6811, 0x174b, 0xe271, 0, 120000 }, 3026 + { PCI_VENDOR_ID_ATI, 0x6811, 0x174b, 0x2015, 0, 120000 }, 3026 3027 { PCI_VENDOR_ID_ATI, 0x6810, 0x174b, 0xe271, 85000, 90000 }, 3027 3028 { PCI_VENDOR_ID_ATI, 0x6811, 0x1462, 0x2015, 0, 120000 }, 3028 3029 { PCI_VENDOR_ID_ATI, 0x6811, 0x1043, 0x2015, 0, 120000 }, 3030 + { PCI_VENDOR_ID_ATI, 0x6811, 0x148c, 0x2015, 0, 120000 }, 3031 + { PCI_VENDOR_ID_ATI, 0x6810, 0x1682, 0x9275, 0, 120000 }, 3029 3032 { 0, 0, 0, 0 }, 3030 3033 }; 3031 3034 ··· 3488 3485 break; 3489 3486 } 3490 3487 ++p; 3488 + } 3489 + /* limit mclk on all R7 370 parts for stability */ 3490 + if (adev->pdev->device == 0x6811 && 3491 + adev->pdev->revision == 0x81) 3492 + max_mclk = 120000; 3493 + /* limit sclk/mclk on Jet parts for stability */ 3494 + if (adev->pdev->device == 0x6665 && 3495 + adev->pdev->revision == 0xc3) { 3496 + max_sclk = 75000; 3497 + max_mclk = 80000; 3491 3498 } 3492 3499 3493 3500 if (rps->vce_active) {