mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/amd/display: Fix crash in DCN5/6 calcs when GPUVM enabled
[Why] If vmpg_bytes is 0 and gpuvm is enabled then we divide by zero. [How] Take the same path as gpuvm disabled when vmpg_bytes is 0. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
a3a7298475
commit
42009e6f2a
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue