summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorJesse Zhang <jesse.zhang@amd.com>2024-05-10 17:32:53 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-05-13 16:11:47 -0400
commit1a00f2ac82d6bc6689388c7edcd2a4bd82664f3c (patch)
tree47d1db672984ee0a5dd7d0f0ab3c44ca03130cd1 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parent56116dc7a9fdd2ce2b0e01d16f772a766a0219e0 (diff)
drm/amdgpu: Fix the warning division or modulo by zero
Checks the partition mode and returns an error for an invalid mode. Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Suggested-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@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