> +uint32_t *known_unknown = ((void*)ctx->misc_0.cpu + 40960);
> +*known_unknown = 0xa000;
> +
This is doubly scary, since misc_0 is marked INVISIBLE/GROWABLE. Rob
has been coding under the assumption growable must never be accessed
CPU-side. If this is strictly necessary (and
> Any ideas on why these two changes get kmscube working on T720?
...No, absolutely none. You're positive the known_unknown thing is
needed? If that's so, I'm really concerned because I was under the
impression those were magic structures we didn't need to deal with
ourself. If that assumption
Any ideas on why these two changes get kmscube working on T720?
Signed-off-by: Tomeu Vizoso
---
src/gallium/drivers/panfrost/pan_context.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/panfrost/pan_context.c