aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
diff options
context:
space:
mode:
authorDavid Galiffi <David.Galiffi@amd.com>2022-05-03 18:30:25 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-05-26 14:56:30 -0400
commit49947b906a6bd9668eaf4f9cf691973c25c26955 (patch)
treedc384cadea60b725a592594b8477e04a68ef43c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
parentdrm/amd/display: clear request when release aux engine (diff)
downloadlinux-rng-49947b906a6bd9668eaf4f9cf691973c25c26955.tar.xz
linux-rng-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 <Martin.Leung@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: David Galiffi <David.Galiffi@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions