summaryrefslogtreecommitdiff
path: root/rnndb
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-01-27 16:59:57 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-01-27 16:59:57 +0100
commit5f85b522d13747deaa26229e0c9e9a076ad5a63b (patch)
treee22f97976fef14596aa09c5c59492587c0a097c7 /rnndb
parent24ab6f51f93c2873c048f4eaa261c44d01440d67 (diff)
Documentatino update
gc2000 have minorFeatures4, document the register, not that we know any of the bits yet...
Diffstat (limited to 'rnndb')
-rw-r--r--rnndb/common.xml34
-rwxr-xr-xrnndb/gen_headers.sh2
-rw-r--r--rnndb/state_hi.xml1
3 files changed, 36 insertions, 1 deletions
diff --git a/rnndb/common.xml b/rnndb/common.xml
index 78879bc..06343f8 100644
--- a/rnndb/common.xml
+++ b/rnndb/common.xml
@@ -281,6 +281,40 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<bitfield pos="30" name="UNK30"/>
<bitfield pos="31" name="UNK31"/>
</bitset>
+ <bitset name="chipMinorFeatures4"> <!-- Only for newer hardware/drivers (gc1000+?) -->
+ <bitfield pos="0" name="UNK0"/>
+ <bitfield pos="1" name="UNK1"/>
+ <bitfield pos="2" name="UNK2"/>
+ <bitfield pos="3" name="UNK3"/>
+ <bitfield pos="4" name="UNK4"/>
+ <bitfield pos="5" name="UNK5"/>
+ <bitfield pos="6" name="UNK6"/>
+ <bitfield pos="7" name="UNK7"/>
+ <bitfield pos="8" name="UNK8"/>
+ <bitfield pos="9" name="UNK9"/>
+ <bitfield pos="10" name="UNK10"/>
+ <bitfield pos="11" name="UNK11"/>
+ <bitfield pos="12" name="UNK12"/>
+ <bitfield pos="13" name="UNK13"/>
+ <bitfield pos="14" name="UNK14"/>
+ <bitfield pos="15" name="UNK15"/>
+ <bitfield pos="16" name="UNK16"/>
+ <bitfield pos="17" name="UNK17"/>
+ <bitfield pos="18" name="UNK18"/>
+ <bitfield pos="19" name="UNK19"/>
+ <bitfield pos="20" name="UNK20"/>
+ <bitfield pos="21" name="UNK21"/>
+ <bitfield pos="22" name="UNK22"/>
+ <bitfield pos="23" name="UNK23"/>
+ <bitfield pos="24" name="UNK24"/>
+ <bitfield pos="25" name="UNK25"/>
+ <bitfield pos="26" name="UNK26"/>
+ <bitfield pos="27" name="UNK27"/>
+ <bitfield pos="28" name="UNK28"/>
+ <bitfield pos="29" name="UNK29"/>
+ <bitfield pos="30" name="UNK30"/>
+ <bitfield pos="31" name="UNK31"/>
+ </bitset>
</database>
diff --git a/rnndb/gen_headers.sh b/rnndb/gen_headers.sh
index b8ebf68..38e90eb 100755
--- a/rnndb/gen_headers.sh
+++ b/rnndb/gen_headers.sh
@@ -6,5 +6,5 @@ HEADERGEN=${DIR}/../envytools/build/rnn/headergen
${HEADERGEN} isa.xml
${HEADERGEN} cmdstream.xml
${HEADERGEN} state.xml
-mv ${DIR}/*.xml.h ${DIR}/../native/etnaviv
+mv ${DIR}/*.xml.h ${DIR}/../src/etnaviv
diff --git a/rnndb/state_hi.xml b/rnndb/state_hi.xml
index 1f18c60..8a86482 100644
--- a/rnndb/state_hi.xml
+++ b/rnndb/state_hi.xml
@@ -128,6 +128,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<reg32 offset="0x00080" name="CHIP_SPECS_2" brief="Chip specifications 2"/>
<reg32 offset="0x00084" name="CHIP_MINOR_FEATURE_2" type="chipMinorFeatures2" brief="Chip minor features 2"/>
<reg32 offset="0x00088" name="CHIP_MINOR_FEATURE_3" type="chipMinorFeatures3" brief="Chip minor features 3"/>
+ <reg32 offset="0x00094" name="CHIP_MINOR_FEATURE_4" type="chipMinorFeatures4" brief="Chip minor features 4"/>
</stripe>
<!-- This block exists at 0x00200 for GC300 models with chipRevision < 0x2000 -->