aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSatyeshwar Singh <[email protected]>2020-05-28 00:44:26 -0700
committerJordan Justen <[email protected]>2020-05-30 17:24:58 -0700
commitaaec065f03e65f75fd18f8cc24d003f220209714 (patch)
treebf3ec13c88f0614ccea1a3828ac5ddfad0f2e46e
parentd2f8105b606269c0e71cd599f57997279385d300 (diff)
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: 54996ad4927 ("intel/dev: Split .num_subslices out of GEN12_FEATURES macro") Signed-off-by: Satyeshwar Singh <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5261>
-rw-r--r--src/intel/dev/gen_device_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c
index 83061211287..8fd87b5d53d 100644
--- a/src/intel/dev/gen_device_info.c
+++ b/src/intel/dev/gen_device_info.c
@@ -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 = {