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>
Showing
- drivers/gpu/drm/i915/i915_gpu_error.c 1 addition, 1 deletiondrivers/gpu/drm/i915/i915_gpu_error.c
- drivers/gpu/drm/i915/intel_ringbuffer.c 29 additions, 70 deletionsdrivers/gpu/drm/i915/intel_ringbuffer.c
- drivers/gpu/drm/i915/intel_ringbuffer.h 5 additions, 1 deletiondrivers/gpu/drm/i915/intel_ringbuffer.h
Loading
Please register or sign in to comment