aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorDavid Galiffi <[email protected]>2022-05-03 22:30:25 +0000
committerAlex Deucher <[email protected]>2022-05-26 18:56:30 +0000
commit49947b906a6bd9668eaf4f9cf691973c25c26955 (patch)
treedc384cadea60b725a592594b8477e04a68ef43c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amd/display: clear request when release aux engine (diff)
downloadkernel-49947b906a6bd9668eaf4f9cf691973c25c26955.tar.gz
kernel-49947b906a6bd9668eaf4f9cf691973c25c26955.zip
drm/amd/display: Check if modulo is 0 before dividing.
[How & Why] If a value of 0 is read, then this will cause a divide-by-0 panic. Reviewed-by: Martin Leung <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: David Galiffi <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions