iris: decode batches if they fail to submit

This commit is contained in:
Kenneth Graunke
2018-02-09 21:58:08 -08:00
parent 23367688e9
commit 7130c43d96

View File

@@ -581,11 +581,12 @@ _iris_batch_flush_fence(struct iris_batch *batch,
}
int ret = submit_batch(batch, in_fence_fd, out_fence_fd);
if (ret < 0)
return ret;
//throttle(iris);
if (ret < 0)
return ret;
if (unlikely(INTEL_DEBUG & DEBUG_BATCH))
decode_batch(batch);