Mesa (main): freedreno: fix wrong tile aligment for 3 CCU gpu
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jul 16 15:21:33 UTC 2021
Module: Mesa
Branch: main
Commit: 53d4485a028525f9a041e527e50d79ecd3e999fc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53d4485a028525f9a041e527e50d79ecd3e999fc
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date: Fri Jul 16 16:01:14 2021 +0300
freedreno: fix wrong tile aligment for 3 CCU gpu
Fixes: 78c8a8af80d5b0ccd68dd85ff7ecbb699be31f7d "freedreno: Generate device-info tables at build time"
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5060
Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11928>
---
src/freedreno/common/freedreno_devices.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/common/freedreno_devices.py b/src/freedreno/common/freedreno_devices.py
index 856fa8cf652..7f24b44a96e 100644
--- a/src/freedreno/common/freedreno_devices.py
+++ b/src/freedreno/common/freedreno_devices.py
@@ -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()
More information about the mesa-commit
mailing list