]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Mark the shadow gvt context as closed
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 18 Dec 2016 15:37:22 +0000 (15:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 18 Dec 2016 16:18:54 +0000 (16:18 +0000)
commit20573bd480cf051e10cafcf617dee169a6832c77
treef4c5bdf30f3c64b8bc43e86431f000fa500f7d1e
parent522c2b3198280cdc3dd409447c018fd1802c3f24
drm/i915: Mark the shadow gvt context as closed

As the shadow gvt is not user accessible and does not have an associated
vm, we can mark it as closed during its construction. This saves leaking
the internal knowledge of i915_gem_context into gvt/.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161218153724.8439-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gvt/scheduler.c
drivers/gpu/drm/i915/i915_gem_context.c