intel/ehl: Use macro GEN11_LP_FEATURES in device info
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
e08ec89a19
commit
13c70931f5
|
@ -910,47 +910,35 @@ static const struct gen_device_info gen_device_info_icl_gt0_5 = {
|
||||||
.simulator_id = 19,
|
.simulator_id = 19,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define GEN11_LP_FEATURES \
|
||||||
|
.is_elkhartlake = true, \
|
||||||
|
.urb = { \
|
||||||
|
GEN11_URB_MIN_MAX_ENTRIES, \
|
||||||
|
}, \
|
||||||
|
.disable_ccs_repack = true, \
|
||||||
|
.simulator_id = 28
|
||||||
|
|
||||||
static const struct gen_device_info gen_device_info_ehl_7 = {
|
static const struct gen_device_info gen_device_info_ehl_7 = {
|
||||||
GEN11_FEATURES(1, 1, subslices(4), 4),
|
GEN11_FEATURES(1, 1, subslices(4), 4),
|
||||||
.is_elkhartlake = true,
|
GEN11_LP_FEATURES,
|
||||||
.urb = {
|
|
||||||
GEN11_URB_MIN_MAX_ENTRIES,
|
|
||||||
},
|
|
||||||
.disable_ccs_repack = true,
|
|
||||||
.simulator_id = 28,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct gen_device_info gen_device_info_ehl_6 = {
|
static const struct gen_device_info gen_device_info_ehl_6 = {
|
||||||
GEN11_FEATURES(1, 1, subslices(4), 4),
|
GEN11_FEATURES(1, 1, subslices(4), 4),
|
||||||
.is_elkhartlake = true,
|
GEN11_LP_FEATURES,
|
||||||
.urb = {
|
|
||||||
GEN11_URB_MIN_MAX_ENTRIES,
|
|
||||||
},
|
|
||||||
.disable_ccs_repack = true,
|
|
||||||
.num_eu_per_subslice = 6,
|
.num_eu_per_subslice = 6,
|
||||||
.simulator_id = 28,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct gen_device_info gen_device_info_ehl_5 = {
|
static const struct gen_device_info gen_device_info_ehl_5 = {
|
||||||
GEN11_FEATURES(1, 1, subslices(4), 4),
|
GEN11_FEATURES(1, 1, subslices(4), 4),
|
||||||
.is_elkhartlake = true,
|
GEN11_LP_FEATURES,
|
||||||
.urb = {
|
|
||||||
GEN11_URB_MIN_MAX_ENTRIES,
|
|
||||||
},
|
|
||||||
.disable_ccs_repack = true,
|
|
||||||
.num_eu_per_subslice = 4,
|
.num_eu_per_subslice = 4,
|
||||||
.simulator_id = 28,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct gen_device_info gen_device_info_ehl_4 = {
|
static const struct gen_device_info gen_device_info_ehl_4 = {
|
||||||
GEN11_FEATURES(1, 1, subslices(2), 4),
|
GEN11_FEATURES(1, 1, subslices(2), 4),
|
||||||
.is_elkhartlake = true,
|
GEN11_LP_FEATURES,
|
||||||
.urb = {
|
|
||||||
GEN11_URB_MIN_MAX_ENTRIES,
|
|
||||||
},
|
|
||||||
.disable_ccs_repack = true,
|
|
||||||
.num_eu_per_subslice =4,
|
.num_eu_per_subslice =4,
|
||||||
.simulator_id = 28,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GEN12_URB_MIN_MAX_ENTRIES \
|
#define GEN12_URB_MIN_MAX_ENTRIES \
|
||||||
|
|
Loading…
Reference in New Issue