Thu Oct 15 08:16:04 2009 UTC ()
Update to 0.2.904.

Changes:
Save/restore ECK Clock Synthesizer
Fixed bug with panel autodetection using
ViaPanelGetNativeModeFromScratchPad function
Fixed problem with backlite (Ticket #308)
TV-out VT1625 chip support
Cursor support speedup
Removed two old variables:
        pBIOSInfo->panelX
        pBIOSInfo->panelY
and replaced it by:
        pBIOSInfo->Panel->NativeMode->Width
        pBIOSInfo->Panel->NativeMode->Height
Fix bug with DFP Power Off (ticket #317)
Fix bug with wrong panel size value
(http://www.openchrome.org/trac/ticket/301)
       This bug appeared only when UseLegacyModeSwitch was TRUE
Added support of the VIA OpenBook
Added support for screen rotate upside-down and remove "magic numbers"
Forgot to remove an old Dot Clock entry from the table.
XO 1.5 Panel patch contributed by Xavier Bachelot.
Fixup some of the Dotclock code and add working plls
for the XO 1.5
CX700 integrated TMDS (Patch courtesy Tim Chen from VIA).
Initialize CRTC before a mode switch. Fix bug #260.
a couple of small compatibility fixes for XAA and EXA.
viaLowLevel.c and via_accel.c are fixes by
        Bartosz Kosiorek.  The via_video.c is a syntax
        fix by Robert Bridge.  Thanks for the bug fixes.
Patch submitted by Robert Bridge, originally started by
        Xavier Bachelot, to remove old EXA support.  We are moving
        forward with the driver and are no longer supporting the
        old EXA initializations.
According to VIA's code the P4M900 should have the same
        acceleration initialization registers as the K8M890.  This
        patch fixes this and gives about a 10x increase in the
        video benchmark numbers.
remove the check for VIA_3D_ENG_BUSY in the idle loop.
        This causes xorg to chew a bit more cpu with XAA enabled,
        and it causes the entire X server to dump if EXA is enabled.
        I should investigate further, but for now I will just remove
        it.
Oops forgot to change registers for the vx800 chipset
        when waiting for Idle in the engines.  I also added
        back in waiting for the 3d engine to be idle.  I am
        not sure if this was removed for a reason.
Temporary hack to fix a bug with newer Xorg and DRI
        that crashes if CRTC is not setup.  I am adding this
        because I am working on this part of the code anyways
        so it won't get lost in bit rot.
Make sure that the monitor settings will handle our
        internal Modes set for TV out and LCD Panels.
A couple more tweaks to fix mono hardware cursor on older
        chipsets.
Missed a couple of changes for the chipset specific
        cursors.  Moved chipset detection to HWInit.  Removed
        some extraneous debugging.
Initial XVideo support for VX800.
Okay I tried to cheat.  We need to have some chipset
        specific intelligence.  I have added this back into
        the initial test to check for HWCursor support.
This is a take at reworking HWCursor.  It works off the
        ttm_branch and the work done in the randr_branch.  It only needs
        marginal testing as HWCursor was already very broken.
Moved pVia->FrameBufferBase setting to within
        VIAMapFB where it was before being called without
        being set.
Patch submitted by Robert Bridge to clean up compiler
        warnings.  Should close trac ticket #243.  Thanks
        RobbieAB.
Finally tracked down the XAA libpciaccess bug.  Also
        Realized I had not enabled write-combining on the main
        framebuffer.  This should give a small speed boost.
Added support for all Modes in ViaPanelNativeModes to
        ViaPanelModes.  Modes used are from Via's released driver
        in ViaSupportModes.
Found needed register writes that are needed so VX800 doesn't
        crash when CRT is not enabled.  I also removed NEEDS FIXING
        comments from them as they are obviously needed.
A few more acceleration tweaks for the VX800.
        This should fix all the XAA rendering issues.
        This should also allow 800x480 Panels to work without
        custom modelines.
Initial support for the VX800 chipset.  This is based off the
        Basic chipset support work of Xavier Bachelot and the inital
        Acceleration work done by Harald Welte.  I verified the changes
        based off the most recent VIA codebaase and fixed a couple of
        rendering issues.

        Still needs more work on EXA ( font rendering glitches ) and
        XVideo.


(sborrill)
diff -r1.2 -r1.3 pkgsrc/x11/xf86-video-openchrome/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/x11/xf86-video-openchrome/distinfo
diff -r1.1.1.1 -r0 pkgsrc/x11/xf86-video-openchrome/patches/patch-via_id.c

cvs diff -r1.2 -r1.3 pkgsrc/x11/xf86-video-openchrome/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/xf86-video-openchrome/Makefile 2009/06/07 11:24:37 1.2
+++ pkgsrc/x11/xf86-video-openchrome/Makefile 2009/10/15 08:16:03 1.3
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.2 2009/06/07 11:24:37 wiz Exp $ 1# $NetBSD: Makefile,v 1.3 2009/10/15 08:16:03 sborrill Exp $
2# 2#
3 3
4DISTNAME= xf86-video-openchrome-0.2.903 4DISTNAME= xf86-video-openchrome-0.2.904
5PKGREVISION= 1 
6CATEGORIES= x11 5CATEGORIES= x11
7MASTER_SITES= http://www.openchrome.org/releases/ 6MASTER_SITES= http://www.openchrome.org/releases/
8EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.openchrome.org/ 10HOMEPAGE= http://www.openchrome.org/
12COMMENT= Modular Xorg OpenChrome driver for VIA UniChrome video chipsets 11COMMENT= Modular Xorg OpenChrome driver for VIA UniChrome video chipsets
13 12
14PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
15 14
16USE_LIBTOOL= yes 15USE_LIBTOOL= yes
17GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
18USE_TOOLS+= pkg-config 17USE_TOOLS+= pkg-config

cvs diff -r1.1.1.1 -r1.2 pkgsrc/x11/xf86-video-openchrome/distinfo (expand / switch to unified diff)

--- pkgsrc/x11/xf86-video-openchrome/distinfo 2009/04/24 16:52:45 1.1.1.1
+++ pkgsrc/x11/xf86-video-openchrome/distinfo 2009/10/15 08:16:03 1.2
@@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
1$NetBSD: distinfo,v 1.1.1.1 2009/04/24 16:52:45 sborrill Exp $ 1$NetBSD: distinfo,v 1.2 2009/10/15 08:16:03 sborrill Exp $
2 2
3SHA1 (xf86-video-openchrome-0.2.903.tar.bz2) = 7889ed015a0ec2447dfe729ed10fb9dd2fd9024d 3SHA1 (xf86-video-openchrome-0.2.904.tar.bz2) = 23225057d5b75d6aac3e7a710cbc067b2eb29228
4RMD160 (xf86-video-openchrome-0.2.903.tar.bz2) = 03e3b5036e1296d2d0a2d45153539797caf73896 4RMD160 (xf86-video-openchrome-0.2.904.tar.bz2) = 8d000e210cb3c0443755f5567ed315e81eababf3
5Size (xf86-video-openchrome-0.2.903.tar.bz2) = 420104 bytes 5Size (xf86-video-openchrome-0.2.904.tar.bz2) = 460051 bytes
6SHA1 (patch-via_id.c) = 872417f4aa504e4ca5fe57f0b5665c4d97befa36 

File Deleted: pkgsrc/x11/xf86-video-openchrome/patches/Attic/patch-via_id.c