Reviewed-by: Jason Ekstrand <[email protected]> On Mon, May 15, 2017 at 3:11 PM, Anuj Phogat <[email protected]> wrote:
> V2: Leave a trailing comma for cnl entry in the table. (Jason) > > Signed-off-by: Anuj Phogat <[email protected]> > Cc: Jason Ekstrand <[email protected]> > --- > src/intel/tools/aubinator.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c > index 53b2a27..6e4bba2 100644 > --- a/src/intel/tools/aubinator.c > +++ b/src/intel/tools/aubinator.c > @@ -970,7 +970,8 @@ struct { > { "bdw", MAKE_GEN(8, 0) }, > { "skl", MAKE_GEN(9, 0) }, > { "chv", MAKE_GEN(8, 0) }, > - { "bxt", MAKE_GEN(9, 0) } > + { "bxt", MAKE_GEN(9, 0) }, > + { "cnl", MAKE_GEN(10, 0) }, > }; > > enum { > @@ -1138,7 +1139,7 @@ print_help(const char *progname, FILE *file) > "Decode aub file contents from either FILE or the standard > input.\n\n" > "A valid --gen option must be provided.\n\n" > " --help display this help and exit\n" > - " --gen=platform decode for given platform (ivb, byt, > hsw, bdw, chv, skl, kbl or bxt)\n" > + " --gen=platform decode for given platform (ivb, byt, > hsw, bdw, chv, skl, kbl, bxt or cnl)\n" > " --headers decode only command headers\n" > " --color[=WHEN] colorize the output; WHEN can be 'auto' > (default\n" > " if omitted), 'always', or 'never'\n" > @@ -1166,7 +1167,8 @@ int main(int argc, char *argv[]) > { "chv", 0x22B3 }, /* Intel(R) HD Graphics (Cherryview) */ > { "skl", 0x1912 }, /* Intel(R) HD Graphics 530 (Skylake GT2) */ > { "kbl", 0x591D }, /* Intel(R) Kabylake GT2 */ > - { "bxt", 0x0A84 } /* Intel(R) HD Graphics (Broxton) */ > + { "bxt", 0x0A84 }, /* Intel(R) HD Graphics (Broxton) */ > + { "cnl", 0x5A52 }, /* Intel(R) HD Graphics (Cannonlake) */ > }; > const struct option aubinator_opts[] = { > { "help", no_argument, (int *) &help, > true }, > -- > 2.9.3 > >
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
