diff options
author | Anuj Phogat <[email protected]> | 2020-07-09 15:00:21 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2020-07-14 21:10:04 -0700 |
commit | e08ec89a195111c95bf91b636e301c81900a5f89 (patch) | |
tree | d765030a03adbe53353d11edf3f2deccf97f5970 /src/intel | |
parent | 787c1ed2096af39a98893e779f49bacf5efdcee2 (diff) |
intel/ehl: Use GEN11_URB_MIN_MAX_ENTRIES in device info
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/dev/gen_device_info.c | 44 |
1 files changed, 4 insertions, 40 deletions
diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c index e7c7395cefd..38caf699bde 100644 --- a/src/intel/dev/gen_device_info.c +++ b/src/intel/dev/gen_device_info.c @@ -914,16 +914,7 @@ static const struct gen_device_info gen_device_info_ehl_7 = { GEN11_FEATURES(1, 1, subslices(4), 4), .is_elkhartlake = true, .urb = { - .min_entries = { - [MESA_SHADER_VERTEX] = 64, - [MESA_SHADER_TESS_EVAL] = 34, - }, - .max_entries = { - [MESA_SHADER_VERTEX] = 2384, - [MESA_SHADER_TESS_CTRL] = 1032, - [MESA_SHADER_TESS_EVAL] = 2384, - [MESA_SHADER_GEOMETRY] = 1032, - }, + GEN11_URB_MIN_MAX_ENTRIES, }, .disable_ccs_repack = true, .simulator_id = 28, @@ -933,16 +924,7 @@ static const struct gen_device_info gen_device_info_ehl_6 = { GEN11_FEATURES(1, 1, subslices(4), 4), .is_elkhartlake = true, .urb = { - .min_entries = { - [MESA_SHADER_VERTEX] = 64, - [MESA_SHADER_TESS_EVAL] = 34, - }, - .max_entries = { - [MESA_SHADER_VERTEX] = 2384, - [MESA_SHADER_TESS_CTRL] = 1032, - [MESA_SHADER_TESS_EVAL] = 2384, - [MESA_SHADER_GEOMETRY] = 1032, - }, + GEN11_URB_MIN_MAX_ENTRIES, }, .disable_ccs_repack = true, .num_eu_per_subslice = 6, @@ -953,16 +935,7 @@ static const struct gen_device_info gen_device_info_ehl_5 = { GEN11_FEATURES(1, 1, subslices(4), 4), .is_elkhartlake = true, .urb = { - .min_entries = { - [MESA_SHADER_VERTEX] = 64, - [MESA_SHADER_TESS_EVAL] = 34, - }, - .max_entries = { - [MESA_SHADER_VERTEX] = 2384, - [MESA_SHADER_TESS_CTRL] = 1032, - [MESA_SHADER_TESS_EVAL] = 2384, - [MESA_SHADER_GEOMETRY] = 1032, - }, + GEN11_URB_MIN_MAX_ENTRIES, }, .disable_ccs_repack = true, .num_eu_per_subslice = 4, @@ -973,16 +946,7 @@ static const struct gen_device_info gen_device_info_ehl_4 = { GEN11_FEATURES(1, 1, subslices(2), 4), .is_elkhartlake = true, .urb = { - .min_entries = { - [MESA_SHADER_VERTEX] = 64, - [MESA_SHADER_TESS_EVAL] = 34, - }, - .max_entries = { - [MESA_SHADER_VERTEX] = 2384, - [MESA_SHADER_TESS_CTRL] = 1032, - [MESA_SHADER_TESS_EVAL] = 2384, - [MESA_SHADER_GEOMETRY] = 1032, - }, + GEN11_URB_MIN_MAX_ENTRIES, }, .disable_ccs_repack = true, .num_eu_per_subslice =4, |