Add values for gen7 & gen8. These are the number threads in a
subslice.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
brw->max_ds_threads = devinfo->max_ds_threads;
brw->max_gs_threads = devinfo->max_gs_threads;
brw->max_wm_threads = devinfo->max_wm_threads;
+ brw->max_cs_threads = devinfo->max_cs_threads;
brw->urb.size = devinfo->urb.size;
brw->urb.min_vs_entries = devinfo->urb.min_vs_entries;
brw->urb.max_vs_entries = devinfo->urb.max_vs_entries;
int max_ds_threads;
int max_gs_threads;
int max_wm_threads;
+ int max_cs_threads;
/* BRW_NEW_URB_ALLOCATIONS:
*/
.max_ds_threads = 36,
.max_gs_threads = 36,
.max_wm_threads = 48,
+ .max_cs_threads = 36,
.urb = {
.size = 128,
.min_vs_entries = 32,
.max_ds_threads = 128,
.max_gs_threads = 128,
.max_wm_threads = 172,
+ .max_cs_threads = 64,
.urb = {
.size = 256,
.min_vs_entries = 32,
.max_ds_threads = 36,
.max_gs_threads = 36,
.max_wm_threads = 48,
+ .max_cs_threads = 32,
.urb = {
.size = 128,
.min_vs_entries = 32,
.max_ds_threads = 70,
.max_gs_threads = 70,
.max_wm_threads = 102,
+ .max_cs_threads = 70,
.urb = {
.size = 128,
.min_vs_entries = 32,
.max_ds_threads = 280,
.max_gs_threads = 256,
.max_wm_threads = 204,
+ .max_cs_threads = 70,
.urb = {
.size = 256,
.min_vs_entries = 64,
.max_ds_threads = 280,
.max_gs_threads = 256,
.max_wm_threads = 408,
+ .max_cs_threads = 70,
.urb = {
.size = 512,
.min_vs_entries = 64,
.max_hs_threads = 504, \
.max_ds_threads = 504, \
.max_gs_threads = 504, \
- .max_wm_threads = 384 \
+ .max_wm_threads = 384
static const struct brw_device_info brw_device_info_bdw_gt1 = {
GEN8_FEATURES, .gt = 1,
+ .max_cs_threads = 42,
.urb = {
.size = 192,
.min_vs_entries = 64,
static const struct brw_device_info brw_device_info_bdw_gt2 = {
GEN8_FEATURES, .gt = 2,
+ .max_cs_threads = 56,
.urb = {
.size = 384,
.min_vs_entries = 64,
static const struct brw_device_info brw_device_info_bdw_gt3 = {
GEN8_FEATURES, .gt = 3,
+ .max_cs_threads = 56,
.urb = {
.size = 384,
.min_vs_entries = 64,
.max_ds_threads = 80,
.max_gs_threads = 80,
.max_wm_threads = 128,
+ .max_cs_threads = 28,
.urb = {
.size = 192,
.min_vs_entries = 34,
unsigned max_ds_threads;
unsigned max_gs_threads;
unsigned max_wm_threads;
+ unsigned max_cs_threads;
struct {
unsigned size;