aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorRoman Li <[email protected]>2024-12-13 18:51:07 +0000
committerAlex Deucher <[email protected]>2025-01-06 20:14:43 +0000
commit0881fbc4fd62e00a2b8e102725f76d10351b2ea8 (patch)
tree45c61ee6f2b46b817f7bb9bbef4ccf9a097b271a /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentdrm/amdkfd: fixed page fault when enable MES shader debugger (diff)
downloadkernel-0881fbc4fd62e00a2b8e102725f76d10351b2ea8.tar.gz
kernel-0881fbc4fd62e00a2b8e102725f76d10351b2ea8.zip
drm/amd/display: Add check for granularity in dml ceil/floor helpers
[Why] Wrapper functions for dcn_bw_ceil2() and dcn_bw_floor2() should check for granularity is non zero to avoid assert and divide-by-zero error in dcn_bw_ functions. [How] Add check for granularity 0. Cc: Mario Limonciello <[email protected]> Reviewed-by: Alvin Lee <[email protected]> Signed-off-by: Roman Li <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit f6e09701c3eb2ccb8cb0518e0b67f1c69742a4ec) Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions