drm/i915/gem: Optionally set SSEU in intel_context_set_gem
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 8 Jul 2021 15:48:23 +0000 (10:48 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Jul 2021 17:47:20 +0000 (19:47 +0200)
commit263ae12c3c8de253ebd33b99518297877d1892c5
treee9bdf9b2f5b80c76e27157338c280bad5218dab6
parent07a635a825e6649f7c6dbea55e2a0557c30f1a73
drm/i915/gem: Optionally set SSEU in intel_context_set_gem

For now this is a no-op because everyone passes in a null SSEU but it
lets us get some of the error handling and selftest refactoring plumbed
through.

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