summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorYang Rong <rong.r.yang@intel.com>2014-10-09 14:07:55 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-10-10 16:24:50 +0800
commit97b70cca751c6eace62094b54c9d6a702a219e05 (patch)
treeae3cddbf4758b3ec5982bf59edf479e552df29dd /src/intel
parent0c026b055e26e2722b355f59b29798c3e6c2cf77 (diff)
BDW: Need not restore SLM setting in BDW.
Restore SLM setting may cause some test random fail, remove it. Signed-off-by: Yang Rong <rong.r.yang@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com> Reviewed-by: Junyan He <junyan.he@linux.intel.com>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/intel_gpgpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/intel_gpgpu.c b/src/intel/intel_gpgpu.c
index d65b1a2c..f8587b70 100644
--- a/src/intel/intel_gpgpu.c
+++ b/src/intel/intel_gpgpu.c
@@ -774,7 +774,7 @@ intel_gpgpu_state_init(intel_gpgpu_t *gpgpu,
size_aux += sizeof(surface_heap_t);
//curbe must be 32 bytes aligned
- size_aux = ALIGN(size_aux, 32);
+ size_aux = ALIGN(size_aux, 64);
gpgpu->aux_offset.curbe_offset = size_aux;
size_aux += gpgpu->curb.num_cs_entries * gpgpu->curb.size_cs_entry * 32;
@@ -1681,8 +1681,8 @@ intel_set_gpgpu_callbacks(int device_id)
intel_gpgpu_set_L3 = intel_gpgpu_set_L3_gen8;
cl_gpgpu_get_cache_ctrl = (cl_gpgpu_get_cache_ctrl_cb *)intel_gpgpu_get_cache_ctrl_gen8;
intel_gpgpu_get_scratch_index = intel_gpgpu_get_scratch_index_gen8;
- intel_gpgpu_post_action = intel_gpgpu_post_action_gen75;
- intel_gpgpu_read_ts_reg = intel_gpgpu_read_ts_reg_gen7; //HSW same as ivb
+ intel_gpgpu_post_action = intel_gpgpu_post_action_gen7; //BDW need not restore SLM, same as gen7
+ intel_gpgpu_read_ts_reg = intel_gpgpu_read_ts_reg_gen7;
intel_gpgpu_set_base_address = intel_gpgpu_set_base_address_gen8;
intel_gpgpu_setup_bti = intel_gpgpu_setup_bti_gen8;
intel_gpgpu_load_vfe_state = intel_gpgpu_load_vfe_state_gen8;