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>
This commit is contained in:
Chris Wilson 2012-01-12 13:17:43 +00:00
parent 978e1aecea
commit b7cefddd46
1 changed files with 1 additions and 1 deletions

View File

@ -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;