diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-14 15:49:26 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-22 18:41:10 -0700 |
commit | f494e952945771f2a1595f8ec8093b0182e8af70 (patch) | |
tree | b3568ac79a907c7be3d91bc0f111dba525a8f71a /src/smi_crtc.c | |
parent | 8f53239ad7aa65e198402b3ce20a4a47d7dca279 (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_crtc.c')
-rw-r--r-- | src/smi_crtc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/smi_crtc.c b/src/smi_crtc.c index 59c4552..db93568 100644 --- a/src/smi_crtc.c +++ b/src/smi_crtc.c @@ -210,13 +210,6 @@ SMI_CrtcConfigResize(ScrnInfoPtr pScrn, 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)) - if(pScrn->pixmapPrivate.ptr) - /* The pixmap devPrivate just set may be overwritten by - xf86EnableDisableFBAccess */ - pScrn->pixmapPrivate.ptr = pSmi->FBBase + pSmi->FBOffset; -#endif - /* Modify the screen pitch */ pScrn->displayWidth = aligned_pitch / pSmi->Bpp; pScrn->pScreen->ModifyPixmapHeader(pScrn->pScreen->GetScreenPixmap(pScrn->pScreen), |