mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
There's really no good reason to be using the kernel context for the huge-page livetests. Also with the introduction of commitbef27bdb6c("drm/i915: Assert we do not try to expand VMA for hugepage inside GGTT") we start hitting the bug on in the selftests, since the kernel context will always return true for i915_vma_is_ggtt(), so now seems like the opportune time to instead create our own context. Fixes:4049866f09("drm/i915/selftests: huge page tests") Fixes:bef27bdb6c("drm/i915: Assert we do not try to expand VMA for hugepage inside GGTT") Signed-off-by: Matthew Auld <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]>