* updated pyxdg (0.19 -> 0.28)
[t2sde.git] / package / xorg / xf86-video-xgi / fix-hwcursor-64bit.patch
blobaa6aea376c7b181cb83197bd4c3d2ac6d8ca4949
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/xf86-video-xgi/fix-hwcursor-64bit.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- xf86-video-xgi/src/xgi_accel.c.vanilla 2024-04-04 11:00:00.022794539 +0000
15 +++ xf86-video-xgi/src/xgi_accel.c 2024-04-04 11:01:27.518797785 +0000
16 @@ -60,6 +60,10 @@
18 #define DEV_HEIGHT 0xfff /* "Device height of destination bitmap" */
20 +int Alignment;
21 +unsigned long r_port, w_port ;
22 +int G2CmdQueLen;
24 /* Jong 07/24/2008; performance tuning */
25 long g_srcbase=-1;
26 long g_dstbase=-1;
27 --- xf86-video-xgi/src/xgi_regs.h.vanilla 2024-04-04 11:36:43.445876287 +0000
28 +++ xf86-video-xgi/src/xgi_regs.h 2024-04-04 11:37:21.448877697 +0000
29 @@ -232,7 +232,7 @@
30 #define GPIOH_WRITE (1<<7)
31 #define GPIOH_READ (1<<0)
33 -#define XGIMMIOLONG(offset) *(volatile unsigned long *)(pXGI->IOBase+(offset))
34 +#define XGIMMIOLONG(offset) *(volatile unsigned int *)(pXGI->IOBase+(offset))
35 #define XGIMMIOSHORT(offset) *(volatile unsigned short *)(pXGI->IOBase+(offset))
36 #define XGIMMIOBYTE(offset) *(volatile unsigned char *)(pXGI->IOBase+(offset))
38 --- xf86-video-xgi/src/xgi_cursor.c.vanilla 2024-04-04 12:07:14.077944204 +0000
39 +++ xf86-video-xgi/src/xgi_cursor.c 2024-04-04 12:07:11.422944106 +0000
40 @@ -162,6 +162,8 @@
41 unsigned char *const pCursorShape =
42 pXGI->FbBase + pXGI->CursorOffset;
44 + pXGI->HWARGBCursor = FALSE;
46 memcpy(pCursorShape, src, 1024);
48 xgiG2CRT1_SetCursorAddressPattern(cursor_base,0) ;