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="http://nouveau.freedesktop.org/ rules-ng.xsd"> 5<import file="freedreno_copyright.xml"/> 6 7<domain name="OCMEM" width="32"> 8 <enum name="ocmem_macro_state"> 9 <value name="PASSTHROUGH" value="0"/> 10 <value name="PERI_ON" value="1"/> 11 <value name="CORE_ON" value="2"/> 12 <value name="CLK_OFF" value="4"/> 13 </enum> 14 <reg32 offset="0x00" name="HW_VERSION"/> 15 <reg32 offset="0x04" name="HW_PROFILE"> 16 <bitfield name="NUM_PORTS" low="0" high="3" type="uint"/> 17 <bitfield name="NUM_MACROS" low="8" high="13" type="uint"/> 18 <bitfield name="LAST_REGN_HALFSIZE" pos="16" type="boolean"/> 19 <bitfield name="INTERLEAVING" pos="17" type="boolean"/> 20 </reg32> 21 <reg32 offset="0x0c" name="GEN_STATUS"/> 22 <reg32 offset="0x38" name="PSGSC_STATUS"/> 23 <!-- length is 4 for 8084, 3 for 8974/8092, 1 for 8226: --> 24 <array offset="0x3c" name="PSGSC" stride="1" length="4"> 25 <reg32 offset="0x0" name="CTL"> 26 <bitfield name="MACRO0_MODE" low="0" high="2" type="ocmem_macro_state"/> 27 <bitfield name="MACRO1_MODE" low="4" high="6" type="ocmem_macro_state"/> 28 <bitfield name="MACRO2_MODE" low="8" high="10" type="ocmem_macro_state"/> 29 <bitfield name="MACRO3_MODE" low="12" high="14" type="ocmem_macro_state"/> 30 </reg32> 31 </array> 32 <reg32 offset="0x1000" name="REGION_MODE_CTL"> 33 <bitfield name="REG0_THIN" pos="0" type="boolean"/> 34 <bitfield name="REG1_THIN" pos="1" type="boolean"/> 35 <bitfield name="REG2_THIN" pos="2" type="boolean"/> 36 <bitfield name="REG3_THIN" pos="3" type="boolean"/> 37 </reg32> 38 <reg32 offset="0x1004" name="GFX_MPU_START"/> 39 <reg32 offset="0x1008" name="GFX_MPU_END"/> 40</domain> 41 42</database> 43