summaryrefslogtreecommitdiff
path: root/src/intel/intel_driver.c
diff options
context:
space:
mode:
authorJunyan He <junyan.he@linux.intel.com>2014-05-07 18:03:10 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-05-12 14:42:56 +0800
commit6bc1455241ce68c15f1ed8d5ca7230fac83d040d (patch)
treec7c21772957ce8f9e2c168ea9969b69b6920d596 /src/intel/intel_driver.c
parent91c1afb4691ccffff9c5de85ef4251d39b18165b (diff)
Make the surface typed write work for HSW
1.Modify the typed write for state write using GEN_SFID_DATAPORT_DATA_CACHE. 2.Add the channel select for surface state setting. 3.Correct the send message for setting slot in send description. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'src/intel/intel_driver.c')
-rw-r--r--src/intel/intel_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/intel_driver.c b/src/intel/intel_driver.c
index 7fd2bf3a..ef978357 100644
--- a/src/intel/intel_driver.c
+++ b/src/intel/intel_driver.c
@@ -687,5 +687,5 @@ intel_setup_callbacks(void)
cl_buffer_subdata = (cl_buffer_subdata_cb *) drm_intel_bo_subdata;
cl_buffer_wait_rendering = (cl_buffer_wait_rendering_cb *) drm_intel_bo_wait_rendering;
cl_buffer_get_fd = (cl_buffer_get_fd_cb *) drm_intel_bo_gem_export_to_prime;
- intel_set_gpgpu_callbacks();
+ intel_set_gpgpu_callbacks(intel_get_device_id());
}