drop support for xserver version < 1.20.99

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-14 22:13:37 +02:00
committed by Enrico Weigelt
parent c209a55f0e
commit 445749d198
2 changed files with 0 additions and 9 deletions

View File

@@ -104,11 +104,7 @@ radeon_glamor_pre_init(ScrnInfoPtr scrn)
"glamor may not work (well) with GPUs < RV515.\n");
}
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,20,99,0,0)
if (scrn->depth < 24) {
#else
if (scrn->depth < 15) {
#endif
xf86DrvMsg(scrn->scrnIndex, s ? X_ERROR : X_WARNING,
"Depth %d not supported with glamor, disabling\n",
scrn->depth);

View File

@@ -275,11 +275,6 @@ radeon_present_check_flip(RRCrtcPtr crtc, WindowPtr window, PixmapPtr pixmap,
if (info->drmmode.dri2_flipping)
return FALSE;
#if XORG_VERSION_CURRENT <= XORG_VERSION_NUMERIC(1, 20, 99, 1, 0)
if (pixmap->devKind != screen_pixmap->devKind)
return FALSE;
#endif
#ifdef USE_GLAMOR
if (priv && priv->fb_failed)
return FALSE;