Skip to content

Commit 4ab0ca2

Browse files
Timur Kristófgregkh
authored andcommitted
drm/amd: Disable ASPM on SI
[ Upstream commit 7bdd91a ] Enabling ASPM causes randoms hangs on Tahiti and Oland on Zen4. It's unclear if this is a platform-specific or GPU-specific issue. Disable ASPM on SI for the time being. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2b5a208 commit 4ab0ca2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,13 @@ static bool amdgpu_device_pcie_dynamic_switching_supported(struct amdgpu_device
17611761

17621762
static bool amdgpu_device_aspm_support_quirk(struct amdgpu_device *adev)
17631763
{
1764+
/* Enabling ASPM causes randoms hangs on Tahiti and Oland on Zen4.
1765+
* It's unclear if this is a platform-specific or GPU-specific issue.
1766+
* Disable ASPM on SI for the time being.
1767+
*/
1768+
if (adev->family == AMDGPU_FAMILY_SI)
1769+
return true;
1770+
17641771
#if IS_ENABLED(CONFIG_X86)
17651772
struct cpuinfo_x86 *c = &cpu_data(0);
17661773

0 commit comments

Comments
 (0)