diff options
| author | Mario Limonciello <[email protected]> | 2021-11-01 21:17:27 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-11-03 16:22:07 +0000 |
| commit | a035be8a05bf7b9591cff1be4e9175bd5edab35a (patch) | |
| tree | 391effb654c9fb88271e51daa196aed4a0b38811 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
| parent | drm/amd/pm: Add missing mutex for pp_get_power_profile_mode (diff) | |
| download | kernel-a035be8a05bf7b9591cff1be4e9175bd5edab35a.tar.gz kernel-a035be8a05bf7b9591cff1be4e9175bd5edab35a.zip | |
drm/amd/pm: Adjust returns when power_profile_mode is not supported
This better aligns that the caller can make a mistake with the buffer
and -EINVAL should be returned, but if the hardware doesn't support
the feature it should be -EOPNOTSUPP.
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
