diff options
| author | Evan Quan <[email protected]> | 2022-01-11 07:02:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-14 22:51:15 +0000 |
| commit | 685fae24d94fd615b7058832fcb437eb588f4860 (patch) | |
| tree | 4228a37a53ab54831d7f6c88238ab12a11ec9753 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu/pm: move additional logic into amdgpu_dpm_force_performance_level (diff) | |
| download | kernel-685fae24d94fd615b7058832fcb437eb588f4860.tar.gz kernel-685fae24d94fd615b7058832fcb437eb588f4860.zip | |
drm/amd/pm: correct the checks for fan attributes support
On functionality unsupported, -EOPNOTSUPP will be returned. And we rely
on that to determine the fan attributes support.
Fixes: 79c65f3fcbb128 ("drm/amd/pm: do not expose power implementation details to amdgpu_pm.c")
Signed-off-by: Evan Quan <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
