Mesa (main): lima: Fix crashes for GPUs with more than four cores
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Sep 8 04:30:12 UTC 2021
Module: Mesa
Branch: main
Commit: 4ad4aa38fa34e60582ce64a8ee698f1e2bf9d7ae
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ad4aa38fa34e60582ce64a8ee698f1e2bf9d7ae
Author: Icecream95 <ixn at disroot.org>
Date: Mon Sep 6 21:38:43 2021 +1200
lima: Fix crashes for GPUs with more than four cores
Reviewed-by: Erico Nunes <nunes.erico at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12738>
---
src/gallium/drivers/lima/lima_job.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/lima/lima_job.c b/src/gallium/drivers/lima/lima_job.c
index 9503075931a..ef8a6444cb9 100644
--- a/src/gallium/drivers/lima/lima_job.c
+++ b/src/gallium/drivers/lima/lima_job.c
@@ -552,8 +552,8 @@ lima_generate_pp_stream(struct lima_job *job, int off_x, int off_y,
*/
int max = MAX2(tiled_w, tiled_h);
int index = 0;
- uint32_t *stream[4];
- int si[4] = {0};
+ uint32_t *stream[8];
+ int si[8] = {0};
int dim = 0;
int count = 0;
More information about the mesa-commit
mailing list