summaryrefslogtreecommitdiff
path: root/src/smi_driver.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-14 15:49:26 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-05-22 18:41:10 -0700
commitf494e952945771f2a1595f8ec8093b0182e8af70 (patch)
treeb3568ac79a907c7be3d91bc0f111dba525a8f71a /src/smi_driver.c
parent8f53239ad7aa65e198402b3ce20a4a47d7dca279 (diff)
drop support for ancient xserver versions
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-siliconmotion/-/merge_requests/6>
Diffstat (limited to 'src/smi_driver.c')
-rw-r--r--src/smi_driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/smi_driver.c b/src/smi_driver.c
index 5f39e96..d6f8dfb 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -924,9 +924,6 @@ SMI_EnterVT(VT_FUNC_ARGS_DECL)
/* FBBase may have changed after remapping the memory */
pScrn->pScreen->ModifyPixmapHeader(pScrn->pScreen->GetScreenPixmap(pScrn->pScreen),
-1,-1,-1,-1,-1, pSmi->FBBase + pSmi->FBOffset);
-#if (XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 9, 99, 1, 0))
- pScrn->pixmapPrivate.ptr=pSmi->FBBase + pSmi->FBOffset;
-#endif
if(pSmi->useEXA)
pSmi->EXADriverPtr->memoryBase=pSmi->FBBase;