@@ -71,16 +71,6 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<bitfield name="PIPE7_MIXER1" pos="31" type="boolean"/>
</bitset>
- <bitset name="reg_wh" inline="yes">
- <bitfield name="HEIGHT" low="16" high="31" type="uint"/>
- <bitfield name="WIDTH" low="0" high="15" type="uint"/>
- </bitset>
-
- <bitset name="reg_xy" inline="yes">
- <bitfield name="Y" low="16" high="31" type="uint"/>
- <bitfield name="X" low="0" high="15" type="uint"/>
- </bitset>
-
<bitset name="MDP4_IRQ">
<bitfield name="OVERLAY0_DONE" pos="0" type="boolean"/>
<bitfield name="OVERLAY1_DONE" pos="1" type="boolean"/>
@@ -38,6 +38,16 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<value name="BPC8A" value="3"/> <!-- 8 bits -->
</enum>
+<bitset name="reg_wh" inline="yes">
+ <bitfield name="HEIGHT" low="16" high="31" type="uint"/>
+ <bitfield name="WIDTH" low="0" high="15" type="uint"/>
+</bitset>
+
+<bitset name="reg_xy" inline="yes">
+ <bitfield name="Y" low="16" high="31" type="uint"/>
+ <bitfield name="X" low="0" high="15" type="uint"/>
+</bitset>
+
<bitset name="mdp_unpack_pattern" inline="yes">
<bitfield name="ELEM0" low="0" high="7"/>
<bitfield name="ELEM1" low="8" high="15"/>
Since reg_wh and reg_xy are used in both mdp4.xml and mdp5.xml, let's define them in mdp_common.xml which is included by these two files. Change-Id: Ided6d240913866c047dde131a65a53617d2faeaf Signed-off-by: Stephane Viau <sviau@codeaurora.org> --- rnndb/mdp/mdp4.xml | 10 ---------- rnndb/mdp/mdp_common.xml | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-)