xf86-video-nv: src/nv_setup.c

Egbert Eich eich at kemper.freedesktop.org
Fri Aug 16 00:21:43 PDT 2013


 src/nv_setup.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 0b6619fec39fada995646fb95bb25e72d3c9a491
Author: Egbert Eich <eich at freedesktop.org>
Date:   Tue Aug 13 20:36:59 2013 +0200

    init: Initialize VGA IOBase before using it
    
    The NV driver did never set the VGA IOBase for those registers which
    have different addresses dependent whether the VGA engine is running in
    mono or color mode.
    This has not been detected as the VGA mode and font save/restore
    functions initialize this value themselves.
    
    Signed-off-by: Egbert Eich <eich at freedesktop.org>
    Reviewed-by: Mark Kettenis <kettenis at openbsd.org>

diff --git a/src/nv_setup.c b/src/nv_setup.c
index 203e7b2..92ca3ec 100644
--- a/src/nv_setup.c
+++ b/src/nv_setup.c
@@ -491,6 +491,8 @@ NVCommonSetup(ScrnInfoPtr pScrn)
 
     pNv->Television = FALSE;
 
+    vgaHWGetIOBase(pVga);
+
     if(!pNv->twoHeads) {
        pNv->CRTCnumber = 0;
        if((monitorA = NVProbeDDC(pScrn, 0))) {


More information about the xorg-commit mailing list