On Tue, 2017-11-14 at 11:41 +0000, Chris Wilson wrote: > We don't actually emit any commands into the ringbuffer, so we set it > very small. However, an upcoming change centralises the wait-for-space > into i915_gem_request_alloc() and that imposes a minimum size upon all > ringbuffers (mock or real) of MIN_SPACE_FOR_ADD_REQUEST. Grow the > mock ringbuffer such that we allocate a single page for the struct+buffer, > satisfying the new condition without wasting too much space. > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx