On Tue, Nov 8, 2016 at 1:21 PM, Jason Ekstrand <ja...@jlekstrand.net> wrote:
> Most of the 3-D engine Kaby Lake is identical to Sky Lake.  However, there

While hyphenating 3D looks a little odd to me, Skylake is definitely
just a single word. (Strangely, Kaby Lake is indeed two words)

> are a few small differences that we need to be able to detect.
>
> Signed-off-by: Jason Ekstrand <ja...@jlekstrand.net>
> ---
>  src/intel/common/gen_device_info.c | 14 +++++++++-----
>  src/intel/common/gen_device_info.h |  1 +
>  2 files changed, 10 insertions(+), 5 deletions(-)
>
> diff --git a/src/intel/common/gen_device_info.c 
> b/src/intel/common/gen_device_info.c
> index 30df0b2..3ff98f0 100644
> --- a/src/intel/common/gen_device_info.c
> +++ b/src/intel/common/gen_device_info.c
> @@ -427,6 +427,10 @@ static const struct gen_device_info 
> gen_device_info_bxt_2x6 = {
>   * There's no KBL entry. Using the default SKL (GEN9) GS entries value.
>   */
>
> +#define KBL_FEATURES \

We don't have subgen FEATURES #defines for anything else. bxt, for
instance just sets .is_broxton in its couple of fields. Not wrong, but
doesn't seem particularly necessary for a single field.

I'd prefer to just put .is_kabylake in the KBL structs, unless you've
got further plans.

With that fixed, both patches are

Reviewed-by: Matt Turner <matts...@gmail.com>

Neat find. :)
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to