From 27312eb38600f47efe92cee2fabc734bb582d732 Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Wed, 5 Jul 2023 16:04:49 +0200 Subject: [PATCH] freedreno/regs: a7xx has a new source type CP_REG_TEST Signed-off-by: Danylo Piliaiev Part-of: --- src/freedreno/.gitlab-ci/reference/fd-clouds.log | 22 +++++++++++----------- src/freedreno/registers/adreno/adreno_pm4.xml | 10 +++++++++- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/freedreno/.gitlab-ci/reference/fd-clouds.log b/src/freedreno/.gitlab-ci/reference/fd-clouds.log index 30e3aa5..98fde21 100644 --- a/src/freedreno/.gitlab-ci/reference/fd-clouds.log +++ b/src/freedreno/.gitlab-ci/reference/fd-clouds.log @@ -1473,7 +1473,7 @@ cmdstream[0]: 1023 dwords gpuaddr:0000000001d90010 0000000001d918e0: 0000: 70c28003 00000883 01d90010 00000000 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d918f0: 0000: 70b90001 02000883 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -1557,7 +1557,7 @@ cmdstream[0]: 1023 dwords opcode: CP_SET_MODE (63) (2 dwords) 0000000001d919d0: 0000: 70e30001 00000000 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d919d8: 0000: 70b90001 02000883 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -1707,7 +1707,7 @@ cmdstream[0]: 1023 dwords :0,1,17,6 0000000001d91aa4: 0000: 48088901 00000011 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0xc38 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0xc38 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91aac: 0000: 70b90001 02000c38 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -6749,7 +6749,7 @@ cmdstream[0]: 1023 dwords :0,1,18,3 0000000001d91ad4: 0000: 48088901 00000012 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91adc: 0000: 70b90001 02000883 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -6874,7 +6874,7 @@ cmdstream[0]: 1023 dwords opcode: CP_SET_MODE (63) (2 dwords) 0000000001d91b9c: 0000: 70e30001 00000000 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91ba4: 0000: 70b90001 02000883 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -6948,7 +6948,7 @@ cmdstream[0]: 1023 dwords :0,1,27,24 0000000001d91c70: 0000: 48088901 0000001b opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0xc39 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0xc39 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91c78: 0000: 70b90001 02000c39 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -6965,7 +6965,7 @@ cmdstream[0]: 1023 dwords :0,1,28,24 0000000001d91ca0: 0000: 48088901 0000001c opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91ca8: 0000: 70b90001 02000883 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -7043,7 +7043,7 @@ cmdstream[0]: 1023 dwords opcode: CP_SET_MODE (63) (2 dwords) 0000000001d91d68: 0000: 70e30001 00000000 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91d70: 0000: 70b90001 02000883 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -7117,7 +7117,7 @@ cmdstream[0]: 1023 dwords :0,1,37,34 0000000001d91e3c: 0000: 48088901 00000025 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0xc3a | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0xc3a | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91e44: 0000: 70b90001 02000c3a opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -7134,7 +7134,7 @@ cmdstream[0]: 1023 dwords :0,1,38,34 0000000001d91e6c: 0000: 48088901 00000026 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91e74: 0000: 70b90001 02000883 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } @@ -7212,7 +7212,7 @@ cmdstream[0]: 1023 dwords opcode: CP_SET_MODE (63) (2 dwords) 0000000001d91f34: 0000: 70e30001 00000000 opcode: CP_REG_TEST (39) (2 dwords) - { REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } + { SOURCE = SOURCE_REG | REG = 0x883 | BIT = 0 | SKIP_WAIT_FOR_ME | PRED_BIT = 0 } 0000000001d91f3c: 0000: 70b90001 02000883 opcode: CP_COND_REG_EXEC (47) (3 dwords) { REG0 = 0 | PRED_BIT = 0 | MODE = PRED_TEST } diff --git a/src/freedreno/registers/adreno/adreno_pm4.xml b/src/freedreno/registers/adreno/adreno_pm4.xml index dff53e5..b859606 100644 --- a/src/freedreno/registers/adreno/adreno_pm4.xml +++ b/src/freedreno/registers/adreno/adreno_pm4.xml @@ -1783,9 +1783,17 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) Will execute the CP_INDIRECT_BUFFER only if b0 in the register at offset 0x0c10 is 1 + + + + + - + + + -- 2.7.4