xf86-video-intel: src/sna/kgem.c

Chris Wilson ickle at kemper.freedesktop.org
Thu Jan 12 05:19:27 PST 2012


 src/sna/kgem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b7cefddd467bfd0c100219969712a0133475004c
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Jan 12 13:17:43 2012 +0000

    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 at chris-wilson.co.uk>

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index c7ce777..50ed4bf 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;


More information about the xorg-commit mailing list