On Fri, Feb 05, 2016 at 02:56:51PM -0800, Rodrigo Vivi wrote:
> On Fri, Feb 5, 2016 at 11:31 AM, Dave Gordon <[email protected]> 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
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to