drm/i915: Extract context backing object allocation
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 3 Jul 2014 15:27:58 +0000 (16:27 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Jul 2014 10:30:31 +0000 (12:30 +0200)
commitaa0c13daada955ca86dff0b99428929841bfdbc6
tree82159303e3446a68e61f3432247754e4425ad918
parent95fa2eeecfe82788b47366abf7c3a773cc187663
drm/i915: Extract context backing object allocation

This is preparatory work for Execlists: we plan to use it later to
allocate our own context objects (since Logical Ring Contexts do
not have the same kind of backing objects).

No functional changes.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c