[Intel-gfx] [PATCH 1/3] drm/i915: Avoid the branch in computing intel_ring_space()
Chris Wilson
chris at chris-wilson.co.uk
Wed May 3 12:08:49 UTC 2017
On Wed, May 03, 2017 at 01:02:40PM +0100, Chris Wilson wrote:
> On Wed, May 03, 2017 at 02:53:43PM +0300, Mika Kuoppala wrote:
> > > void intel_ring_update_space(struct intel_ring *ring)
> > > @@ -1669,12 +1673,9 @@ static int wait_for_space(struct drm_i915_gem_request *req, int bytes)
> >
> > Bytes should be converted also to unsigned at some point.
>
> Might as well do it now, indeed.
Actually I'll do it in patch 3 as there are nearby similar changes.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list