On Mon, Feb 06, 2017 at 11:24:53AM +0000, Chris Wilson wrote: > On Mon, Feb 06, 2017 at 09:51:43AM +0000, Chris Wilson wrote: > > They include useful material such as what mode the VM address space is > > running in, what submission mode, extra quirks, etc. > > > > v2: Undef the right macro, use type specific pretty printers > > v3: Use strcmp(TYPENAME) rather than creating per-type pretty printers > > > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> #v1 > > Acked-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxx> > > Acked-by: Jani Nikula <jani.nikula@xxxxxxxxx> > > v4: Use always_inline to force GCC to eliminate the calls to strcmp and > generate the right call to seq_printf for each parameter. v5: With the strcmp elimination, we can now use BUILD_BUG to ensure there are no unhandled types, also use __builtin_strcmp to make it look even more special. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx