On Thu, Feb 26, 2015 at 06:19:37PM +0530, akash.g...@intel.com wrote: > +#define GT_INTERVAL_FROM_US(us) (IS_GEN9(dev_priv->dev) ? \ > + INTERVAL_1_33_US(us) : \ > + INTERVAL_1_28_US(us))
Just use IS_GEN9(dev_priv) -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx