]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/selftests: Run vma tests only if current->mm is present
authorKrzysztof Karas <krzysztof.karas@intel.com>
Fri, 8 May 2026 08:02:14 +0000 (08:02 +0000)
committerAndi Shyti <andi.shyti@linux.intel.com>
Tue, 19 May 2026 11:29:27 +0000 (13:29 +0200)
commit82eb94b1fa1317d470420cccd1da75ff7f1811b3
tree765cc925c5f31c315f23cd7d1d8a70cd9fb11a47
parente8c3344765aa3f5c36ddbc2ec06a25c118f1bcfb
drm/i915/selftests: Run vma tests only if current->mm is present

This set of tests require userspace memory to map objects, so
run them only if this that memory is available.

Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Reviewed-by: MichaƂ Grzelak <michal.grzelak@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/20260508080214.1979686-3-krzysztof.karas@intel.com
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c