]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/tests: Change TEST_VRAM to work with 32-bit resource_size_t
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 27 Feb 2026 16:00:10 +0000 (17:00 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 3 Mar 2026 15:18:06 +0000 (16:18 +0100)
commit4f18a79b3585a28c9f73f859fe83f12d0eccc736
treebb5e6d2a8d44354431fcc4b42af5c173b50d792e
parent29bd06faf727a4b76663e4be0f7d770e2d2a7965
drm/xe/tests: Change TEST_VRAM to work with 32-bit resource_size_t

We've picked the value of TEST_VRAM to match real VRAM size as found
on the machines used by the CI, but that didn't work well on kernels
that have 32-bit resource_size_t. Use smaller value instead.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/intel-xe/20260227011639.GA1683727@ax162/
Fixes: cbe29da6f7c0 ("drm/xe/tests: Add KUnit tests for new VRAM fair provisioning")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patch.msgid.link/20260227160010.12425-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/tests/xe_gt_sriov_pf_config_kunit.c