From: Oscar Mateo Date: Thu, 3 Jul 2014 15:28:02 +0000 (+0100) Subject: drm/i915: Extract ringbuffer destroy & generalize alloc to take a ringbuf X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~49^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2919d2913c515fcfef6d50a46aae31128d454ce9;p=pandora-kernel.git drm/i915: Extract ringbuffer destroy & generalize alloc to take a ringbuf More prep work: with Execlists, we are going to start creating a lot of extra ringbuffers soon, so these functions are handy. No functional changes. v2: rename allocate/destroy_ring_buffer to alloc/destroy_ringbuffer_obj because the name is more meaningful and to mirror a similar function in the context world: i915_gem_alloc_context_obj(). Change suggested by Brad Volkin. Reviewed-by: Jesse Barnes Signed-off-by: Oscar Mateo Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed