summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_mm.c
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2012-10-31 16:31:12 +0100
committerChristoph Bumiller <[email protected]>2012-11-04 12:33:38 +0100
commitd8988f048fd963eeddf33c682d64ebdfaa2de9ae (patch)
tree97bb099775cdf50762ddd918cf6483ada47f6500 /src/gallium/drivers/nouveau/nouveau_mm.c
parent05882b0d3b69ac14e9bc93460c77f9dc203c2ff9 (diff)
nv50,nvc0: expose ARB_map_buffer_alignment
All HW buffers (also suballocated ones) are already aligned. Just make sure that also the initial sysram buffers have proper alignment.
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_mm.c')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_mm.c b/src/gallium/drivers/nouveau/nouveau_mm.c
index 4207084aecf..6045af6ee00 100644
--- a/src/gallium/drivers/nouveau/nouveau_mm.c
+++ b/src/gallium/drivers/nouveau/nouveau_mm.c
@@ -9,7 +9,7 @@
#include "nouveau_screen.h"
#include "nouveau_mm.h"
-#define MM_MIN_ORDER 7
+#define MM_MIN_ORDER 7 /* >= 6 to not violate ARB_map_buffer_alignment */
#define MM_MAX_ORDER 20
#define MM_NUM_BUCKETS (MM_MAX_ORDER - MM_MIN_ORDER + 1)