aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-04-14 08:59:22 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-04-15 16:32:45 -0400
commitbbdfe5aaef3c1d5c5e62fa235ef13f064e4c1c17 (patch)
tree0868cc448f0a0e3028d835105f9ef4ffd88b3c88 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/amdgpu: fix an error code in init_pmu_entry_by_type_and_add() (diff)
downloadwireguard-linux-bbdfe5aaef3c1d5c5e62fa235ef13f064e4c1c17.tar.xz
wireguard-linux-bbdfe5aaef3c1d5c5e62fa235ef13f064e4c1c17.zip
drm/amd/pm: fix error code in smu_set_power_limit()
We should return -EINVAL instead of success if the "limit" is too high. Fixes: e098bc9612c2 ("drm/amd/pm: optimize the power related source code layout") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.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