diff options
author | Kenneth Feng <kenneth.feng@amd.com> | 2021-05-11 11:00:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-19 22:29:30 -0400 |
commit | 0064b0ce85bb86d8a6fa066323f6318956c2dd59 (patch) | |
tree | ce37edd7f62aba779f09cb4ca9b2f0e2fb278fca /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | 32358093b66d49f6cb4d6dec8ed948f9ed69e928 (diff) | |
download | linux-0064b0ce85bb86d8a6fa066323f6318956c2dd59.tar.gz linux-0064b0ce85bb86d8a6fa066323f6318956c2dd59.tar.bz2 linux-0064b0ce85bb86d8a6fa066323f6318956c2dd59.zip |
drm/amd/pm: enable ASPM by default
Since ASPM function has been stable, we don't need to add the modprobe
parameter and we can enable ASPM by default.
Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 0be9038fa350..75d1f9b939b2 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -598,7 +598,7 @@ static void nv_pcie_gen3_enable(struct amdgpu_device *adev) static void nv_program_aspm(struct amdgpu_device *adev) { - if (amdgpu_aspm != 1) + if (!amdgpu_aspm) return; if (!(adev->flags & AMD_IS_APU) && |