configure.ac  |    2 +-
 src/via_exa.c |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 59cb83fa3590fcb2b6b1b048475d8da4b34d7e41
Author: Kevin Brace <kevinbr...@gmx.com>
Date:   Mon Feb 3 15:40:17 2020 -0800

    Version bumped to 0.6.211
    
    Signed-off-by: Kevin Brace <kevinbr...@gmx.com>

diff --git a/configure.ac b/configure.ac
index fd058ec..741dea6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-video-openchrome],
-        [0.6.210],
+        [0.6.211],
         
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit a23fa0c27f1ea1e2339eecffe9e1663b048246cd
Author: Kevin Brace <kevinbr...@gmx.com>
Date:   Mon Feb 3 15:40:02 2020 -0800

    Call exaDriverAlloc() later inside viaInitExa()
    
    Signed-off-by: Kevin Brace <kevinbr...@gmx.com>

diff --git a/src/via_exa.c b/src/via_exa.c
index d6d7501..7c2944e 100644
--- a/src/via_exa.c
+++ b/src/via_exa.c
@@ -794,7 +794,7 @@ Bool
 viaInitExa(ScreenPtr pScreen)
 {
     ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
-    ExaDriverPtr pExa = exaDriverAlloc();
+    ExaDriverPtr pExa;
     Bool nPOTSupported = TRUE;
     VIAPtr pVia = VIAPTR(pScrn);
 
@@ -816,8 +816,10 @@ viaInitExa(ScreenPtr pScreen)
         return FALSE;
     }
 
-    if (!pExa)
+    pExa = exaDriverAlloc();
+    if (!pExa) {
         return FALSE;
+    }
 
     pExa->exa_major = EXA_VERSION_MAJOR;
     pExa->exa_minor = EXA_VERSION_MINOR;
commit 3967dccbd947e38f692d7c98a05277395a713987
Author: Kevin Brace <kevinbr...@gmx.com>
Date:   Mon Feb 3 15:39:43 2020 -0800

    No need to zero clear EXA driver struct
    
    exaDriverAlloc() ensures that EXA driver struct is zero cleared.
    
    Signed-off-by: Kevin Brace <kevinbr...@gmx.com>

diff --git a/src/via_exa.c b/src/via_exa.c
index 5f02392..d6d7501 100644
--- a/src/via_exa.c
+++ b/src/via_exa.c
@@ -819,8 +819,6 @@ viaInitExa(ScreenPtr pScreen)
     if (!pExa)
         return FALSE;
 
-    memset(pExa, 0, sizeof(*pExa));
-
     pExa->exa_major = EXA_VERSION_MAJOR;
     pExa->exa_minor = EXA_VERSION_MINOR;
     pExa->memoryBase = pVia->FBBase;
_______________________________________________
openchrome-devel mailing list
openchrome-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/openchrome-devel

Reply via email to