tu/a7xx: Make A7XX_RB_UNKNOWN_8E06 value configurable per-gen

It is some kind of DBG register which has different value
on different gens.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26934>
This commit is contained in:
Danylo Piliaiev
2024-01-08 14:56:28 +01:00
committed by Marge Bot
parent 98b62434bd
commit cdadead230
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -1652,7 +1652,7 @@ tu6_sysmem_render_begin(struct tu_cmd_buffer *cmd, struct tu_cs *cs,
tu_cs_emit_regs(cs,
A7XX_RB_UNKNOWN_88E5(0x50120004));
tu_cs_emit_regs(cs,
A7XX_RB_UNKNOWN_8E06(0x2080000));
A7XX_RB_UNKNOWN_8E06(cmd->device->physical_device->info->a6xx.magic.RB_UNKNOWN_8E06));
/* These three have something to do with lrz/depth */
tu_cs_emit_regs(cs, A7XX_GRAS_UNKNOWN_8007(0x0));