]> 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)
commit77c16e4b6a5c7ec15a95aac92ed524c2d4342b71
treeac44a026b6d718f61d2564d49bce73c26a3f81ed
parentc4e03dfb4fbe1f59814c9206f928e45e5f45f536
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