iris: decode batches if they fail to submit
This commit is contained in:
@@ -581,11 +581,12 @@ _iris_batch_flush_fence(struct iris_batch *batch,
|
|||||||
}
|
}
|
||||||
|
|
||||||
int ret = submit_batch(batch, in_fence_fd, out_fence_fd);
|
int ret = submit_batch(batch, in_fence_fd, out_fence_fd);
|
||||||
if (ret < 0)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
//throttle(iris);
|
//throttle(iris);
|
||||||
|
|
||||||
|
if (ret < 0)
|
||||||
|
return ret;
|
||||||
|
|
||||||
if (unlikely(INTEL_DEBUG & DEBUG_BATCH))
|
if (unlikely(INTEL_DEBUG & DEBUG_BATCH))
|
||||||
decode_batch(batch);
|
decode_batch(batch);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user