Skip to content

Commit 6ff5349

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amdgpu: Skip ASPM programming on aldebaran
There is no need for additional programming, keep the default settings. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent cc7818d commit 6ff5349

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,9 @@ static void nbio_v7_4_program_aspm(struct amdgpu_device *adev)
694694
{
695695
uint32_t def, data;
696696

697+
if (adev->ip_versions[NBIO_HWIP][0] == IP_VERSION(7, 4, 4))
698+
return;
699+
697700
def = data = RREG32_PCIE(smnPCIE_LC_CNTL);
698701
data &= ~PCIE_LC_CNTL__LC_L1_INACTIVITY_MASK;
699702
data &= ~PCIE_LC_CNTL__LC_L0S_INACTIVITY_MASK;

0 commit comments

Comments
 (0)