From 44054b1f3b38f1483982ab0725768ba22794a445 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Mon, 17 Oct 2022 16:52:30 +0200 Subject: [PATCH] freedreno/a6xx: Fix CP_ROQ_THRESHOLDS_1 Just by adding the ROQ_*_STAT registers following the previous pattern it becomes obvious what these fields actually are. Signed-off-by: Rob Clark Part-of: --- src/freedreno/.gitlab-ci/reference/crash.log | 2 +- src/freedreno/registers/adreno/a6xx.xml | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/freedreno/.gitlab-ci/reference/crash.log b/src/freedreno/.gitlab-ci/reference/crash.log index 4c6deca751c..aa239193329 100644 --- a/src/freedreno/.gitlab-ci/reference/crash.log +++ b/src/freedreno/.gitlab-ci/reference/crash.log @@ -692,7 +692,7 @@ registers: 00000000 0x8aa: 00000000 00000000 0x8ab: 00000000 00000000 CP_PREEMPT_THRESHOLD: 0 - 8040362c CP_ROQ_THRESHOLDS_1: { RB_LO = 0xb0 | RB_HI = 0xd8 | IB1_START = 0x100 | IB2_START = 0x200 } + 8040362c CP_ROQ_THRESHOLDS_1: { MRB_START = 0xb0 | VSD_START = 0xd8 | IB1_START = 0x100 | IB2_START = 0x200 } 010000c0 CP_ROQ_THRESHOLDS_2: { SDS_START = 0x300 | ROQ_SIZE = 0x400 } 00000080 CP_MEM_POOL_SIZE: 0x80 00000000 0x8c4: 00000000 diff --git a/src/freedreno/registers/adreno/a6xx.xml b/src/freedreno/registers/adreno/a6xx.xml index 3af922dd79e..b5c9e6f6666 100644 --- a/src/freedreno/registers/adreno/a6xx.xml +++ b/src/freedreno/registers/adreno/a6xx.xml @@ -1016,16 +1016,13 @@ to upconvert to 32b float internally? - b0..7 seems to contain the size of buffered by not yet processed - RB level cmdstream.. it's possible that it is a low threshold - and b8..15 is a high threshold? - - b16..23 identifies where IB1 data starts (and RB data ends?) - + b0..7 identifies where MRB data starts (and RB data ends) + b8.15 identifies where VSD data starts (and MRB data ends) + b16..23 identifies where IB1 data starts (and RB data ends) b24..31 identifies where IB2 data starts (and IB1 data ends) - - + +