summaryrefslogtreecommitdiff
path: root/src/rendition.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-14 15:25:11 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-24 10:00:47 +0200
commit49d50f1fdeb4dc81895fec81be9fae1dc78e5974 (patch)
tree26a0764f3db3d5bea0fe7f1ed6913c7477ba206f /src/rendition.c
parentbf8ab01902b9fa7d640740d5ff5542b324d0ec68 (diff)
drop compat with ancient xserver versionHEADmaster
We're relying on at least 1.18 now Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-rendition/-/merge_requests/4>
Diffstat (limited to 'src/rendition.c')
-rw-r--r--src/rendition.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rendition.c b/src/rendition.c
index 836910f..fd963ba 100644
--- a/src/rendition.c
+++ b/src/rendition.c
@@ -654,11 +654,7 @@ renditionPreInit(ScrnInfoPtr pScreenInfo, int flags)
vgaHWSetStdFuncs(pvgaHW);
vgaHWGetIOBase(pvgaHW); /* Get VGA I/O base */
-#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
- pRendition->board.vgaio_base = pvgaHW->PIOOffset;
-#else
pRendition->board.vgaio_base = 0;
-#endif
pRendition->board.io_base = pRendition->board.vgaio_base
#ifdef XSERVER_LIBPCIACCESS
+ pRendition->PciInfo->regions[1].base_addr;