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 <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent cc7818d commit 6ff5349

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)