1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

[1] Fix new sync-to-vblank option.

[2] Add G550 cursor fix from XFree86-4-Server

PR:		[2] 43760
This commit is contained in:
Eric Anholt 2002-10-17 00:39:11 +00:00
parent 95152be7d8
commit 7d1b547ad7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68173
3 changed files with 28 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= dri
PORTVERSION= 20021008
PORTREVISION= 1
CATEGORIES= graphics x11-servers
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= anholt/dri-devel

View File

@ -0,0 +1,17 @@
Index: programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_os_freebsd.h
===================================================================
RCS file: /cvsroot/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_os_freebsd.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_os_freebsd.h 29 Sep 2002 23:21:55 -0000 1.9
+++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_os_freebsd.h 14 Oct 2002 23:35:24 -0000 1.10
@@ -142,7 +142,7 @@
#define DRM_HZ hz
#define DRM_WAIT_ON( ret, queue, timeout, condition ) \
-while (condition) { \
+while (!condition) { \
ret = tsleep( &(queue), PZERO | PCATCH, "drmwtq", (timeout) ); \
if ( ret ) \
return ret; \

View File

@ -0,0 +1,10 @@
--- programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c.orig Thu Sep 19 00:12:42 2002
+++ programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c Thu Sep 19 00:13:56 2002
@@ -2745,6 +2745,7 @@
case PCI_CHIP_MGAG200:
case PCI_CHIP_MGAG200_PCI:
case PCI_CHIP_MGAG400:
+ case PCI_CHIP_MGAG550:
if(pMga->SecondCrtc == FALSE && pMga->HWCursor == TRUE) {
outMGAdac(MGA1064_CURSOR_BASE_ADR_LOW,
pMga->FbCursorOffset >> 10);