radeonsi: merge all preamble states into one
Tess registers are appended. GS registers are appended or overwritten if they are already set. There are separate TMZ and non-TMZ preambles. The preamble will be passed to the kernel as an IB to execute on a context switch only. Reviewed-by: Mihai Preda <mhpreda@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16509>
This commit is contained in:
@@ -416,10 +416,6 @@ static void si_log_chunk_type_cs_print(void *data, FILE *f)
|
||||
if (ctx->cs_preamble_state)
|
||||
ac_parse_ib(f, ctx->cs_preamble_state->pm4, ctx->cs_preamble_state->ndw, NULL, 0,
|
||||
"IB2: Init config", ctx->gfx_level, NULL, NULL);
|
||||
|
||||
if (ctx->cs_preamble_gs_rings)
|
||||
ac_parse_ib(f, ctx->cs_preamble_gs_rings->pm4, ctx->cs_preamble_gs_rings->ndw, NULL, 0,
|
||||
"IB2: Init GS rings", ctx->gfx_level, NULL, NULL);
|
||||
}
|
||||
|
||||
if (scs->flushed) {
|
||||
|
Reference in New Issue
Block a user