summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-12 13:17:43 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-12 13:17:43 +0000
commitb7cefddd467bfd0c100219969712a0133475004c (patch)
tree388ec29f50f0a9c78839c3eb47e01cf892bf717f
parent978e1aeceab3c1a524f7d7a070fe04f37530c8d9 (diff)
sna: Re-enable min-alignment workaround on pre-SNB hw
Confirmed as still being required for both gen3 and gen4. One day I will get single-stream mode working, just not today apparently. 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 c7ce7779..50ed4bf1 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -599,7 +599,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 && 0)
+ if (gen < 60)
/* XXX workaround an issue where we appear to fail to
* disable dual-stream mode */
kgem->min_alignment = 64;