freedreno/regs: add extra bits for UBWC array pitch
authorJonathan Marek <jonathan@marek.ca>
Sun, 28 Jun 2020 23:57:42 +0000 (19:57 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 29 Jun 2020 13:08:51 +0000 (13:08 +0000)
commitcb10edd54467b81105f7d68173809006d00f0d07
tree39f4aabeb8814735176a5dffdabcc8a6419fa944
parentc425ca5566a6bd22fe4d38e7b46d82582ce29de9
freedreno/regs: add extra bits for UBWC array pitch

This is not completely tested, but matches the max array pitch allowed by
A6XX_TEX_CONST_9_FLAG_BUFFER_ARRAY_PITCH.

Note this still doesn't allow all image sizes, but it allows 16384x16384
cpp=4 images to work.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5678>
src/freedreno/registers/a6xx.xml