• Home
  • Raw
  • Download

Lines Matching refs:devid

98 static int gen4_max_vs_nr_urb_entries(uint32_t devid)  in gen4_max_vs_nr_urb_entries()  argument
100 return IS_GEN5(devid) ? 256 : 32; in gen4_max_vs_nr_urb_entries()
103 static int gen4_max_sf_nr_urb_entries(uint32_t devid) in gen4_max_sf_nr_urb_entries() argument
105 return IS_GEN5(devid) ? 128 : 64; in gen4_max_sf_nr_urb_entries()
108 static int gen4_urb_size(uint32_t devid) in gen4_urb_size() argument
110 return IS_GEN5(devid) ? 1024 : IS_G4X(devid) ? 384 : 256; in gen4_urb_size()
113 static int gen4_max_sf_threads(uint32_t devid) in gen4_max_sf_threads() argument
115 return IS_GEN5(devid) ? 48 : 24; in gen4_max_sf_threads()
118 static int gen4_max_wm_threads(uint32_t devid) in gen4_max_wm_threads() argument
120 return IS_GEN5(devid) ? 72 : IS_G4X(devid) ? 50 : 32; in gen4_max_wm_threads()
211 if (IS_GEN5(batch->devid)) { in gen4_emit_state_base_address()
261 int vs_entries = gen4_max_vs_nr_urb_entries(batch->devid); in gen4_emit_urb()
264 int sf_entries = gen4_max_sf_nr_urb_entries(batch->devid); in gen4_emit_urb()
273 assert(urb_cs_end <= gen4_urb_size(batch->devid)); in gen4_emit_urb()
297 if (IS_G4X(batch->devid) || IS_GEN5(batch->devid)) { in gen4_emit_null_depth_buffer()
314 if (IS_GEN5(batch->devid)) { in gen4_emit_null_depth_buffer()
325 if (IS_GEN5(batch->devid) || IS_G4X(batch->devid)) in gen4_emit_invariant()
340 nr_urb_entries = gen4_max_vs_nr_urb_entries(batch->devid); in gen4_create_vs_state()
341 if (IS_GEN5(batch->devid)) in gen4_create_vs_state()
367 sf->sf4.max_threads = gen4_max_sf_threads(batch->devid) - 1; in gen4_create_sf_state()
369 sf->sf4.nr_urb_entries = gen4_max_sf_nr_urb_entries(batch->devid); in gen4_create_sf_state()
398 wm->wm5.max_threads = gen4_max_wm_threads(batch->devid); in gen4_create_wm_state()
403 if (IS_GEN5(batch->devid)) in gen4_create_wm_state()
439 if (IS_GEN5(batch->devid)) { in gen4_emit_vertex_elements()
535 if (IS_GEN5(batch->devid)) in gen4_create_sf_kernel()
548 if (IS_GEN5(batch->devid)) in gen4_create_ps_kernel()
620 if (IS_GEN5(batch->devid)) in gen4_emit_vertex_buffer()