diff options
author | Kenneth Graunke <[email protected]> | 2018-02-09 21:58:08 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:05 -0800 |
commit | 7130c43d96de2e2f0fe385b426d546ecbfe72b69 (patch) | |
tree | 0bb9579d2c7a1a6c296263ef952c2fff40ff187f /src/gallium | |
parent | 23367688e9cba9ed6b11e73e8af9814b200ba3f4 (diff) |
iris: decode batches if they fail to submit
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/iris/iris_batch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c index 59df0ebe942..0734a2a3d41 100644 --- a/src/gallium/drivers/iris/iris_batch.c +++ b/src/gallium/drivers/iris/iris_batch.c @@ -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); |