]> Gentwo Git Trees - linux/.git/commit
drm/xe/pf: Use div_u64 when calculating GGTT profile
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 15 Nov 2025 15:13:22 +0000 (16:13 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 1 Dec 2025 09:16:03 +0000 (10:16 +0100)
commit14a8d83cbe7b929ee601fd2a48b4642cf80b39f4
tree70bf1297f2264165286d089a11a0cfd56bb5c99c
parentbf213ac63721b8fbbf0fc07eea6366419826ae8b
drm/xe/pf: Use div_u64 when calculating GGTT profile

This will fix the following error seen on some 32-bit config:

"ERROR: modpost: "__udivdi3" [drivers/gpu/drm/xe/xe.ko] undefined!"

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511150929.3vUi6PEJ-lkp@intel.com/
Fixes: e448372e8a8e ("drm/xe/pf: Use migration-friendly GGTT auto-provisioning")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patch.msgid.link/20251115151323.10828-1-michal.wajdeczko@intel.com
(cherry picked from commit 0f4435a1f46efc3177eb082cd3f73e29da5ab86a)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c