diff options
author | Zhigang Gong <zhigang.gong@intel.com> | 2015-01-07 17:18:02 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2015-01-07 17:19:48 +0800 |
commit | 1cf27d956ffa5d899fa220d36a1f1caf9e90f5b9 (patch) | |
tree | a1c328fe495ad1f42ed8aec9bfaded28e4b003ce /src | |
parent | daabc2b375611e933493adaeded6b9a73f21e205 (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/intel_gpgpu.c | 2 |
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* |