Kept on simplifying vfe state setting
authorbsegovia <devnull@localhost>
Fri, 5 Aug 2011 07:02:27 +0000 (07:02 +0000)
committerKeith Packard <keithp@keithp.com>
Fri, 10 Aug 2012 23:14:45 +0000 (16:14 -0700)
src/cl_command_queue_gen6.c
src/cl_command_queue_gen7.c
src/intel/intel_gpgpu.c
src/intel/intel_gpgpu.h

index 4ee8b02..95884c1 100644 (file)
@@ -143,7 +143,7 @@ cl_command_queue_ND_range_gen6(cl_command_queue queue,
     gpgpu_set_perf_counters(gpgpu, queue->perf->bo);
 
   /* Setup the kernel */
-  gpgpu_state_init(gpgpu, ctx->device->max_compute_unit, 4, 64, cst_sz / 32, 64);
+  gpgpu_state_init(gpgpu, ctx->device->max_compute_unit, cst_sz / 32, 64);
   if (queue->last_batch != NULL)
     drm_intel_bo_unreference(queue->last_batch);
   queue->last_batch = NULL;
index f378290..abf4518 100644 (file)
@@ -138,7 +138,7 @@ cl_command_queue_ND_range_gen7(cl_command_queue queue,
   TRY (cl_set_local_ids, data, local_wk_sz, cst_sz, id_offset, thread_n);
 
   /* Setup the kernel */
-  gpgpu_state_init(gpgpu, ctx->device->max_compute_unit, 4, 64, cst_sz / 32, 64);
+  gpgpu_state_init(gpgpu, ctx->device->max_compute_unit, cst_sz / 32, 64);
   if (queue->last_batch != NULL)
     drm_intel_bo_unreference(queue->last_batch);
   queue->last_batch = NULL;
index a5910b9..9aee653 100644 (file)
@@ -590,8 +590,6 @@ gpgpu_flush(intel_gpgpu_t *state)
 LOCAL void
 gpgpu_state_init(intel_gpgpu_t *state,
                  uint32_t max_threads,
-                 uint32_t size_vfe_entry,
-                 uint32_t num_vfe_entries,
                  uint32_t size_cs_entry,
                  uint32_t num_cs_entries)
 {
index 1cd5eb0..25cfaec 100644 (file)
@@ -107,8 +107,6 @@ extern void gpgpu_bind_buf(intel_gpgpu_t*,
 /* Configure state, size in 512-bit units */
 extern void gpgpu_state_init(intel_gpgpu_t*,
                              uint32_t max_threads,
-                             uint32_t size_vfe_entry,
-                             uint32_t num_vfe_entries,
                              uint32_t size_cs_entry,
                              uint32_t num_cs_entries);