mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
radeonsi: set some VGT context registers on SI-CI
the kernel sets them, but other UMDs can change them Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
8f3ef4e8b8
commit
0d638f4b3d
1 changed files with 3 additions and 0 deletions
|
|
@ -3883,6 +3883,9 @@ static void si_init_config(struct si_context *sctx)
|
|||
vgt_tess_distribution |= S_028B50_TRAP_SPLIT(3);
|
||||
|
||||
si_pm4_set_reg(pm4, R_028B50_VGT_TESS_DISTRIBUTION, vgt_tess_distribution);
|
||||
} else {
|
||||
si_pm4_set_reg(pm4, R_028C58_VGT_VERTEX_REUSE_BLOCK_CNTL, 14);
|
||||
si_pm4_set_reg(pm4, R_028C5C_VGT_OUT_DEALLOC_CNTL, 16);
|
||||
}
|
||||
|
||||
if (sctx->b.family == CHIP_STONEY)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue