mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
drop support for xserver version < 1.20.99
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
c209a55f0e
commit
445749d198
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user