aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorJesse Zhang <[email protected]>2024-05-10 09:32:53 +0000
committerAlex Deucher <[email protected]>2024-05-13 20:11:47 +0000
commit1a00f2ac82d6bc6689388c7edcd2a4bd82664f3c (patch)
tree47d1db672984ee0a5dd7d0f0ab3c44ca03130cd1 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentRevert "drm/amd/display: Enable SYMCLK gating in DCCG" (diff)
downloadkernel-1a00f2ac82d6bc6689388c7edcd2a4bd82664f3c.tar.gz
kernel-1a00f2ac82d6bc6689388c7edcd2a4bd82664f3c.zip
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 <[email protected]> Suggested-by: Lijo Lazar <[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