hardware/intel/intel-driver
Révision | e01682606714f81b122d7f405780b48e874c99bd (tree) |
---|---|
l'heure | 2014-12-14 01:26:32 |
Auteur | Zhao Yakui <yakui.zhao@inte...> |
Commiter | Xiang, Haihao |
Skl: Flush batch buffer like that on Gen8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
@@ -185,9 +185,10 @@ intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch) | ||
185 | 185 | |
186 | 186 | if (IS_GEN6(intel->device_info) || |
187 | 187 | IS_GEN7(intel->device_info) || |
188 | - IS_GEN8(intel->device_info)) { | |
188 | + IS_GEN8(intel->device_info) || | |
189 | + IS_GEN9(intel->device_info)) { | |
189 | 190 | if (batch->flag == I915_EXEC_RENDER) { |
190 | - if (IS_GEN8(intel->device_info)) { | |
191 | + if (IS_GEN8(intel->device_info) || IS_GEN9(intel->device_info)) { | |
191 | 192 | BEGIN_BATCH(batch, 6); |
192 | 193 | OUT_BATCH(batch, CMD_PIPE_CONTROL | (6 - 2)); |
193 | 194 |