]> 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)
commit022e404d5a404646e117772c8a43d2afd7c8caaf
treeac44a026b6d718f61d2564d49bce73c26a3f81ed
parent346397d9927e906100e19329d1815fff45080f42
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