Skip to content
Commit 45b3a914 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/gmc9: fix 64 bit division in partition code



Rework logic or use do_div() to avoid problems on 32 bit.

v2: add a missing case for XCP macro
v3: fix out of bounds array access
v4: fix xcp handling harder

Acked-by: Guchun Chen <guchun.chen@amd.com> (v1)
Reviewed-by: Mukul Joshi <mukul.joshi@amd.com> (v3)
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 92ecb92c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment