[Openchrome-devel] xf86-video-openchrome: src/via_driver.c src/via_ums.c

Kevin Brace kevinbrace at kemper.freedesktop.org
Tue Mar 15 23:28:07 UTC 2016


 src/via_driver.c |    4 ++--
 src/via_ums.c    |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 004411ff1937a87b6717a491b28c40d92fd0fd24
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Mar 15 16:27:20 2016 -0700

    Changed VIAUnmapMem to VIAUnmapMMIO
    
    Changed the function name of VIAUnmapMem to VIAUnmapMMIO inside via_ums.c.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_driver.c b/src/via_driver.c
index 330d5a2..9036d6f 100644
--- a/src/via_driver.c
+++ b/src/via_driver.c
@@ -436,7 +436,7 @@ VIAFreeRec(ScrnInfoPtr pScrn)
     if (pVia->VideoRegs)
         free(pVia->VideoRegs);
 
-    VIAUnmapMem(pScrn);
+    VIAUnmapMMIO(pScrn);
 
     free(pScrn->driverPrivate);
     pScrn->driverPrivate = NULL;
@@ -455,7 +455,7 @@ VIAFreeScreen(FREE_SCREEN_ARGS_DECL)
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "VIAFreeScreen\n"));
 
     if (pVia->directRenderingType != DRI_2)
-        VIAUnmapMem(pScrn);
+        VIAUnmapMMIO(pScrn);
 
     VIAFreeRec(pScrn);
 
diff --git a/src/via_ums.c b/src/via_ums.c
index ae0393e..e697dfb 100644
--- a/src/via_ums.c
+++ b/src/via_ums.c
@@ -51,11 +51,11 @@ ViaMMIODisable(ScrnInfoPtr pScrn)
 }
 
 void
-VIAUnmapMem(ScrnInfoPtr pScrn)
+VIAUnmapMMIO(ScrnInfoPtr pScrn)
 {
     VIAPtr pVia = VIAPTR(pScrn);
 
-    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "VIAUnmapMem\n"));
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "VIAUnmapMMIO\n"));
 
     ViaMMIODisable(pScrn);
 


More information about the Openchrome-devel mailing list