]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop getparam support for I915_CONTEXT_PARAM_ENGINES
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 8 Jul 2021 15:48:13 +0000 (10:48 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Jul 2021 17:44:18 +0000 (19:44 +0200)
commitc7a71fc8ee04669037501da2f987f0732e8754ee
treeac44a026b6d718f61d2564d49bce73c26a3f81ed
parent00dae4d3d35d4f526929633b76e00b0ab4d3970d
drm/i915: Drop getparam support for I915_CONTEXT_PARAM_ENGINES

This has never been used by any userspace except IGT and provides no
real functionality beyond parroting back parameters userspace passed in
as part of context creation or via setparam.  If the context is in
legacy mode (where you use I915_EXEC_RENDER and friends), it returns
success with zero data so it's not useful for discovering what engines
are in the context.  It's also not a replacement for the recently
removed I915_CONTEXT_CLONE_ENGINES because it doesn't return any of the
balancing or bonding information.

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-9-jason@jlekstrand.net
drivers/gpu/drm/i915/gem/i915_gem_context.c