android_kernel_motorola_sm6375/drivers/gpu
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Denis Arefev 6b9f9b998b drm/amd/pm: Prevent division by zero
[ Upstream commit 4e3d9508c056d7e0a56b58d5c81253e2a0d22b6c ]

The user can set any speed value.
If speed is greater than UINT_MAX/8, division by zero is possible.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 031db09017 ("drm/amd/powerplay/vega20: enable fan RPM and pwm settings V2")
Signed-off-by: Denis Arefev <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Signed-off-by: Sasha Levin <[email protected]>
2025-05-02 07:39:25 +02:00
..
drm drm/amd/pm: Prevent division by zero 2025-05-02 07:39:25 +02:00
host1x gpu: host1x: Do not setup DMA for virtual devices 2024-05-17 11:43:52 +02:00
ipu-v3
vga
Makefile