From 5d37359f324b167bf12a37952cee4fe0cf9ab4c8 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Tue, 18 Jul 2023 17:01:28 -0700 Subject: [PATCH] intel/dev/xe: Move placeholder subslice info into XEHP_FEATURES Signed-off-by: Jordan Justen Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/dev/intel_device_info.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c index 665f1954d13..e90824ef4fe 100644 --- a/src/intel/dev/intel_device_info.c +++ b/src/intel/dev/intel_device_info.c @@ -1064,6 +1064,7 @@ static const struct intel_device_info intel_device_info_sg1 = { .has_64bit_int = false, \ .has_integer_dword_mul = false, \ .gt = _gt, .num_slices = _slices, .l3_banks = _l3, \ + .num_subslices = dual_subslices(1), /* updated by topology */\ .ver = 12, \ .has_pln = false, \ .has_sample_with_hiz = false, \ @@ -1091,7 +1092,6 @@ static const struct intel_device_info intel_device_info_sg1 = { XEHP_FEATURES(0, 1, 0), \ .display_ver = 13, \ .revision = 4, /* For offline compiler */ \ - .num_subslices = dual_subslices(1), \ .apply_hwconfig = true, \ .has_coarse_pixel_primitive_and_cb = true, \ .has_mesh_shading = true, \ @@ -1126,7 +1126,6 @@ static const struct intel_device_info intel_device_info_atsm_g11 = { #define MTL_FEATURES \ /* (Sub)slice info comes from the kernel topology info */ \ XEHP_FEATURES(0, 1, 0), \ - .num_subslices = dual_subslices(1), \ .has_local_mem = false, \ .has_aux_map = true, \ .apply_hwconfig = true, \