drm/i915: Allow the user to pass a context to any ring
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Aug 2016 08:03:36 +0000 (09:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Aug 2016 19:26:53 +0000 (20:26 +0100)
commitf7978a0c581a8a840a28306f8da43e06e7fef3bf
tree87b82d660bc279a3f5ce4c5531264e48ab53c876
parent7850d1c35344c7bd6a357240f2f9f60fc2c097b5
drm/i915: Allow the user to pass a context to any ring

With full-ppgtt, we want the user to have full control over their memory
layout, with a separate instance per context. Forcing them to use a
shared memory layout for !RCS not only duplicates the amount of work we
have to do, but also defeats the memory segregation on offer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20160822080350.4964-4-chris@chris-wilson.co.uk
Reviewed-by: John Harrison <john.c.harrison@intel.com>
Reviewed-by: Thomas Daniel <thomas.daniel@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c