From d02b027e5293ad0213c8f9d0b31b93c47310bfa4 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Wed, 7 Oct 2026 09:40:24 -0400 Subject: vgsp: m72/m73 - local-memory context block (SKEDCHECK05 fix), SKED transition recorder, sysmem instance selector m72: append the vendor turingLocalMemUpdate block (SET_SHADER_LOCAL_MEMORY_A/B 0x790/0x794, NON_THROTTLED_A/B 0x2e4/0x2e8, WINDOW_A/B 0x7b0/0x7b4) to the forwarded GR launch prelude; without it the channel local-memory state is zero and the m64-m69 sampler shows SKED_HWW_ESR bit12 = SKEDCHECK05 LOCAL_MEMORY_TOTAL_SIZE latching while the CWD entry is allocated then deallocated. Base/per-TPC size are module params for A/B. m72: change-detecting SKED transition recorder in the launch poll (CWD_T0/1/2, HWW_INFO_1/2, ACTIVITY, HWW_ESR, GRFIFO, FECS current/new/ctxsw status) and extended post-mortem readbacks (HWW_ESR_EN, INFO_1/2/3, CWD_T2, watermarks). m72-r2 sampler result: the QMD enters SKED (CWD_T0=0x11300 STATUS=ACTIVE, CWD_T1=0x1070) and HWW_ESR stays 0 with the lmem block, but the FECS context load never completes: NEW_CTX=0x001f42b0 (V7 FBMEM instance, VALID=0) then CURRENT=0; the task frees (CWD_T0=0x12000 DEP=PENDING_TASK_COMPLETE). m63 (sysmem instance) had VALID=1 on the same load. m73 adds the sysmem instance/RAMFC selector (gsp_phys_rmcall_gr_inst_sys; default 0 = FBMEM capture shape) for the A/B. --- tools/gr-regs/reg_sampler.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tools') diff --git a/tools/gr-regs/reg_sampler.py b/tools/gr-regs/reg_sampler.py index af2cc97..638dc13 100644 --- a/tools/gr-regs/reg_sampler.py +++ b/tools/gr-regs/reg_sampler.py @@ -37,12 +37,22 @@ REGS = [ (0x400708, "TRAPPED_DATA_LO"), (0x404000, "FE_HWW_ESR"), (0x407020, "SKED_HWW_ESR"), + (0x407024, "SKED_HWW_ESR_EN"), + (0x407028, "SKED_HWW_INFO_1"), + (0x40702C, "SKED_HWW_INFO_2"), + (0x407030, "SKED_HWW_INFO_3"), (0x407040, "SKED_STATUS_0"), (0x407054, "SKED_ACTIVITY"), (0x407060, "CWD_TABLE_0"), (0x407064, "CWD_TABLE_1"), (0x407068, "CWD_TABLE_2"), (0x40706C, "CWD_TABLE_3"), + (0x407070, "SKED_CACHE_0"), + (0x407074, "SKED_CACHE_1"), + (0x407090, "SKED_L15_CACHE_0"), + (0x407080, "TASKTABLE_0"), + (0x407084, "TASKTABLE_1"), + (0x407088, "TASKTABLE_2"), (0x409008, "FECS_IRQSTAT"), (0x409100, "FECS_CPUCTL"), (0x409400, "FECS_CTXSW_STATUS_1"), -- cgit v1.2.3