summaryrefslogtreecommitdiff
path: root/src/smi_output.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-05-18 15:34:43 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-05-18 16:03:41 -0700
commit8f53239ad7aa65e198402b3ce20a4a47d7dca279 (patch)
tree0f20f5fac7322b83b9857146dc6ce2cd184bda39 /src/smi_output.c
parent0d6cd745232b97ee13d03ab1d9de589b0907e791 (diff)
Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)
Already effectively required by use of XNFcallocarray() introduced in xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015. Allows dropping remnants of code for XAA and pre-pciaccess X servers Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-siliconmotion/-/merge_requests/7>
Diffstat (limited to 'src/smi_output.c')
-rw-r--r--src/smi_output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/smi_output.c b/src/smi_output.c
index 377ea4a..38ba7d0 100644
--- a/src/smi_output.c
+++ b/src/smi_output.c
@@ -144,11 +144,7 @@ SMI_OutputGetModes_native(xf86OutputPtr output)
SMIPtr pSmi = SMIPTR(output->scrn);
ENTER();
-#ifdef HAVE_XMODES
LEAVE(xf86CVTMode(pSmi->lcdWidth, pSmi->lcdHeight, 60.0f, FALSE, FALSE));
-#else
- LEAVE(NULL);
-#endif
}
static void