Re: [Intel-gfx] [PATCH 1/8] drm/i915/selftests: Increase size for mock ringbuffer

2017-11-15 Thread Mika Kuoppala
Chris Wilson writes: > 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.

[Intel-gfx] [PATCH 1/8] drm/i915/selftests: Increase size for mock ringbuffer

2017-11-14 Thread Chris Wilson
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