]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move common scratch allocation/destroy to intel_engine_cs.c
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 09:48:59 +0000 (10:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 10:01:08 +0000 (11:01 +0100)
commit9d46bfb2d41a7a1a0cd725cb3e1f2a586fa9edc5
treedaa0db432363c9201f4103c48f4c02d3c1f2a266
parent842b7368969b400787066ccdba415a51cc0664e4
drm/i915: Move common scratch allocation/destroy to intel_engine_cs.c

Since the scratch allocation and cleanup is shared by all engine
submission backends, move it out of the legacy intel_ringbuffer.c and
into the new home for common routines, intel_engine_cs.c

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1471254551-25805-20-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h