freedreno: fix wrong tile aligment for 3 CCU gpu

Fixes: 78c8a8af80 "freedreno: Generate device-info tables at build time"
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5060

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11928>
(cherry picked from commit 53d4485a02)
This commit is contained in:
Danylo Piliaiev 2021-07-16 16:01:14 +03:00 committed by Dylan Baker
parent 5be2d785ae
commit bfd3fcd3af
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@
"description": "freedreno: fix wrong tile aligment for 3 CCU gpu",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "78c8a8af80d5b0ccd68dd85ff7ecbb699be31f7d"
},

View file

@ -109,7 +109,7 @@ class A6xxGPUInfo(GPUInfo):
# 96 tile alignment seems correlated to 3 CCU
if num_ccu == 3:
self.tile_align_h = 96
self.tile_align_w = 96
self.a6xx = Struct()
self.a6xx.magic = Struct()