i965/l3: Add explicit way size calculation for bxt
authorBen Widawsky <ben@bwidawsk.net>
Wed, 5 Oct 2016 03:42:30 +0000 (20:42 -0700)
committerBen Widawsky <ben@bwidawsk.net>
Wed, 5 Oct 2016 14:57:58 +0000 (07:57 -0700)
commit2dc06e23245429bceaac16e8a31e29ddc822ebc9
tree8f72e28497d5b194c857e38a16201e03b6dbc920
parent11cc59afcaf85ec7081587326ac56b24e545d59a
i965/l3: Add explicit way size calculation for bxt

There should be no functional change here because Broxton and CHV are
both gt1. Without this code however, it might seem like broxton support
is missing.

While here, put the gt1 check in front to hopefully short-circuit the
condition for the mobile cases.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/common/gen_l3_config.c