[Intel-gfx] [PATCH 55/59] drm/i915: Remove fallback poll for ring buffer space

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 1 01:51:35 PDT 2015


On Tue, Mar 31, 2015 at 07:13:40PM +0100, Tomas Elf wrote:
> On 19/03/2015 12:31, John.C.Harrison at Intel.com wrote:
> >From: John Harrison <John.C.Harrison at Intel.com>
> >
> >When the ring buffer is full, the driver finds an outstanding request that will
> >free up sufficient space for the current operation and waits for it to complete.
> >If no such request can be found, there is a fall back path of just polling until
> >sufficient space is available.
> >
> >This path should not be required any more. It is a hangover from the bad days of
> >OLR such that it was possible for the ring to be completely filled without ever
> >having submitted a request.

No. This is wrong. It is from DRI1. We never could have touched the ring
without an OLR.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list