From 1cf27d956ffa5d899fa220d36a1f1caf9e90f5b9 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Wed, 7 Jan 2015 17:18:02 +0800 Subject: 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 --- src/intel/intel_gpgpu.c | 2 ++ 1 file changed, 2 insertions(+) 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* -- cgit v1.2.3