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

Chris Wilson ickle at kemper.freedesktop.org
Fri Jul 4 04:27:04 PDT 2014


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

New commits:
commit 2e0763088f8e159b414cec5c056cc4c91a34766e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jul 4 12:26:43 2014 +0100

    sna: Fix typo s/num_threads/max_threads/
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_threads.c b/src/sna/sna_threads.c
index e2bb804..83b180f 100644
--- a/src/sna/sna_threads.c
+++ b/src/sna/sna_threads.c
@@ -259,7 +259,7 @@ int sna_use_threads(int width, int height, int threshold)
 	if (max_threads <= 0)
 		return 1;
 
-	if (height <= num_threads)
+	if (height <= max_threads)
 		return height;
 
 	if (width < 128)


More information about the xorg-commit mailing list