xf86-video-intel: 2 commits - src/sna/compiler.h src/sna/sna_accel.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 17 13:14:48 UTC 2020


 src/sna/compiler.h  |    2 +-
 src/sna/sna_accel.c |    3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit db2356f5861d4a81d67c00843a15f5624cd21fb5
Author: Alexei Podtelezhnikov <apotele at gmail.com>
Date:   Wed Apr 15 23:56:11 2020 -0400

    sna: fix typo for --enable-debug=full
    
    A typo in tightly_packed define for builds with optimisation disabled
    left us creating many packed objects. When compiled with -fno-common the
    compiler rightfully complains about the duplication.
    
    Signed-off-by: Alexei Podtelezhnikov <apotele at gmail.com>
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/compiler.h b/src/sna/compiler.h
index 2e579b15..c3d98797 100644
--- a/src/sna/compiler.h
+++ b/src/sna/compiler.h
@@ -50,7 +50,7 @@
 #define must_check
 #define constant
 #define pure
-#define tighly_packed
+#define tightly_packed
 #define flatten
 #define nonnull
 #define page_aligned
commit 3d5a1238af6a98f1e8f4b41f0faeda5921c92c52
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Apr 17 14:05:13 2020 +0100

    sna: Restore blt fallback backend
    
    Despite suggestions to the contrary, the BLT survived for another year.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index ee857a14..edbfe5a4 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -18115,9 +18115,6 @@ static bool sna_option_accel_none(struct sna *sna)
 	if (!xf86ReturnOptValBool(sna->Options, OPTION_ACCEL_ENABLE, TRUE))
 		return true;
 
-	if (sna->kgem.gen >= 0120)
-		return true;
-
 	if (!intel_option_cast_to_bool(sna->Options,
 				       OPTION_ACCEL_METHOD,
 				       !IS_DEFAULT_ACCEL_METHOD(NOACCEL)))


More information about the xorg-commit mailing list