# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/xf86-video-tseng/hotfix.patch # Copyright (C) 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- From d2d5c8437e401181f56804cc68594c4831a0983d Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 25 Sep 2012 12:55:02 +0000 Subject: Remove mibstore.h Signed-off-by: Adam Jackson --- diff --git a/src/tseng_driver.c b/src/tseng_driver.c index ffafb19..0db62e5 100644 --- a/src/tseng_driver.c +++ b/src/tseng_driver.c @@ -39,9 +39,6 @@ /* All drivers initialising the SW cursor need this */ #include "mipointer.h" -/* All drivers implementing backing store need this */ -#include "mibstore.h" - #include "fb.h" #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 @@ -1453,7 +1450,6 @@ TsengScreenInit(SCREEN_INIT_ARGS_DECL) } } - miInitializeBackingStore(pScreen); xf86SetSilkenMouse(pScreen); /* Initialise cursor functions */ miDCInitialize(pScreen, xf86GetPointerScreenFuncs()); -- cgit v0.9.0.2-2-gbebe From f2a520f6fcbd226af852dfac0d75cfb66804a496 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 30 Jan 2022 12:07:29 -0800 Subject: Stop using maxHValue and maxVValue from ScrnInfoRec They were removed by xorg/xserver@5a945f54, breaking the build of this driver. Patch by @rjbrown99 from #2 Fixes: #2 Signed-off-by: Alan Coopersmith --- src/tseng_driver.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/tseng_driver.c b/src/tseng_driver.c index 2ccc6d3..6c56da3 100644 --- a/src/tseng_driver.c +++ b/src/tseng_driver.c @@ -1037,10 +1037,6 @@ TsengPreInit(ScrnInfoPtr pScrn, int flags) else pTseng->Bytesperpixel = 1; /* this is fake for < 8bpp, but simplifies other code */ - /* hardware limits */ - pScrn->maxHValue = Tseng_HMAX; - pScrn->maxVValue = Tseng_VMAX; - /* * This must happen after pScrn->display has been set because * xf86SetWeight references it. @@ -1133,8 +1129,8 @@ TsengPreInit(ScrnInfoPtr pScrn, int flags) /* Select valid modes from those available */ i = xf86ValidateModes(pScrn, pScrn->monitor->Modes, pScrn->display->modes, &pTseng->clockRange, - NULL, 32, pScrn->maxHValue, 8*pTseng->Bytesperpixel, /* H limits */ - 0, pScrn->maxVValue, /* V limits */ + NULL, 32, Tseng_HMAX, 8*pTseng->Bytesperpixel, /* H limits */ + 0, Tseng_VMAX, /* V limits */ pScrn->display->virtualX, pScrn->display->virtualY, pTseng->FbMapSize, -- cgit v1.2.1