summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2015-01-07 17:18:02 +0800
committerZhigang Gong <zhigang.gong@intel.com>2015-01-07 17:19:48 +0800
commit1cf27d956ffa5d899fa220d36a1f1caf9e90f5b9 (patch)
treea1c328fe495ad1f42ed8aec9bfaded28e4b003ce
parentdaabc2b375611e933493adaeded6b9a73f21e205 (diff)
CL/Driver: quick fix regression caused by remove MI_FLUSH.
On Gen8, we also need an extra pipe control after the MEDIA_STATE_FLUSH. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
-rw-r--r--src/intel/intel_gpgpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/intel_gpgpu.c b/src/intel/intel_gpgpu.c
index e6e37fb7..2666f96b 100644
--- a/src/intel/intel_gpgpu.c
+++ b/src/intel/intel_gpgpu.c
@@ -1672,6 +1672,8 @@ intel_gpgpu_walker_gen8(intel_gpgpu_t *gpgpu,
OUT_BATCH(gpgpu->batch, CMD_MEDIA_STATE_FLUSH | 0);
OUT_BATCH(gpgpu->batch, 0); /* kernel index == 0 */
ADVANCE_BATCH(gpgpu->batch);
+
+ intel_gpgpu_pipe_control(gpgpu);
}
static intel_event_t*