• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


Commit MetaInfo

Révisione01682606714f81b122d7f405780b48e874c99bd (tree)
l'heure2014-12-14 01:26:32
AuteurZhao Yakui <yakui.zhao@inte...>
CommiterXiang, Haihao

Message de Log

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>

Change Summary

Modification

--- a/src/intel_batchbuffer.c
+++ b/src/intel_batchbuffer.c
@@ -185,9 +185,10 @@ intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch)
185185
186186 if (IS_GEN6(intel->device_info) ||
187187 IS_GEN7(intel->device_info) ||
188- IS_GEN8(intel->device_info)) {
188+ IS_GEN8(intel->device_info) ||
189+ IS_GEN9(intel->device_info)) {
189190 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)) {
191192 BEGIN_BATCH(batch, 6);
192193 OUT_BATCH(batch, CMD_PIPE_CONTROL | (6 - 2));
193194