diff options
author | 2022-02-16 23:30:21 -0600 | |
---|---|---|
committer | 2022-02-17 15:59:05 -0500 | |
commit | d01899d3db2a553268dd4bc03641d9e80e41d67a (patch) | |
tree | 463c490773d78568de3b20282f9b49da4d53eb65 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | drm/amd: Refactor `amdgpu_aspm` to be evaluated per device (diff) | |
download | wireguard-linux-d01899d3db2a553268dd4bc03641d9e80e41d67a.tar.xz wireguard-linux-d01899d3db2a553268dd4bc03641d9e80e41d67a.zip |
drm/amd: Use amdgpu_device_should_use_aspm on navi umd pstate switching
The `program_aspm` callback is already guarded for aspm, but the
`enable_aspm` callback doesn't follow the module parameter.
Update it to use the helper `amdgpu_device_should_use_aspm`.
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions