From aaec065f03e65f75fd18f8cc24d003f220209714 Mon Sep 17 00:00:00 2001 From: Satyeshwar Singh Date: Thu, 28 May 2020 00:44:26 -0700 Subject: [PATCH] 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 Reviewed-by: Eric Engestrom Reviewed-by: Jordan Justen Part-of: --- src/intel/dev/gen_device_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = { -- 2.30.2