drm/i915: Finalize contexts in GEM_CONTEXT_CREATE on version 13+
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 8 Jul 2021 15:48:35 +0000 (10:48 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Jul 2021 17:49:39 +0000 (19:49 +0200)
commitca06f93638362bf83584cdf33897822bf1578cf9
treecb420b3ce990e90faf33b890c51ecfc8ead4cbfb
parent0eee9977f9d3d8f1e40175dada55b3d00121ac79
drm/i915: Finalize contexts in GEM_CONTEXT_CREATE on version 13+

All the proto-context stuff for context creation exists to allow older
userspace drivers to set VMs and engine sets via SET_CONTEXT_PARAM.
Drivers need to update to use CONTEXT_CREATE_EXT_* for this going
forward.  Force the issue by blocking the old mechanism on any future
hardware generations.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: Jon Bloomfield <jon.bloomfield@intel.com>
Cc: Carl Zhang <carl.zhang@intel.com>
Cc: Michal Mrozek <michal.mrozek@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210708154835.528166-31-jason@jlekstrand.net
drivers/gpu/drm/i915/gem/i915_gem_context.c