summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index 8ab0e37fa0d..8765d5c04f2 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -679,9 +679,11 @@ fd_screen_create(struct fd_device *dev)
}
if (screen->gpu_id >= 500) {
- screen->gmem_alignment = 64;
+ screen->gmem_alignw = 64;
+ screen->gmem_alignh = 32;
} else {
- screen->gmem_alignment = 32;
+ screen->gmem_alignw = 32;
+ screen->gmem_alignh = 32;
}
/* NOTE: don't enable reordering on a2xx, since completely untested.