diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-14 16:16:50 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-14 16:16:50 -0700 |
commit | af09c0ca1fe1687e5d455103fff781caf8dd9e21 (patch) | |
tree | aad2968fb9db41baf23058ed118e6c7ee9ddbfba /src/mga.h | |
parent | e7329f46343ce750e9ee8ae333047a4452d551fc (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-mga/-/merge_requests/11>
Diffstat (limited to 'src/mga.h')
-rw-r--r-- | src/mga.h | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -20,9 +20,6 @@ #include <stdio.h> #include "compiler.h" -#ifdef HAVE_XAA_H -#include "xaa.h" -#endif #include "xf86fbman.h" #include "exa.h" #include "xf86Cursor.h" @@ -559,9 +556,6 @@ typedef struct { CARD32 MAccess; int FifoSize; int StyleLen; -#ifdef USE_XAA - XAAInfoRecPtr AccelInfoRec; -#endif xf86CursorInfoPtr CursorInfoRec; DGAModePtr DGAModes; int numDGAModes; @@ -724,12 +718,10 @@ void MGAAdjustGranularity(ScrnInfoPtr pScrn, int* x, int* y); void MGA2064SetupFuncs(ScrnInfoPtr pScrn); void MGAGSetupFuncs(ScrnInfoPtr pScrn); -/*#ifdef USE_XAA */ void MGAStormSync(ScrnInfoPtr pScrn); void MGAStormEngineInit(ScrnInfoPtr pScrn); Bool MGAStormAccelInit(ScreenPtr pScreen); Bool mgaAccelInit(ScreenPtr pScreen); -/* #endif */ #ifdef USE_EXA Bool mgaExaInit(ScreenPtr pScreen); @@ -737,10 +729,6 @@ Bool mgaExaInit(ScreenPtr pScreen); Bool MGAHWCursorInit(ScreenPtr pScreen); -#ifdef USE_XAA -void MGAPolyArcThinSolid(DrawablePtr, GCPtr, int, xArc*); -#endif /* USE_XAA */ - Bool MGADGAInit(ScreenPtr pScreen); void MGARefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox); @@ -816,10 +804,6 @@ MGA_MARK_SYNC(MGAPtr pMga, ScrnInfoPtr pScrn) if (pMga->Exa) exaMarkSync(pScrn->pScreen); #endif -#ifdef USE_XAA - if (!pMga->Exa) - SET_SYNC_FLAG(pMga->AccelInfoRec); -#endif } static __inline__ void @@ -829,10 +813,6 @@ MGA_SYNC(MGAPtr pMga, ScrnInfoPtr pScrn) if (pMga->Exa) exaWaitSync(pScrn->pScreen); #endif -#ifdef USE_XAA - if (!pMga->Exa && pMga->AccelInfoRec && pMga->AccelInfoRec->NeedToSync) - pMga->AccelInfoRec->Sync(pScrn); -#endif } #endif |