From ec87f72deced2476571af7078c08e906ce54b885 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 29 Aug 2018 17:06:36 +0100 Subject: [PATCH] intel: limit urb size for SKL GT1 The documentation puts the URB size for SKL GT1 as "128-192K". I guess this means we can't guess which one it is, so we have to go for the lower bound. This change reuses values from Gen9LP (since it has the same 128K URB size). I'm not completely sure this is correct at least it fixes a CTS test : dEQP-GLES31.functional.geometry_shading.layered.render_with_default_layer_3d Signed-off-by: Lionel Landwerlin Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107505 --- src/intel/dev/gen_device_info.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c index b0ae4d18034..22237e51470 100644 --- a/src/intel/dev/gen_device_info.c +++ b/src/intel/dev/gen_device_info.c @@ -617,7 +617,19 @@ static const struct gen_device_info gen_device_info_skl_gt1 = { .num_subslices = { 2, }, .num_eu_per_subslice = 6, .l3_banks = 2, - .urb.size = 192, + .urb = { + .size = 128, + .min_entries = { + [MESA_SHADER_VERTEX] = 34, + [MESA_SHADER_TESS_EVAL] = 34, + }, + .max_entries = { + [MESA_SHADER_VERTEX] = 352, + [MESA_SHADER_TESS_CTRL] = 128, + [MESA_SHADER_TESS_EVAL] = 208, + [MESA_SHADER_GEOMETRY] = 128, + }, + }, .simulator_id = 12, }; -- 2.18.0