[Intel-gfx] [RFC 15/15] drm/i915: Replace some negative Gen checks

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 9 10:19:34 UTC 2018


Quoting Tvrtko Ursulin (2018-02-08 13:06:06)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Instead of INTEL_GEN != x use !IS_GENx for more optimisation
> opportunities.
> 
> 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