]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Embed the ring->private within the struct intel_ring_buffer
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 26 Aug 2013 19:58:11 +0000 (20:58 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Sep 2013 17:17:55 +0000 (19:17 +0200)
commit0d1aacac36530fce058d7a0db3da7befd5765417
treea59a57fdbc12d190332fd7cdbc87c93b1b6d076e
parenta52690e445637dda7f71878965d64d9b6a15a2b7
drm/i915: Embed the ring->private within the struct intel_ring_buffer

We now have more devices using ring->private than not, and they all want
the same structure. Worse, I would like to use a scratch page from
outside of intel_ringbuffer.c and so for convenience would like to reuse
ring->private. Embed the object into the struct intel_ringbuffer so that
we can keep the code clean.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h