diff options
| author | Kenneth Feng <[email protected]> | 2025-04-01 07:56:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-08 20:48:14 +0000 |
| commit | bb00bf17328d80f519df93bebc41f6c9171547d6 (patch) | |
| tree | 8431be9942ea5d4513dbfaeb1148babb799827f5 | |
| parent | amd/amdgpu: Init vcn hardware per instance for vcn 4.0.3 (diff) | |
| download | kernel-bb00bf17328d80f519df93bebc41f6c9171547d6.tar.gz kernel-bb00bf17328d80f519df93bebc41f6c9171547d6.zip | |
drm/amd/amdgpu: decouple ASPM with pcie dpm
ASPM doesn't need to be disabled if pcie dpm is disabled.
So ASPM can be independantly enabled.
Signed-off-by: Kenneth Feng <[email protected]>
Reviewed-by: Yang Wang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 979942f26dda..cfaa5d77b20a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -1897,8 +1897,6 @@ bool amdgpu_device_should_use_aspm(struct amdgpu_device *adev) } if (adev->flags & AMD_IS_APU) return false; - if (!(adev->pm.pp_feature & PP_PCIE_DPM_MASK)) - return false; return pcie_aspm_enabled(adev->pdev); } |
