From 1cd91fdec389abb5d897a5eeaade2a26d18baa76 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Fri, 13 Nov 2020 19:15:54 +0100 Subject: [PATCH] freedreno: Document a650-specific CP_REG_WRITE flag v2: Danylo: clarified previously unknown GRAS_LRZ_CNTL field. Part-of: --- src/freedreno/registers/adreno/adreno_pm4.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/freedreno/registers/adreno/adreno_pm4.xml b/src/freedreno/registers/adreno/adreno_pm4.xml index 153d01e3afc..df274115943 100644 --- a/src/freedreno/registers/adreno/adreno_pm4.xml +++ b/src/freedreno/registers/adreno/adreno_pm4.xml @@ -1775,9 +1775,22 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) register(s) like the others. + + Tracks GRAS_LRZ_CNTL::GREATER, GRAS_LRZ_CNTL::DIR, and + GRAS_UNKNOWN_810A with previous values, and if one of + the following is true: + - GRAS_LRZ_CNTL::GREATER has changed + - GRAS_LRZ_CNTL::DIR has changed, the old value is not + CUR_DIR_GE, and the new value is not CUR_DIR_DISABLED + - GRAS_UNKNOWN_810A has changed + then it does a LRZ_FLUSH with GRAS_LRZ_CNTL::ENABLE + forced to 1. + Only exists in a650_sqe.fw. + + - +