diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-19 11:53:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-19 12:01:39 -0700 |
commit | 6100635debdda392ca420e87c5b0d70bd22dfed8 (patch) | |
tree | ff43e16a6b8507ce0f3fe006babc371423e28c06 /src/ffb_driver.c | |
parent | 9d9b53bc8cb3ed4a5630d6b4dd23603d4d431cb5 (diff) |
Remove XAA supportmaster
Mostly done via unifdef -UHAVE_XAA_H, followed by minor manual editing
Since recent commits require xserver-1.18.0 or later to build against,
there's no reason leaving behind big chunks of code that can only build
against the XAA support removed in xserver-1.13.0 (released in 2012).
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb/-/merge_requests/8>
Diffstat (limited to 'src/ffb_driver.c')
-rw-r--r-- | src/ffb_driver.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/src/ffb_driver.c b/src/ffb_driver.c index f63fbce..2c62677 100644 --- a/src/ffb_driver.c +++ b/src/ffb_driver.c @@ -408,11 +408,9 @@ FFBPreInit(ScrnInfoPtr pScrn, int flags) } if (!pFfb->NoAccel) { - if (xf86LoadSubModule(pScrn, "xaa") == NULL) { - xf86DrvMsg(pScrn->scrnIndex, X_INFO, - "Loading XAA failed, acceleration disabled\n"); - pFfb->NoAccel = TRUE; - } + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Acceleration not available, disabled\n"); + pFfb->NoAccel = TRUE; } if (pFfb->HWCursor && xf86LoadSubModule(pScrn, "ramdac") == NULL) { @@ -752,9 +750,8 @@ FFBScreenInit(SCREEN_INIT_ARGS_DECL) xf86SetBlackWhitePixels(pScreen); if (!pFfb->NoAccel) { - if (!FFBAccelInit(pScreen, pFfb)) - return FALSE; - xf86Msg(X_INFO, "%s: Using acceleration\n", pFfb->psdp->device); + pFfb->NoAccel = TRUE; + xf86Msg(X_INFO, "%s: Disabling acceleration\n", pFfb->psdp->device); } @@ -847,8 +844,6 @@ FFBEnterVT(VT_FUNC_ARGS_DECL) FFBPtr pFfb = GET_FFB_FROM_SCRN(pScrn); pFfb->vtSema = FALSE; - if (!pFfb->NoAccel) - CreatorVtChange (pScrn->pScreen, TRUE); if (pFfb->HWCursor) xf86SbusHideOsHwCursor (pFfb->psdp); @@ -871,9 +866,6 @@ FFBLeaveVT(VT_FUNC_ARGS_DECL) FFBDacLeaveVT(pFfb); - if (!pFfb->NoAccel) - CreatorVtChange (pScrn->pScreen, FALSE); - if (pFfb->HWCursor) xf86SbusHideOsHwCursor (pFfb->psdp); |