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>
(cherry picked from commit aaec065f03)
This commit is contained in:
Satyeshwar Singh 2020-05-28 00:44:26 -07:00 committed by Eric Engestrom
parent 2e35ca295b
commit 3601521a6d
2 changed files with 2 additions and 2 deletions

View file

@ -3217,7 +3217,7 @@
"description": "intel/dev: Don't consider all TGL SKUs as GT1 only",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "54996ad49273641e20dbb2d7aff382199e27cd10"
},

View file

@ -1079,7 +1079,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 = {