summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-12 01:37:08 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-12 02:21:29 +0000
commit1bd6665093574372248a0743e5630e68aac653ed (patch)
tree3d7f265dfb0bd54bd56804e031031855dbf425bf
parent112b8959261712aaa82f92af0aca4b97fa7c7f03 (diff)
sna: Disable the min alignment workaround
Allow all generations to use the minimum alignment of 4 bytes again as it appears to be working for me... Or at least what remains broken seems to be irrespective of this alignment. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index d9cc809c..37f28c8b 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -596,7 +596,7 @@ void kgem_init(struct kgem *kgem, int fd, struct pci_device *dev, int gen)
kgem->aperture_mappable, kgem->aperture_mappable / (1024*1024)));
kgem->min_alignment = 4;
- if (gen < 60)
+ if (gen < 60 && 0)
/* XXX workaround an issue where we appear to fail to
* disable dual-stream mode */
kgem->min_alignment = 64;