From d0b82b1add5d1d1419d4390a3f7c584b6ee7d92c Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 7 Mar 2012 09:58:15 -0800 Subject: [PATCH] i965: Add chipset limits for the Haswell GT3 variant. NOTE: This is a candidate for stable branches. Signed-off-by: Kenneth Graunke Signed-off-by: Eugeni Dodonov --- src/mesa/drivers/dri/i965/brw_context.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 46505537837..5e6e97d4325 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -305,6 +305,12 @@ brwCreateContext(int api, brw->urb.size = 256; brw->urb.max_vs_entries = 1664; brw->urb.max_gs_entries = 640; + } else if (intel->gt == 3) { + brw->max_wm_threads = 408; + brw->max_vs_threads = 280; + brw->urb.size = 512; + brw->urb.max_vs_entries = 1664; + brw->urb.max_gs_entries = 640; } } else if (intel->gen == 7) { if (intel->gt == 1) { -- 2.30.2