Mesa (main): freedreno: Fix for large epilogues
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Oct 15 14:50:47 UTC 2021
Module: Mesa
Branch: main
Commit: 73d6e153eb984ba72233a6e5f66e5467857fe9a5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=73d6e153eb984ba72233a6e5f66e5467857fe9a5
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Oct 14 11:36:46 2021 -0700
freedreno: Fix for large epilogues
Apparently Rocket League overflows the fixed size epilogue. Switch it
to be growable.
Closes: #5493
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13365>
---
src/gallium/drivers/freedreno/freedreno_batch.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/freedreno/freedreno_batch.h b/src/gallium/drivers/freedreno/freedreno_batch.h
index 7b554c3cceb..f85ff823852 100644
--- a/src/gallium/drivers/freedreno/freedreno_batch.h
+++ b/src/gallium/drivers/freedreno/freedreno_batch.h
@@ -414,7 +414,7 @@ fd_batch_get_epilogue(struct fd_batch *batch)
{
if (batch->epilogue == NULL) {
batch->epilogue = fd_submit_new_ringbuffer(batch->submit, 0x1000,
- (enum fd_ringbuffer_flags)0);
+ FD_RINGBUFFER_GROWABLE);
}
return batch->epilogue;
More information about the mesa-commit
mailing list