mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
iris: decode batches if they fail to submit
This commit is contained in:
parent
23367688e9
commit
7130c43d96
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue