aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorJesse Zhang <[email protected]>2024-05-09 09:20:24 +0000
committerAlex Deucher <[email protected]>2024-05-13 20:11:52 +0000
commit7fc7db824cd4785c91ed5ca14711ae55d12e9610 (patch)
treed273b823919f77a5dd032e6f95a8b4e6cfe41c9b /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentdrm/amdgpu: Fix the warning division or modulo by zero (diff)
downloadkernel-7fc7db824cd4785c91ed5ca14711ae55d12e9610.tar.gz
kernel-7fc7db824cd4785c91ed5ca14711ae55d12e9610.zip
drm/amd/pm: fix get dpm level count for smu13
For invalid clk types, return -EINVAL to check the return. Signed-off-by: Jesse Zhang <[email protected]> Reviewed-by: Yifan Zhang <[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