intel/dev: Split .num_subslices out of GEN12_FEATURES macro
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 4 May 2020 20:29:32 +0000 (13:29 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 9 May 2020 01:39:43 +0000 (01:39 +0000)
commit54996ad49273641e20dbb2d7aff382199e27cd10
treedd284a942adc3f70afd406cee69318f213708b55
parent07b0fbea92a66499ef7c0f9b748b1034831201b1
intel/dev: Split .num_subslices out of GEN12_FEATURES macro

The .num_subslices field makes it problematic to reuse the
GEN12_FEATURES macro in other macros.

This also fixes the number of L3 banks for tgl gt1, except that this
was already fixed by Jason (dynamically) in:

86f67952d31 ("intel/devinfo: Compute the correct L3$ size for Gen12")

Cc: 20.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by : Lionel Landwerlin <lionel.g.landwerlin@intel.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4955>
src/intel/dev/gen_device_info.c