freedreno/registers: Add comments about primitive counters
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 31 Oct 2019 17:01:00 +0000 (10:01 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:36:19 +0000 (16:36 -0800)
Adding comments about best guess at what the counters count.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/registers/a6xx.xml

index e27d406e5362d6e2fed83c60becab8783adb3785..858f2f3c94c814a775690fe074e6345ee061d8af 100644 (file)
@@ -1379,30 +1379,28 @@ to upconvert to 32b float internally?
            vertices in, number of primnitives assembled etc.
        -->
 
-       <reg32 offset="0x0540" name="RBBM_PRIMCTR_0_LO"/>
+       <reg32 offset="0x0540" name="RBBM_PRIMCTR_0_LO"/>  <!-- vs vertices in -->
        <reg32 offset="0x0541" name="RBBM_PRIMCTR_0_HI"/>
-       <reg32 offset="0x0542" name="RBBM_PRIMCTR_1_LO"/>
+       <reg32 offset="0x0542" name="RBBM_PRIMCTR_1_LO"/>  <!-- vs primitives out -->
        <reg32 offset="0x0543" name="RBBM_PRIMCTR_1_HI"/>
-       <reg32 offset="0x0544" name="RBBM_PRIMCTR_2_LO"/>
+       <reg32 offset="0x0544" name="RBBM_PRIMCTR_2_LO"/>  <!-- hs vertices in -->
        <reg32 offset="0x0545" name="RBBM_PRIMCTR_2_HI"/>
-       <reg32 offset="0x0546" name="RBBM_PRIMCTR_3_LO"/>
+       <reg32 offset="0x0546" name="RBBM_PRIMCTR_3_LO"/>  <!-- hs patches out -->
        <reg32 offset="0x0547" name="RBBM_PRIMCTR_3_HI"/>
-       <reg32 offset="0x0548" name="RBBM_PRIMCTR_4_LO"/>
+       <reg32 offset="0x0548" name="RBBM_PRIMCTR_4_LO"/>  <!-- dss vertices in -->
        <reg32 offset="0x0549" name="RBBM_PRIMCTR_4_HI"/>
-       <reg32 offset="0x054a" name="RBBM_PRIMCTR_5_LO"/>
+       <reg32 offset="0x054a" name="RBBM_PRIMCTR_5_LO"/>  <!-- ds primitives out -->
        <reg32 offset="0x054b" name="RBBM_PRIMCTR_5_HI"/>
-       <reg32 offset="0x054c" name="RBBM_PRIMCTR_6_LO"/>
+       <reg32 offset="0x054c" name="RBBM_PRIMCTR_6_LO"/>  <!-- gs primitives in -->
        <reg32 offset="0x054d" name="RBBM_PRIMCTR_6_HI"/>
-       <reg32 offset="0x054e" name="RBBM_PRIMCTR_7_LO"/>
+       <reg32 offset="0x054e" name="RBBM_PRIMCTR_7_LO"/>  <!-- gs primitives out -->
        <reg32 offset="0x054f" name="RBBM_PRIMCTR_7_HI"/>
-       <!-- PRIMCTR_8 appears to count number of primitives coming out of GS -->
-       <reg32 offset="0x0550" name="RBBM_PRIMCTR_8_LO"/>
+       <reg32 offset="0x0550" name="RBBM_PRIMCTR_8_LO"/>  <!-- gs primitives out -->
        <reg32 offset="0x0551" name="RBBM_PRIMCTR_8_HI"/>
-       <reg32 offset="0x0552" name="RBBM_PRIMCTR_9_LO"/>
+       <reg32 offset="0x0552" name="RBBM_PRIMCTR_9_LO"/>  <!-- raster primitives in -->
        <reg32 offset="0x0553" name="RBBM_PRIMCTR_9_HI"/>
        <reg32 offset="0x0554" name="RBBM_PRIMCTR_10_LO"/>
        <reg32 offset="0x0555" name="RBBM_PRIMCTR_10_HI"/>
-       
 
        <reg32 offset="0xF400" name="RBBM_SECVID_TRUST_CNTL"/>
        <reg32 offset="0xF800" name="RBBM_SECVID_TSB_TRUSTED_BASE_LO"/>