intel/dev: Don't consider all TGL SKUs as GT1 only
We should be passing _gt instead of 1 to GEN12_FEATURES or else all TGL
SKUs will be considered as gt1 only.
Fixes: 54996ad492
("intel/dev: Split .num_subslices out of GEN12_FEATURES macro")
Signed-off-by: Satyeshwar Singh <satyeshwar.singh@intel.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5261>
This commit is contained in:
parent
d2f8105b60
commit
aaec065f03
|
@ -1031,7 +1031,7 @@ static const struct gen_device_info gen_device_info_ehl_4 = {
|
|||
.num_subslices = dual_subslices(1)
|
||||
|
||||
#define GEN12_GT_FEATURES(_gt) \
|
||||
GEN12_FEATURES(1, 1, _gt == 1 ? 4 : 8), \
|
||||
GEN12_FEATURES(_gt, 1, _gt == 1 ? 4 : 8), \
|
||||
.num_subslices = dual_subslices(_gt == 1 ? 2 : 6)
|
||||
|
||||
static const struct gen_device_info gen_device_info_tgl_gt1 = {
|
||||
|
|
Loading…
Reference in New Issue