diff options
author | Kristian H. Kristensen <[email protected]> | 2019-09-18 13:09:50 -0700 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-09-18 16:59:10 -0700 |
commit | 7f07046dbcb0effec79625cd598fa98ddc748bbf (patch) | |
tree | 641194b3a1a1ff13175585b8da0db263c5b30386 /src/freedreno/registers | |
parent | a2031a117c6cab669b8a86abde0a34bdea39aa7e (diff) |
freedreno/regs: A couple of tess updates
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/freedreno/registers')
-rw-r--r-- | src/freedreno/registers/a6xx.xml | 10 | ||||
-rw-r--r-- | src/freedreno/registers/adreno_pm4.xml | 34 |
2 files changed, 41 insertions, 3 deletions
diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml index 30f0fe85093..ca239c59f8c 100644 --- a/src/freedreno/registers/a6xx.xml +++ b/src/freedreno/registers/a6xx.xml @@ -2478,10 +2478,16 @@ to upconvert to 32b float internally? <value value="0x3" name="TESS_FRACTIONAL_EVEN"/> </enum> + <enum name="a6xx_tess_output"> + <value value="0x0" name="TESS_POINTS"/> + <value value="0x1" name="TESS_LINES"/> + <value value="0x2" name="TESS_CW_TRIS"/> + <value value="0x3" name="TESS_CCW_TRIS"/> + </enum> + <reg32 offset="0x9802" name="PC_TESS_CNTL"> <bitfield name="SPACING" low="0" high="1" type="a6xx_tess_spacing"/> - <bitfield name="CCW" pos="2" type="boolean"/> - <bitfield name="PRIMITIVES" pos="3" type="boolean"/> + <bitfield name="OUTPUT" low="2" high="3" type="a6xx_tess_output"/> </reg32> <!-- probably: --> diff --git a/src/freedreno/registers/adreno_pm4.xml b/src/freedreno/registers/adreno_pm4.xml index aba316c9c3f..05ed02cf10c 100644 --- a/src/freedreno/registers/adreno_pm4.xml +++ b/src/freedreno/registers/adreno_pm4.xml @@ -63,7 +63,39 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> <value name="DI_PT_LINESTRIP_ADJ" value="0xb"/> <value name="DI_PT_TRI_ADJ" value="0xc"/> <value name="DI_PT_TRISTRIP_ADJ" value="0xd"/> - <value name="DI_PT_PATCHES" value="0x29"/> + + <value name="DI_PT_PATCHES0" value="0x1f"/> + <value name="DI_PT_PATCHES1" value="0x20"/> + <value name="DI_PT_PATCHES2" value="0x21"/> + <value name="DI_PT_PATCHES3" value="0x22"/> + <value name="DI_PT_PATCHES4" value="0x23"/> + <value name="DI_PT_PATCHES5" value="0x24"/> + <value name="DI_PT_PATCHES6" value="0x25"/> + <value name="DI_PT_PATCHES7" value="0x26"/> + <value name="DI_PT_PATCHES8" value="0x27"/> + <value name="DI_PT_PATCHES9" value="0x28"/> + <value name="DI_PT_PATCHES10" value="0x29"/> + <value name="DI_PT_PATCHES11" value="0x2a"/> + <value name="DI_PT_PATCHES12" value="0x2b"/> + <value name="DI_PT_PATCHES13" value="0x2c"/> + <value name="DI_PT_PATCHES14" value="0x2d"/> + <value name="DI_PT_PATCHES15" value="0x2e"/> + <value name="DI_PT_PATCHES16" value="0x2f"/> + <value name="DI_PT_PATCHES17" value="0x30"/> + <value name="DI_PT_PATCHES18" value="0x31"/> + <value name="DI_PT_PATCHES19" value="0x32"/> + <value name="DI_PT_PATCHES20" value="0x33"/> + <value name="DI_PT_PATCHES21" value="0x34"/> + <value name="DI_PT_PATCHES22" value="0x35"/> + <value name="DI_PT_PATCHES23" value="0x36"/> + <value name="DI_PT_PATCHES24" value="0x37"/> + <value name="DI_PT_PATCHES25" value="0x38"/> + <value name="DI_PT_PATCHES26" value="0x39"/> + <value name="DI_PT_PATCHES27" value="0x3a"/> + <value name="DI_PT_PATCHES28" value="0x3b"/> + <value name="DI_PT_PATCHES29" value="0x3c"/> + <value name="DI_PT_PATCHES30" value="0x3d"/> + <value name="DI_PT_PATCHES31" value="0x3e"/> </enum> <enum name="pc_di_src_sel"> |