From 75662c841f48583358730932ed6bc19f8264054b Mon Sep 17 00:00:00 2001 From: Fritz Koenig <frkoenig@google.com> Date: Fri, 11 Jan 2019 10:36:43 -0800 Subject: [PATCH] a6xx: UBWC shr bits Adjust shr in FLAG_BUFFER_ bits so that no additional shifting is necessary --- rnndb/adreno/a6xx.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rnndb/adreno/a6xx.xml b/rnndb/adreno/a6xx.xml index e08bb7ef..ff85f8bf 100644 --- a/rnndb/adreno/a6xx.xml +++ b/rnndb/adreno/a6xx.xml @@ -2247,8 +2247,8 @@ to upconvert to 32b float internally? <reg32 offset="0" name="ADDR_LO"/> <reg32 offset="1" name="ADDR_HI"/> <reg32 offset="2" name="PITCH"> - <bitfield name="PITCH" low="0" high="10" shr="5" type="uint"/> - <bitfield name="ARRAY_PITCH" low="11" high="21" shr="5" type="uint"/> <!-- ??? --> + <bitfield name="PITCH" low="0" high="10" shr="6" type="uint"/> + <bitfield name="ARRAY_PITCH" low="11" high="21" shr="7" type="uint"/> <!-- ??? --> </reg32> </array> <reg32 offset="0x8927" name="RB_SAMPLE_COUNT_ADDR_LO"/> @@ -2940,10 +2940,10 @@ to upconvert to 32b float internally? <bitfield name="FLAG_HI" low="0" high="16"/> </reg32> <reg32 offset="9" name="9"> - <bitfield name="FLAG_BUFFER_PITCH" low="0" high="16" type="uint"/> + <bitfield name="FLAG_BUFFER_PITCH" low="0" high="16" shr="4" type="uint"/> </reg32> <reg32 offset="10" name="10"> - <bitfield name="FLAG_BUFFER_ARRAY_PITCH" low="0" high="16" type="uint"/> + <bitfield name="FLAG_BUFFER_ARRAY_PITCH" low="0" high="16" shr="6" type="uint"/> </reg32> <reg32 offset="11" name="11"/> <reg32 offset="12" name="12"/> -- GitLab