OSDN Git Service

i915/gem/selftests: Assign the VM at context creation in igt_shared_ctx_exec
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 8 Jul 2021 15:48:33 +0000 (10:48 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Jul 2021 17:49:25 +0000 (19:49 +0200)
commitf92906e220f1f130995a67817cfec7f305a55bfc
treebdd9763198b4f604947e600ac72a7a3dd788c77e
parent5888d588597408ea8208e89497dbbdb72d405071
i915/gem/selftests: Assign the VM at context creation in igt_shared_ctx_exec

We want to delete __assign_ppgtt and, generally, stop setting the VM
after context creation.  This is the one place I could find in the
selftests where we set a VM after the fact.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210708154835.528166-29-jason@jlekstrand.net
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c