[Intel-gfx] [RFC] drm/i915: Remove FIXME_lrc_ctx backpointer

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 15 12:02:21 CEST 2014


On Wed, Oct 15, 2014 at 10:48:34AM +0100, Nick Hoath wrote:
> The first pass implementation of execlists required a backpointer to the context to be held
> in the intel_ringbuffer. However the context pointer is available higher in the call stack.
> Remove the backpointer from the ring buffer structure and instead pass it down through the
> call stack.

If you look at my fixes for execlist, you don't even need this. The only
usecase I have for ring->ctx is in debugfs, where you don't have the
information in the stack anyway.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list