aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorDillon Varone <[email protected]>2025-07-11 00:57:37 +0000
committerAlex Deucher <[email protected]>2025-07-28 20:24:05 +0000
commit3556dac8289456bc8b28670546b969f543967856 (patch)
tree29cba8405c807a6de2c2e68c20c3bacd22ccd4a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentMerge tag 'nova-next-v6.17-2025-07-18' of https://gitlab.freedesktop.org/drm/... (diff)
downloadkernel-3556dac8289456bc8b28670546b969f543967856.tar.gz
kernel-3556dac8289456bc8b28670546b969f543967856.zip
drm/amd/display: Fix divide by zero when calculating min ODM factor
[WHY&HOW] If the debug option is set to disable_dsc the max slice width and/or dispclk can be zero. This causes a divide by zero when calculating the min ODM combine factor. Add a check to ensure they are valid first. Reviewed-by: Wenjing Liu <[email protected]> Signed-off-by: Dillon Varone <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions