[openchrome-devel] xf86-video-openchrome: Branch 'main' - 2 commits - configure.ac src/drmmode_display.c

Kevin Brace kevinbrace at kemper.freedesktop.org
Mon Aug 24 21:11:54 UTC 2020


 configure.ac          |    2 +-
 src/drmmode_display.c |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 20417626bacf02a0fae0f5d9b4bb9cc640ca2770
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Mon Aug 24 14:11:20 2020 -0700

    Version bumped to 0.6.306
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/configure.ac b/configure.ac
index 1fc760c..deba61a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-video-openchrome],
-        [0.6.305],
+        [0.6.306],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit 87361e7302756d9d8eafc66680991a5a39137ee2
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Mon Aug 24 14:06:23 2020 -0700

    No need to zero clear KMS hardware cursor storage before use
    
    Does not appear to break the code, and theoretically, should lead to a
    slight gain in performance.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 59bb43e..86a211a 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -248,7 +248,6 @@ drmmode_load_cursor_argb (xf86CrtcPtr crtc, CARD32 *image)
 
     /* cursor should be mapped already */
     ptr = drm_bo_map(crtc->scrn, drmmode_crtc->cursor_bo);
-    memset(ptr, 0x00, drmmode_crtc->cursor_bo->size);
     memcpy(ptr, image, drmmode_crtc->cursor_bo->size);
     drm_bo_unmap(crtc->scrn, drmmode_crtc->cursor_bo);
 


More information about the openchrome-devel mailing list