rnndb: a6xx: Add kernel registers for the GPU and GMU
PATCH 1/1 rnndb: a6xx: Add kernel registers for the GPU and GMU
Add the kernel side registers needed to bring up and use the a6xx GPU and GMU to the rnndb database.
--- rnndb/adreno.xml | 2 + rnndb/adreno/a6xx.xml | 830 ++++++++++++++++++++++++++++++++++++++++++++++ rnndb/adreno/a6xx_gmu.xml | 211 ++++++++++++ 3 files changed, 1043 insertions(+) create mode 100644 rnndb/adreno/a6xx.xml create mode 100644 rnndb/adreno/a6xx_gmu.xml
rnndb/adreno.xml +2 -0
@@ -8,6 +8,8 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> <import file="adreno/a3xx.xml"/> <import file="adreno/a4xx.xml"/> <import file="adreno/a5xx.xml"/> +<import file="adreno/a6xx.xml"/> +<import file="adreno/a6xx_gmu.xml"/> <import file="adreno/ocmem.xml"/> </database>
rnndb/adreno/a6xx.xml new file +830 -0
830 lines not on this page · raw message
rnndb/adreno/a6xx_gmu.xml new file +211 -0
211 lines not on this page · raw message
Signature · 6 lines
1.9.1 _______________________________________________ Freedreno mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/freedreno
A message that is not in the archive (sent off-list or not yet received): 1517422005-18774-1-git-send-email-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org
rnndb/adreno/a6xx_gmu.xml line 88
Quoted 5 lines · Jordan Crouse
rnndb/adreno/a6xx_gmu.xml new file +5
-0+ <reg32 offset="0x50d0" name="GMU_SPTPRAC_PWR_CLK_STATUS"> + <bitfield name="SPTPRAC_GDSC_POWERING_OFF" pos="0"/> + <bitfield name="SPTPRAC_GDSC_POWERING_ON" pos="1"/> + <bitfield name="SPTPRAC_GDSC_POWER_ON" pos="2"/> + <bitfield name="SPTPRAC_GDSC_POWER_OFF" pos="3"/>
Rob, when you push this, could you invert these two fields? OFF should be bit 2 and ON should be bit 3. This will save me from having to go through the hoops to push a new rnndb patch. I've already fixed it up manually in the kernel header.
Thanks,
Jordan
Signature · 6 lines
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project _______________________________________________ Freedreno mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/freedreno