diff options
| author | Mario Limonciello <[email protected]> | 2023-08-10 10:31:59 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-15 22:08:29 +0000 |
| commit | 4c64f2e420508aa6fdd5ae95ebf0451f3d97a013 (patch) | |
| tree | 9bffc5d8dffb3c77fead6d39cad256e596e66c85 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | drm/amd: Drop unnecessary helper for aldebaran (diff) | |
| download | kernel-4c64f2e420508aa6fdd5ae95ebf0451f3d97a013.tar.gz kernel-4c64f2e420508aa6fdd5ae95ebf0451f3d97a013.zip | |
drm/amd: Fix the return for average power on aldebaran
Aldebaran can only return average socket power for the first die.
The other dies return 0. Instead of returning a bad value, return
-EOPNOTSUPP so that the attribute will be hidden.
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions
