projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2336768
)
iris: decode batches if they fail to submit
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 10 Feb 2018 05:58:08 +0000
(21:58 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_batch.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_batch.c
b/src/gallium/drivers/iris/iris_batch.c
index 59df0ebe942e8e277983cf37520821e406597822..0734a2a3d41565ca5f402fa32b723a8c74729aa5 100644
(file)
--- 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);