[PATCH 04/16] vgahw: Don't default to standard (port space) access routines

Matt Turner mattst88 at gmail.com
Fri Sep 16 10:50:10 PDT 2011

From: Adam Jackson <ajax at redhat.com>

In fact, don't default to anything; drivers must explicitly say which
kind they want, and they are strongly encouraged to do MMIO if possible.
This is an ABI change in that drivers that don't will crash, but drivers
that are explicit will work with both old and new servers.

Signed-off-by: Adam Jackson <ajax at redhat.com>
 hw/xfree86/vgahw/vgaHW.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/hw/xfree86/vgahw/vgaHW.c b/hw/xfree86/vgahw/vgaHW.c
index f23b799..830ba10 100644
--- a/hw/xfree86/vgahw/vgaHW.c
+++ b/hw/xfree86/vgahw/vgaHW.c
@@ -1708,9 +1708,6 @@ vgaHWGetHWRec(ScrnInfoPtr scrp)
     hwp->MapSize = 0;
     hwp->pScrn = scrp;
-    /* Initialise the function pointers with the standard VGA versions */
-    vgaHWSetStdFuncs(hwp);
     hwp->dev = xf86GetPciInfoForEntity(scrp->entityList[0]);
     return TRUE;

More information about the xorg-devel mailing list