1<?xml version="1.0" encoding="UTF-8"?>
2<database xmlns="http://nouveau.freedesktop.org/"
3xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd">
5<import file="freedreno_copyright.xml"/>
6
7<domain name="MDSS" width="32">
8	<reg32 offset="0x00000" name="HW_VERSION">
9		<bitfield name="STEP" low="0" high="15" type="uint"/>
10		<bitfield name="MINOR" low="16" high="27" type="uint"/>
11		<bitfield name="MAJOR" low="28" high="31" type="uint"/>
12	</reg32>
13
14	<reg32 offset="0x00010" name="HW_INTR_STATUS">
15		<bitfield name="INTR_MDP"  pos="0"  type="boolean"/>
16		<bitfield name="INTR_DSI0" pos="4"  type="boolean"/>
17		<bitfield name="INTR_DSI1" pos="5"  type="boolean"/>
18		<bitfield name="INTR_HDMI" pos="8"  type="boolean"/>
19		<bitfield name="INTR_EDP"  pos="12" type="boolean"/>
20	</reg32>
21
22	<reg32 offset="0x00058" name="UBWC_DEC_HW_VERSION"/>
23
24	<reg32 offset="0x00144" name="UBWC_STATIC">
25		<bitfield name="UBWC_SWIZZLE" low="0" high="2"/>
26		<bitfield name="UBWC_BANK_SPREAD" pos="3"/>
27		<!-- high=5 for UBWC < 4.0 -->
28		<bitfield name="HIGHEST_BANK_BIT" low="4" high="6"/>
29		<bitfield name="UBWC_MIN_ACC_LEN" low="8" high="9"/>
30		<bitfield name="UBWC_AMSBC" pos="10"/>
31		<bitfield name="MACROTILE_MODE" pos="12"/>
32	</reg32>
33
34	<reg32 offset="0x00150" name="UBWC_CTRL_2"/>
35	<reg32 offset="0x00154" name="UBWC_PREDICTION_MODE"/>
36</domain>
37
38</database>
39