diff options
| author | Jesse Zhang <jesse.zhang@amd.com> | 2024-05-09 17:20:24 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-13 16:11:52 -0400 |
| commit | 7fc7db824cd4785c91ed5ca14711ae55d12e9610 (patch) | |
| tree | d273b823919f77a5dd032e6f95a8b4e6cfe41c9b /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
| parent | drm/amdgpu: Fix the warning division or modulo by zero (diff) | |
| download | linux-7fc7db824cd4785c91ed5ca14711ae55d12e9610.tar.gz linux-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 <Jesse.Zhang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
