summaryrefslogtreecommitdiff
path: root/src/xgi_driver.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-24 15:52:12 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-24 16:18:17 +0200
commit05eac74cbda4491943f7327aaf6884a565deb2df (patch)
tree4b36792bcd664dd9a47e9859c5fb85b6d5897f74 /src/xgi_driver.c
parentc044bc1deff398d282e9d9f0fb76bb4288d75af1 (diff)
drop unused XGI_CP code pathes
These seem never to have been enabled, so probably not needed at all. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-xgi/-/merge_requests/6>
Diffstat (limited to 'src/xgi_driver.c')
-rw-r--r--src/xgi_driver.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/xgi_driver.c b/src/xgi_driver.c
index 80d5218..1fad69a 100644
--- a/src/xgi_driver.c
+++ b/src/xgi_driver.c
@@ -3356,9 +3356,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags)
}
}
-#ifdef XGI_CP
- XGI_CP_DRIVER_RECONFIGOPT
-#endif
/* Do some MergedFB mode initialisation */
#ifdef XGIMERGED
if (pXGI->MergedFB) {
@@ -5974,10 +5971,7 @@ XGIPreSetMode(ScrnInfoPtr pScrn, DisplayModePtr mode, int viewmode)
}
CR31 &= ~0x04; /* Clear NotSimuMode */
-#ifdef XGI_CP
- XGI_CP_DRIVER_CONFIG
-#endif
- break;
+ break;
case CRT2_LCD:
CR30 |= 0x20;