summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-03-25 12:33:32 +0100
committerLucas Stach <l.stach@pengutronix.de>2015-03-25 12:33:32 +0100
commit64cc82054e84d92030284c894c6ec871c6eefcc8 (patch)
treeece18154d1057c5c90e85d4e1e3ca056695683d4
parent4e11e5ca8440f7766c8d9eee3ddffca46f5fe21b (diff)
downloadetna_viv-64cc82054e84d92030284c894c6ec871c6eefcc8.tar.gz
etna_viv-64cc82054e84d92030284c894c6ec871c6eefcc8.tar.xz
rnndb: allow to build individual state files
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
-rw-r--r--rnndb/common.xml3
-rw-r--r--rnndb/state.xml3
-rw-r--r--rnndb/state_2d.xml2
-rw-r--r--rnndb/state_3d.xml3
-rw-r--r--rnndb/state_hi.xml3
-rw-r--r--rnndb/state_vg.xml4
6 files changed, 15 insertions, 3 deletions
diff --git a/rnndb/common.xml b/rnndb/common.xml
index 06343f8..e436bbb 100644
--- a/rnndb/common.xml
+++ b/rnndb/common.xml
@@ -25,6 +25,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<!-- Shared enums and type definitions.
-->
+<domain name="VIVM" brief="GPU memory domain">
+</domain>
+
<enum name="ENABLE_DISABLE" inline="yes">
<!-- Generic type for functionality that can be enabled/disabled, it can be somewhat clearer than a
boolean (RNN default type for 1-bit values) in some cases.
diff --git a/rnndb/state.xml b/rnndb/state.xml
index 45ff248..1402898 100644
--- a/rnndb/state.xml
+++ b/rnndb/state.xml
@@ -54,9 +54,6 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
Generally the chip feature flags are used to distinguish functionality, as well as the specs, and not the model
and revision. Unlike NV which parametrizes everything on the model, for GC this is done only for bugfixes.
-->
-<domain name="VIVM" brief="GPU memory domain">
-</domain>
-
<import file="common.xml"/>
<import file="state_hi.xml"/>
<import file="state_2d.xml"/>
diff --git a/rnndb/state_2d.xml b/rnndb/state_2d.xml
index 89c19b1..9266081 100644
--- a/rnndb/state_2d.xml
+++ b/rnndb/state_2d.xml
@@ -31,6 +31,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
+<import file="common.xml"/>
+
<domain name="VIVS" brief="GPU state">
<!-- Enumerations for use in the 2D engine -->
<enum name="DE_FORMAT" brief="2D pixel format"> <!-- 0..7 match RS_FORMAT in 3D engine -->
diff --git a/rnndb/state_3d.xml b/rnndb/state_3d.xml
index 2863680..c6f16db 100644
--- a/rnndb/state_3d.xml
+++ b/rnndb/state_3d.xml
@@ -23,6 +23,9 @@
<database xmlns="http://nouveau.freedesktop.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
+
+<import file="common.xml"/>
+
<!-- Vivante GCxxxx render states and registers overview:
PIPE_3D (3D rendering) state. Based on reverse engineering, guesswork and experimentation.
-->
diff --git a/rnndb/state_hi.xml b/rnndb/state_hi.xml
index 0a05948..a69852c 100644
--- a/rnndb/state_hi.xml
+++ b/rnndb/state_hi.xml
@@ -23,6 +23,9 @@
<database xmlns="http://nouveau.freedesktop.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
+
+<import file="common.xml"/>
+
<!-- Vivante GCxxxx render states and registers overview:
Host interface (HI) registers
-->
diff --git a/rnndb/state_vg.xml b/rnndb/state_vg.xml
index 005afe6..76b1f53 100644
--- a/rnndb/state_vg.xml
+++ b/rnndb/state_vg.xml
@@ -23,6 +23,10 @@
<database xmlns="http://nouveau.freedesktop.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
+
+
+<import file="common.xml"/>
+
<!-- Vivante GCxxxx render states and registers overview:
OpenVG part (GC350)
-->