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-09 14:37:42 +0800 |
commit | f98a8af8e3306aee7e8adb0aa5ba076606af53cb (patch) | |
tree | c35e2ddae55899b2a3822e72a1bb01f7e53448ca | |
parent | 42661c9af9f50cb8d137066a926300646bdc2aff (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/intel_gpgpu.c b/src/intel/intel_gpgpu.c index 2fcab053..8f4b14f3 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* |