[Intel-gfx] [PATCH v3] drm/i915/execlists: Move WA_TAIL_DWORDS to callee
Chris Wilson
chris at chris-wilson.co.uk
Sat Feb 6 09:33:36 UTC 2016
On Fri, Feb 05, 2016 at 02:56:51PM -0800, Rodrigo Vivi wrote:
> On Fri, Feb 5, 2016 at 11:31 AM, Dave Gordon <david.s.gordon at intel.com> wrote:
> > @@ -907,7 +927,8 @@ int intel_logical_ring_reserve_space(struct drm_i915_gem_request *request)
> > * adding any commands to it then there might not actually be
> > * sufficient room for the submission commands.
> > */
> > - intel_ring_reserved_space_reserve(request->ringbuf, MIN_SPACE_FOR_ADD_REQUEST);
> > + intel_ring_reserved_space_reserve(request->ringbuf,
> > + MIN_SPACE_FOR_ADD_REQUEST + WA_TAIL_DWORDS);
This should already be included in the MIN_SPACE_FOR_ADD_REQUEST as that
value is universal (and is adequate for the moment).
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list