[Intel-gfx] [PATCH 2/2] drm/i915: Do not re-calculate num_rings locally

Chris Wilson chris at chris-wilson.co.uk
Fri Jun 16 15:02:55 UTC 2017


Quoting Tvrtko Ursulin (2017-06-16 14:03:39)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> It is available in INTEL_INFO so use it.

We used hweight() because num_rings previously wasn't set in time. Can
you cite the commit that changed the order allowing us to use num_rings
here.
 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list