2011-05-10  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Workaround EXA crash with new libcairo2 (#298)

	* src/via_accel.c: (viaExaPrepareComposite):

2011-05-08  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fix cursor garbage after suspend/resume for Xserver 1.10 (#405)

	* src/via_video.c: (viaRestoreVideo):

2011-05-04  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fix XAA displaying issues

	* src/via_accel.c: (viaInitXAA):

2011-01-23  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Enable hardware cursor for VX900

	* src/via_cursor.c: (viaHWCursorInit):
	* src/via_mode.c: (ViaModeSet):

2010-12-16  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Merge vx900_branch - initial VX900 support

	* src/via_accel.c: (viaFlushPCI), (viaDisableVQ),
	(viaInitialize2DEngine), (viaAccelSync), (viaPitchHelper),
	(viaInitXAA):
	* src/via_bandwidth.c: (ViaSetPrimaryFIFO), (ViaSetSecondaryFIFO):
	* src/via_bios.h:
	* src/via_crtc.c: (ViaFirstCRTCSetMode), (ViaSecondCRTCSetMode):
	* src/via_cursor.c: (viaHWCursorInit), (viaCursorStore),
	(viaCursorRestore), (viaShowCursor), (viaHideCursor),
	(viaSetCursorPosition), (viaLoadCursorImage), (viaSetCursorColors):
	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
	(VIALeaveVT), (VIASave), (VIARestore), (ViaMMIOEnable),
	(ViaMMIODisable), (VIAMapFB), (VIAWriteMode), (VIACloseScreen):
	* src/via_driver.h:
	* src/via_id.c:
	* src/via_id.h:
	* src/via_mode.c: (ViaDFPDetect), (ViaOutputsDetect),
	(ViaOutputsSelect), (ViaGetMemoryBandwidth), (ViaSetDotclock),
	(ViaModeSet):
	* src/via_mode.h:
	* src/via_panel.c: (ViaPanelScaleDisable), (ViaPanelPreInit),
	(ViaPanelGetSizeFromDDC):
	* src/via_video.c: (DecideOverlaySupport):
	* src/via_xvmc.c: (ViaInitXVMC):

2010-12-15  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Enable the new mode switch and panel support on K8M800 and VM800 chipsets

	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit):
	* src/via_mode.c: (ViaModeSet):

2010-11-10  Bartosz Kosiorek  <gang65@poczta.onet.pl>

    Replace the deprecated functions 
    xalloc/xrealloc/xfree/xcalloc with 
    malloc/realloc/free/calloc.
    Refer to "/xserver/include/os.h"

	* src/via_accel.c: (viaSetupCBuffer), (viaTearDownCBuffer),
	(viaInitExa), (viaExitAccel), (viaFinishInitAccel):
	* src/via_dga.c: (VIASetupDGAMode):
	* src/via_dri.c: (VIAInitVisualConfigs), (VIADRIScreenInit),
	(VIADRICloseScreen):
	* src/via_driver.c: (VIAFreeRec), (VIAProbe), (VIAPreInit),
	(VIACloseScreen):
	* src/via_memcpy.c: (viaVidCopyInit):
	* src/via_swov.c: (Upd_Video):
	* src/via_vbe.c: (ViaVbeSetMode):
	* src/via_video.c: (viaExitVideo), (viaStopVideo),
	(viaDmaBlitImage):
	* src/via_xvmc.c: (cleanupViaXvMC), (ViaCleanupXVMC),
	(ViaXvMCCreateContext), (ViaXvMCCreateSurface),
	(ViaXvMCCreateSubpicture), (ViaXvMCDestroyContext),
	(ViaXvMCDestroySurface), (ViaXvMCDestroySubpicture),
	(viaXvMCInitXv):

2010-10-24  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Siragon ML-6200 laptop support

	* src/via_id.c:

2010-06-24  Jon Nettleton  <jon.nettleton@gmail.com>

	PM800 also uses the CME Engine.  Setup the hqv_cme_regs
	for it.

	* src/via_swov.c: (VIAVidHWDiffInit):

2010-06-09  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fix freeze on 64bit system for K8M800 chipset

	* src/via_dri.c: (VIADRIAgpInit):

2010-05-04  Jon Nettleton <jon.nettleton@gmail.com>

	Re-enable the Virtual Queue for the VX800/VX855 chipsets.

	* src/via_accel.c: (viaDisableVQ), (viaInitialize2DEngine):

2010-05-04  Jon Nettleton  <jon.nettleton@gmail.com>

	Disable certain hardware clipping options for the VX855.
	These cause the 2d engine to become unstable when in
	16-bit mode.

	* src/via_accel.c: (viaInitXAA):

2010-05-04  Jon Nettleton <jon.nettleton@gmail.com>

	Add an undocumented option which allows certain I2C buses
	to be probed at startup.  This allows workarounds for custom
	chipset makers that have used the VX855 I2C buses for other
	purposes.

	* src/via_bios.h:
	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit):
	* src/via_driver.h:
	* src/via_i2c.c:

2010-05-04  Jon Nettleton  <jon.nettleton@gmail.com>

	Improve 2d performance on chipsets that don't have
	AGP/PCIe support yet.

	* src/via_accel.c: (viaSetupForScreenToScreenCopy),
	(viaSetupForSolidFill), (viaSetupForMono8x8PatternFill),
	(viaSetupForColor8x8PatternFill),
	(viaSetupForCPUToScreenColorExpandFill),
	(viaSubsequentScanlineCPUToScreenColorExpandFill),
	(viaSetupForImageWrite), (viaSubsequentImageWriteRect),
	(viaSetupForSolidLine), (viaSetupForDashedLine), (viaInitXAA):

2010-05-04  Jon Nettleton <jon.nettleton@gmail.com>

	Put timeouts on our while statements.  These codepaths
	should be interrupted by a hardware state change, but
	if something goes wrong they loop forevere.  Let's try
	and behave a little by putting a timeout on these loops.

	* src/via_swov.c: (viaWaitHQVFlip), (viaWaitHQVFlipClear),
	(viaWaitHQVDone):
	* src/via_video.c: (Flip):

2010-05-04  Jon Nettleton <jon.nettleton@gmail.com>

	Add XVideo support for the VX855 Chipset.
	To support this chipset I have added HWDiff->HQVCmeRegs
	that allows handling differing register values, and
	HWDiff->dwNewScaleCtl which allows selection of a
	new Video scaling engine needed for the VX800/VX855
	chipsets.

	* src/via.h:
	* src/via_bandwidth.c: (ViaSetSecondaryFIFO):
	* src/via_driver.h:
	* src/via_swov.c: (SaveVideoRegister), (VIAVidHWDiffInit),
	(viaOverlayHQVCalcZoomWidth), (viaOverlayHQVCalcZoomHeight),
	(ViaSwovSurfaceCreate), (SetHQVFetch), (Upd_Video):
	* src/via_swov.h:

2010-04-21  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Replace RegionsEqual with REGION_EQUAL and use 
        the xf86XVFillKeyHelperDrawable instead of xf86XVFillKeyHelper

	* src/via_video.c: (viaReputImage), (viaPutImage):

2010-03-07  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fix segfaults with EXA and XV (Ticket #359)
        Tested on K8M890 and VN800

	* src/via_video.c: (viaReputImage), (viaPutImage):

2010-02-10  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fix bug with suspend and VT switch on VX800 and 64bit systems

	* src/via_driver.h:
	* src/via_video.c: (viaResetVideo), (viaSaveVideo),
	(viaRestoreVideo), (viaExitVideo):
	* src/via_video.h:

2010-01-24  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fix starting address restore and save (initial 64-bit support)

	* src/via_crtc.c: (ViaFirstCRTCSetMode),
	(ViaFirstCRTCSetStartingAddress):
	* src/via_dri.c: (VIADRIAgpInit):
	* src/via_driver.c: (VIASave), (VIARestore):
	* src/via_driver.h:

2009-12-04  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Enable new mode switch for VM800 chipsets

	* src/via_driver.c: (VIASetupDefaultOptions):

2009-11-21  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Add option to enable unaccelerated RandR rotation ("SWRandR").
        The accelerated option "HWRandR" is currently not implemented.

	* src/openchrome.man:
	* src/via_driver.c: (VIAPreInit):

2009-11-20  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Enabled new mode switch for PM800 chipset, 
        to resolve many bugs with resolution detecting and changing
        (eg. switching to console)

	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit):

2009-11-07  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Add more comments to ViaSetSecondaryFIFO, add panel scale support for 
 	CLE266 and KM400, fix bug with malloc.

	* src/via_bandwidth.c: (ViaSetSecondaryFIFO):
	* src/via_panel.c: (ViaPanelScale), (ViaPanelGetNativeDisplayMode):

2009-09-26  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Save/restore ECK Clock Synthesizer

	* src/via_driver.c: (VIASave), (VIARestore):
	* src/via_driver.h:

2009-09-21  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fixed bug with panel autodetection using
	ViaPanelGetNativeModeFromScratchPad function

	* src/via_panel.c:

2009-09-21  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fixed problem with backlite (Ticket #308)

	* src/via_lvds.c: (ViaLVDSSoftwarePowerFirstSequence),
	(ViaLVDSSoftwarePowerSecondSequence),
	(ViaLVDSHardwarePowerFirstSequence),
	(ViaLVDSHardwarePowerSecondSequence), (ViaLVDSPower):

2009-09-15  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	TV-out VT1625 chip support

	* src/via_bios.h:
	* src/via_crtc.c: (ViaFirstCRTCSetMode):
	* src/via_display.c: (ViaDisplayEnableDVO), (ViaDisplayDisableDVO),
	(ViaDisplaySetStreamOnDVO):
	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit):
	* src/via_mode.c: (ViaTVSetMode), (ViaOutputsSelect), (ViaModeSet):
	* src/via_vt162x.c: (ViaSetTVClockSource), (VT1622ModeI2C),
	(VT1622ModeCrtc):
	* src/via_vt162x.h:

2009-09-15  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Cursor support speedup

	* src/via_cursor.c: (viaHWCursorInit), (viaCursorStore),
	(viaCursorRestore), (viaShowCursor), (viaHideCursor),
	(viaSetCursorPosition), (viaLoadCursorImage), (viaLoadCursorARGB):

2009-09-14  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Removed two old variables:
	pBIOSInfo->panelX
	pBIOSInfo->panelY
	
	and replaced it by:
	pBIOSInfo->Panel->NativeMode->Width
	pBIOSInfo->Panel->NativeMode->Height

	* src/via_bios.h:
	* src/via_driver.c: (VIASetupDefaultOptions):
	* src/via_mode.c: (ViaPanelGetIndex), (VIASetLCDMode),
	(ViaModePrimaryLegacy), (ViaModeSecondaryLegacy):
	* src/via_swov.c: (SetVideoWindow):
	* src/via_video.c: (DecideOverlaySupport):

2009-09-10  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fix bug with DFP Power Off (ticket #317)

	* src/via_mode.c: (ViaDFPPower):

2009-08-20  Bartosz Kosiorek  <gang65@poczta.onet.pl>

	Fix bug with wrong panel size value (http://www.openchrome.org/trac/ticket/301)
        This bug appeared only when UseLegacyModeSwitch was TRUE

	* src/via_driver.c: (VIASetupDefaultOptions):
	* src/via_video.c: (DecideOverlaySupport):

2009-08-17  Bartosz Kosiorek <gang65@poczta.onet.pl>

	Added support of the VIA OpenBook

	* src/via_id.c:

2009-08-08  Bartosz Kosiorek <gang65@poczta.onet.pl>

	Added support for screen rotate upside-down and remove "magic numbers"

	* src/via_driver.c:
	* src/via_driver.h:
	* src/via_shadow.c:

2009-07-28  Jon Nettleton <jon.nettleton@gmail.com>

	Forgot to remove an old Dot Clock entry from the table.

	* src/via_mode.h:

2009-07-28  Jon Nettleton  <jon.nettleton@gmail.com>

	XO 1.5 Panel patch contributed by Xavier Bachelot.
	Fixup some of the Dotclock code and add working plls
	for the XO 1.5

	* src/via_bios.h:
	* src/via_mode.c: (ViaSetDotclock), (ViaSetPrimaryDotclock),
	(ViaSetSecondaryDotclock):
	* src/via_mode.h:
	* src/via_panel.c:

2009-03-21  Xavier Bachelot  <xavier@bachelot.org>

	* src/via_bios.h:
	* src/via_display.c: (ViaDisplaySetStreamOnDFP):
	* src/via_driver.c: (VIAPreInit), (VIASave), (VIARestore),
	(VIADPMS):
	* src/via_driver.h:
	* src/via_mode.c: (ViaDFPDetect), (ViaOutputsDetect),
	(ViaOutputsSelect), (ViaDFPPower), (ViaModeSet):

	CX700 integrated TMDS (Patch courtesy Tim Chen from VIA).

2009-02-19  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* src/via_driver.c: (VIAScreenInit), (VIAWriteMode):

	Initialize CRTC before a mode switch. Fix bug #260.

2009-01-26  Jon Nettleton <jon.nettleton@gmail.com>

	* src/via_accel.c: (viaInitXAA), (viaExaCheckComposite):

	a couple of small compatibility fixes for XAA and EXA.

2009-01-17  Jon Nettleton  <jon.nettleton@gmail.com>

	* libxvmc/viaLowLevel.c: (viaDMAInitTimeStamp):
	* src/via_accel.c: (viaDisableVQ):
	* src/via_video.c: (viaVideoFillPixmap):

	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.

2009-01-17  Jon Nettleton  <jon.nettleton@gmail.com>

	* configure.ac:
	* src/via_accel.c: (viaInitAccel), (viaExitAccel),
	(viaFinishInitAccel):
	* src/via_driver.c: (VIASetup), (VIASetupDefaultOptions),
	(VIAPreInit), (VIAWriteMode), (VIAInitialize3DEngine):
	* src/via_driver.h:
	* src/via_memory.c: (viaExaFBSave), (VIAFreeLinear),
	(viaOffScreenLinear), (VIAInitLinear):
	* src/via_priv.h:

	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.	

2009-01-14  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_accel.c: (viaDisableVQ), (viaInitialize2DEngine),
	(viaAccelSync):

	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.

2009-01-14  Jon Nettleton  <jon.nettletno@gmail.com>

	* src/via_accel.c: (viaFlushPCI):

	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.

2009-01-14  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_accel.c: (viaFlushPCI):

	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.

2009-01-07  Jon Nettleton <jon.nettleton@gmail.com>

	* src/via_bios.h:
	* src/via_crtc.c: (via_xf86crtc_resize), (ViaPreInitCRTCConfig):
	* src/via_driver.c: (VIAPreInit):

	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.

2009-01-06  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_mode.c: (ViaModesMonitorFixup), (ViaModesAttachHelper):

	Make sure that the monitor settings will handle our
	internal Modes set for TV out and LCD Panels.

2009-01-05  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_cursor.c: (viaHWCursorInit), (viaLoadCursorImage):

	A couple more tweaks to fix mono hardware cursor on older
	chipsets.

2009-01-05  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_cursor.c: (viaHWCursorInit), (viaUseHWCursorARGB),
	(viaUseHWCursor):
	* src/via_driver.c: (VIAScreenInit):

	Missed a couple of changes for the chipset specific
	cursors.  Moved chipset detection to HWInit.  Removed
	some extraneous debugging.

2009-01-04  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* src/via.h:
	* src/via_accel.c: (viaInitialize2DEngine):
	* src/via_crtc.c: (ViaFirstCRTCSetMode), (ViaSecondCRTCSetMode):
	* src/via_driver.c: (ViaMMIOEnable), (ViaMMIODisable),
	(VIAWriteMode):
	* src/via_swov.c: (SetFIFO_V3), (Upd_Video):
	* src/via_video.c: (DecideOverlaySupport):

	Initial XVideo support for VX800.

2009-01-04  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_cursor.c: (viaHWCursorInit), (viaCursorSetFB),
	(viaUseHWCursorARGB), (viaUseHWCursor), (viaLoadCursorImage),
	(viaSetCursorColors), (viaLoadCursorARGB):
	* src/via_driver.h:

	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.

2009-01-04  Jon Nettleton <jon.nettleton@gmail.com>

	* src/via_accel.c: (viaInitXAA), (viaInitAccel):
	* src/via_crtc.c: (ViaSecondCRTCSetStartingAddress):
	* src/via_cursor.c: (viaHWCursorInit), (viaCursorSetFB),
	(viaCursorStore), (viaCursorRestore), (viaShowCursor),
	(viaHideCursor), (viaSetCursorPosition), (viaUseHWCursorARGB),
	(viaUseHWCursor), (viaLoadCursorImage), (viaSetCursorColors),
	(viaLoadCursorARGB):
	* src/via_dga.c: (VIADGASetMode):
	* src/via_driver.c: (VIAFreeRec), (VIASetupDefaultOptions),
	(VIAPreInit), (VIAEnterVT), (VIALeaveVT), (VIAScreenInit),
	(VIACloseScreen):
	* src/via_driver.h:
	* src/via_regs.h:

	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.

2009-01-04  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_driver.c: (VIAMapMMIO), (VIAMapFB):

	Moved pVia->FrameBufferBase setting to within
	VIAMapFB where it was before being called without
	being set.

2009-01-04  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_driver.c: (VIAPreInit):

	Patch submitted by Robert Bridge to clean up compiler
        warnings.  Should close trac ticket #243.  Thanks
	RobbieAB.

2008-12-29  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_accel.c: (viaInitXAA):
	* src/via_driver.c: (VIAMapMMIO), (VIAMapFB):

	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.

2008-12-26  Jon Nettleton <jon.nettleton@gmail.com>

	* src/via_mode.h:

	Added support for all Modes in ViaPanelNativeModes to
	ViaPanelModes.  Modes used are from Via's released driver
	in ViaSupportModes.

2008-11-04  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_crtc.c: (ViaFirstCRTCSetMode), (ViaSecondCRTCSetMode):

	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.

2008-11-03  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_accel.c: (viaSubsequentMono8x8PatternFillRect),
	(viaSetupForSolidLine), (viaSubsequentSolidHorVertLine),
	(viaSetupForDashedLine), (viaAccelMarkSync):

	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.

2008-11-02  Jon Nettleton  <jon.nettleton@gmail.com>

	* src/via_accel.c: (viaFlushPCI), (viaDisableVQ),
	(viaInitialize2DEngine), (viaAccelSync), (viaPitchHelper),
	(viaAccelClippingHelper), (viaAccelSolidHelper),
	(viaAccelTransparentHelper), (viaAccelCopyHelper),
	(viaSetupForScreenToScreenCopy), (viaSubsequentScreenToScreenCopy),
	(viaSetupForSolidFill), (viaSubsequentSolidFillRect),
	(viaSetupForMono8x8PatternFill),
	(viaSubsequentMono8x8PatternFillRect),
	(viaSetupForColor8x8PatternFill),
	(viaSubsequentColor8x8PatternFillRect),
	(viaSetupForCPUToScreenColorExpandFill),
	(viaSubsequentScanlineCPUToScreenColorExpandFill),
	(viaSetupForImageWrite), (viaSubsequentImageWriteRect),
	(viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine),
	(viaSubsequentSolidHorVertLine), (viaSetupForDashedLine),
	(viaInitXAA), (viaAccelMarkSync), (viaExaPrepareSolid),
	(viaExaSolid), (viaExaPrepareCopy), (viaExaCopy):
	* src/via_bandwidth.c: (ViaSetPrimaryFIFO), (ViaSetSecondaryFIFO):
	* src/via_cursor.c: (viaCursorARGBInit), (viaCursorARGBShow),
	(viaCursorARGBHide), (viaCursorARGBSetPosition),
	(viaCursorRecInit):
	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
	(VIALeaveVT), (VIACloseScreen):
	* src/via_driver.h:
	* src/via_id.c:
	* src/via_id.h:
	* src/via_mode.c: (ViaOutputsSelect), (VIAGetPanelSize),
	(ViaPanelGetIndex):
	* src/via_mode.h:
	* src/via_panel.c: (ViaPanelPreInit):
	* src/via_regs.h:
	* src/via_swov.c: (VIAVidHWDiffInit), (viaCalculateVideoColor),
	(viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl),
	(SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16):
	* src/via_video.c: (viaInitVideo):

        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.

2008-05-26  Gabriel Mansi <gabriel.mansi@gmail.com>

	* src/Makefile.am:
	* src/via_accel.c: (viaInitAccel):
	* src/via_bios.h:
	* src/via_crtc.c: (ViaCRTCSetGraphicsRegisters),
	(ViaCRTCSetAttributeRegisters), (ViaCRTCInit),
	(ViaFirstCRTCSetMode), (ViaFirstCRTCSetStartingAddress),
	(ViaSecondCRTCSetStartingAddress),
	(ViaSecondCRTCHorizontalQWCount), (ViaSecondCRTCHorizontalOffset),
	(ViaSecondCRTCSetMode), (ViaFirstCRTCModeValid),
	(ViaSecondCRTCModeValid), (ViaShadowCRTCSetMode):
	* src/via_cursor.c: (viaCursorARGBInit), (viaCursorSetFB),
	(viaCursorHWInit), (viaCursorHWShow), (viaCursorHWHide),
	(viaCursorShow), (viaCursorHide), (viaCursorLoadImage),
	(viaCursorHWSetPosition), (viaCursorSetPosition),
	(viaCursorSetColors), (viaCursorStore), (viaCursorRestore),
	(viaCursorARGBShow), (viaCursorARGBHide),
	(viaCursorARGBSetPosition), (viaCursorARGBUse),
	(viaCursorARGBLoad), (viaCursorRecInit), (viaCursorRecDestroy),
	(viaCursorHWUse):
	* src/via_dga.c: (VIADGASetMode):
	* src/via_display.c: (ViaSecondDisplayChannelEnable),
	(ViaSecondDisplayChannelDisable), (ViaDisplayInit),
	(ViaDisplayEnableSimultaneous), (ViaDisplayDisableSimultaneous),
	(ViaDisplayEnableCRT), (ViaDisplayDisableCRT),
	(ViaDisplaySetStreamOnCRT):
	* src/via_driver.c: (VIAGetRec), (VIAFreeRec),
	(VIASetupDefaultOptions), (VIAPreInit), (VIAEnterVT), (VIALeaveVT),
	(ViaGammaDisable), (VIASave), (VIARestore), (ViaMMIOEnable),
	(ViaMMIODisable), (VIAMapMMIO), (VIAUnmapMem), (VIALoadPalette),
	(VIAScreenInit), (VIAWriteMode), (VIACloseScreen),
	(VIAAdjustFrame), (VIADPMS):
	* src/via_driver.h:
	* src/via_lvds.c: (ViaLVDSPowerFirstSequence),
	(ViaLVDSPowerSecondSequence), (ViaLVDSDFPPower),
	(ViaLVDSPowerChannel), (ViaLVDSPower):
	* src/via_mode.c: (ViaPrintMode), (ViaOutputsSelect),
	(VIAGetPanelSize), (ViaPanelGetIndex), (ViaModesAttach),
	(ViaValidMode), (VIASetLCDMode), (ViaModePrimaryLegacy),
	(ViaModeSecondaryLegacy), (ViaLCDPower), (ViaModeFirstCRTC),
	(ViaModeSecondCRTC), (ViaModeSet):
	* src/via_panel.c: (ViaPanelLookUpModeIndex),
	(ViaPanelGetNativeModeFromOption),
	(ViaPanelGetNativeModeFromScratchPad), (ViaPanelScaleDisable),
	(ViaPanelScale), (ViaPanelGetNativeDisplayMode), (ViaPanelPreInit),
	(ViaPanelCenterMode), (ViaPanelGetSizeFromEDID),
	(ViaPanelGetSizeFromDDCv1), (ViaPanelGetSizeFromDDCv2):
	* src/via_regs.h:
	* src/via_swov.c: (Upd_Video):
	* src/via_timing.c: (froundf), (timingGenerateMode),
	(viaTimingCvt), (viaTimingGtf):
	* src/via_timing.h:
	* src/via_vbe.c: (ViaVbeGetActiveDevices), (ViaVbeSetMode),
	(ViaVbeDoDPMS):
	* src/via_video.c: (DecideOverlaySupport), (viaSaveVideo),
	(viaRestoreVideo):

	Merge panel code from randr branch (rev. 427 to 553)
	Add native mode setting for P4M890, P4M900, K8M890 and CX700
	Add LVDS power functions for P4M900 and CX700
	Add ARGB hardware cursor support

2008-03-11  Xavier Bachelot  <xavier-at-bachelot-dot-org>

	* configure.ac:
	* src/via.h:
	* src/via_dri.c: (VIADRIIrqInit), (VIADRIScreenInit):
	* src/via_driver.c: (via_pci_device), (via_host_bridge),
	(viaPciDeviceVga), (if), (switch):
	* src/via_driver.h:
	* src/via_id.c: (ViaCheckCardId):

	Merge changes from pciaccess branch.

2008-02-19  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* src/via_driver.c: (VIAPreInit):

	Dealing with the NoAccel option before the Rotate option, since
	the latter overrides the first.

2008-01-28  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* src/Makefile.am:

	Recreating svnversion.h only when a source file has changed.

2008-01-18  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* src/via_dri.c: (VIAInitVisualConfigs):

	Condensing an unneeded code duplication.

2008-01-11  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* src/openchrome.man:
	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit):

	Removing the redundant HWCursor option.

2008-01-10  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* src/openchrome.man: Tweaking the text, clarifying the effect
	of an option, giving the default value.

2008-01-08  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* src/via_accel.c: (viaBitExpandHelper), (viaPixelARGB8888):

	Moving a little more computation into the helper function.

2007-10-29  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* src/via_driver.c: (VIAPreInit):

	Redoing the second change of June 10:  Printing VideoRAM again
	only when it's actually been probed; plus further tiny code
	cleanups: comments, line wraps, whitespace.

2007-10-29  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* src/via_driver.c: (VIAPreInit):

	Redoing the first change of June 10:  Putting the chipset and
	revision print statements together at the beginning; moving
	the reading of the VideoRAM option to after X has parsed the
	config file; plus a few small layout tweaks.

2007-10-05  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* src/via_swov.c: (Upd_Video):

	Enable colorkey on secondary.

2007-10-03  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* src/via_driver.c: (VIAPreInit):

	Fix memory detection for P4M900 and CX700.

2007-09-12  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* src/via_bios.h:
	* src/via_driver.c: (VIAWriteMode), (VIAAdjustFrame),
	(VIASwitchMode):
	* src/via_mode.c: (ViaModeSecondaryVGAFetchCount),
	(ViaModeSecondaryVGAOffset), (ViaModeSecondaryVGA):
	* src/via_swov.c: (Upd_Video):
	* src/via_vbe.c: (ViaVbeSetPanelMode), (ViaVbeSetMode):

	Fix offset when using vbe modes on secondary.

2007-09-11  Xavier Bachelot  <xavier-at-bachelot-dot-org>

	* libxvmc/viaLowLevel.c: (initXvMCLowLevel):
	* libxvmc/viaLowLevel.h:
	* libxvmc/viaLowLevelPro.c: (initXvMCLowLevel):
	* src/via.h:
	* src/via_accel.c: (viaInitExa):
	* src/via_bandwidth.c: (ViaSetPrimaryFIFO):
	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
	(VIASave), (VIARestore), (VIALoadPalette):
	* src/via_driver.h:
	* src/via_id.c:
	* src/via_mode.c: (ViaOutputsDetect):
	* src/via_priv.h:
	* src/via_swov.c: (Upd_Video):
	* src/via_vbe.c: (ViaVbeInitInt10), (ViaVbeGetRefreshRateIndex),
	(ViaVbeGetActiveDevices), (ViaVbeSetActiveDevices),
	(ViaVbeSetPanelExpansion), (ViaVbeSetRefresh), (ViaVbeSetMode),
	(ViaVbeSaveRestore), (ViaVbeModePreInit):
	* src/via_xvmc.c: (ViaInitXVMC), (ViaXvMCCreateContext):

	Sync with experimental_branch.

2007-09-07  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* unichrome/via_id.c:

	Added Gigabyte GA-VM900M ID, reported by Alexandre Penasso Teixeira.

2007-09-07  Gabiel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* libxvmc/viaLowLevel.c: (initXvMCLowLevel):
	* libxvmc/viaLowLevel.h:
	* libxvmc/viaLowLevelPro.c: (initXvMCLowLevel):
	* unichrome/via.h:
	* unichrome/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
	(VIASave), (VIARestore), (VIALoadPalette):
	* unichrome/via_driver.h:
	* unichrome/via_mode.c: (ViaOutputsDetect):
	* unichrome/via_swov.c: (Upd_Video):
	* unichrome/via_vbe.c: (ViaVbeInitInt10),
	(ViaVbeGetRefreshRateIndex), (ViaVbeGetActiveDevices),
	(ViaVbeSetActiveDevices), (ViaVbeSetPanelExpansion),
	(ViaVbeSetRefresh), (ViaVbeSetMode), (ViaVbeSaveRestore),
	(ViaVbeModePreInit):
	* unichrome/via_xvmc.c: (ViaInitXVMC), (ViaXvMCCreateContext):

	Merged vn896_branch from revision 361 to 391.

2007-09-07  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* unichrome/via_driver.c: (VIAPreInit):
	* unichrome/via_mode.c: (ViaOutputsDetect):
	* unichrome/via_vbe.c: (ViaVbeSetActiveDevices):

	Disabled TV detection for P4M900.

2007-09-07  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* unichrome/via_driver.h:
	* unichrome/via_vbe.c: (ViaVbeInitInt10),
	(ViaVbeGetRefreshRateIndex), (ViaVbeGetActiveDevices),
	(ViaVbeSetActiveDevices), (ViaVbeSetPanelExpansion),
	(ViaVbeSetRefresh), (ViaVbeSetMode), (ViaVbeModePreInit):

	VBE code cleanup.

2007-09-02  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* unichrome/via_driver.c: (VIASetupDefaultOptions), (VIASave),
	(VIARestore):
	* unichrome/via_vbe.c: (ViaVbeSetMode):

	Disabled XvDMA for P4M900.
	Modified VBE functions calling order.

2007-08-18  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* unichrome/via_driver.c: (VIASetupDefaultOptions):
	* unichrome/via_priv.h:
	* unichrome/via_swov.c: (Upd_Video):

	Xvideo code cleanup; added maximum resolution with
	interpolation for all chipsets.

2007-08-03  Xavier Bachelot  <xavier-at-bachelot-dot-org>

	* src/via_bios.h:
	* src/via_mode.h:
	* src/via_video.c: (DecideOverlaySupport):

	Add basic support for DDR667.

2007-07-31  Jon Nettleton  <jon-dot-nettleton-at-gmail-dot-com> 

	* src/via_xvmc.c: (ViaInitXVMC):

	Fixed the xvmc name we register.  Was still looking for
	the old via xvmc library names.

2007-07-04  Xavier Bachelot  <xavier-at-bachelot-dot-org>

	* configure.ac:
	* src/via_driver.c: (VIAPreInit):
	* src/via_driver.h:

	Bump driver version to 0.2.900.
	Do not log detected chipset 2 times.
	Remove duplicate changelog entry.

2007-06-20  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO)

	FIFO settings for CX700.

2007-06-14  Jon Nettleton  <jon-dot-nettleton-at-gmail-dot-com>

	* configure.ac:
	* libxvmc/viaLowLevel.h:
	* src/via.h:
	* src/via_accel.c: (viaFlushPCI), (viaInitPCIe), (viaEnableAgpVQ),
	(viaEnablePCIeVQ), (viaDisableVQ), (viaInitialize2DEngine),
	(viaAccelSync), (viaInitXAA), (viaInitExa), (viaInitAccel):
	* src/via_bandwidth.c: (ViaSetPrimaryFIFO), (ViaSetSecondaryFIFO):
	* src/via_dri.c: (VIADRIRingBufferInit):
	* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
	(VIALeaveVT), (VIASave), (VIAScreenInit), (VIACloseScreen):
	* src/via_driver.h:
	* src/via_id.c: (ViaDoubleCheckCLE266Revision), (ViaCheckCardId):
	* src/via_id.h:
	* src/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary):
	* src/via_mode.h:
	* src/via_regs.h:
	* src/via_swov.c: (viaWaitHQVFlip), (viaWaitHQVDone),
	(VIAVidHWDiffInit), (viaCalculateVideoColor), (viaSetColorSpace),
	(ViaInitVideoStatusFlag), (ViaSetVidCtl), (AddHQVSurface),
	(SetFIFO_V3), (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16),
	(SetColorKey), (SetChromaKey), (SetHQVFetch), (Upd_Video),
	(VIAVidUpdateOverlay), (ViaOverlayHide):
	* src/via_swov.h:
	* src/via_vbe.c: (ViaVbeSetMode):
	* src/via_video.c: (DecideOverlaySupport), (viaInitVideo), (Flip),
	(viaDmaBlitImage), (viaPutImage):
	* src/via_video.h:
	* src/via_xvmc.c: (ViaInitXVMC):

	Pulled in Changes from the experimental_branch including
		- Partial support for VIA_K8M890, VIA_P4M900, VIA_CX700,
				      VIA_P4M890
		- Added the VideoEngine option to help clean up code
		- Ability to enable debugging with the configure script 

2007-06-12  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>
	
	* unichrome/via.h:
	* unichrome/via_dri.c: (VIADRIRingBufferInit):
	* unichrome/via_driver.c:
	* unichrome/via_id.c:
	* unichrome/via_id.h:
	* unichrome/via_swov.c: (viaCalculateVideoColor),
	(viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl),
	(SetFIFO_V3), (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16),
	(Upd_Video):
	* unichrome/via_vbe.c: (ViaVbeSetMode):
	* unichrome/via_video.c: (DecideOverlaySupport):

	Renamed VT3157 to VT3324.
	Added check for null data block in vbe.
	Remove version check for older version of Xorg.

2007-06-12  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* unichrome/via.h:

	Added missing includes.

2007-06-10  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* unichrome/via_driver.c: (VIAPreInit):

	Print VideoRAM again only when it's actually been probed.
	Further tiny code cleanups: comments, line wraps, whitespace.

2007-06-10  Benno Schulenberg  <bensberg-at-justemail-dot-net>

	* unichrome/via.man:
	* unichrome/via_driver.c: (VIAPreInit):

	Move reading of the VideoRAM option to after X has parsed the
	config file.  Also put the chipset and revision print statements
	together and at the beginning.  Plus several small layout tweaks.

2007-06-07  Jon Nettleton  <jon-dot-nettleton-at-gmail-dot-com>

	* Makefile.am:
	* configure.ac:
	* libxvmc/Makefile.am:
	* man/Makefile.am:
	* src/Makefile.am:
	* src/via_driver.c:
	* src/via_driver.h:

	Renaming driver to openchrome_drv.so and XvMC library to
	libchromeXvMC.so.

2007-06-06  Jon Nettleton  <jon-dot-nettleton-at-gmail-dot-com>

	* unichrome/via_driver.c:

	Removed the chipset option definitions that aren't in
	trunk yet.

2007-06-06  Jon Nettleton  <jon-dot-nettleton-at-gmail-dot-com>

	* unichrome/via_driver.c:
	* unichrome/via_driver.h:
	* unichrome/via.man:

	Added per-chipset option defaults.  This should allow the
	driver to work out of the box with almost all hardware and
	xorg.conf configurations.

2007-05-23  Jon Nettleton  <jon-dot-nettleton-at-gmail-dot-com> 

	* unichrome/via.h:

	Remove version check for older version of Xorg.  This is 
	really not necessary anymore, and was causing some breakage
	with xorg-server's new version numbering.

2007-05-18  Xavier Bachelot  <xavier-at-bachelot-dot-org> 

	* libxvmc/Makefile.am:
	* libxvmc/viaXvMC.c: (XvMCCreateContext):

	Backport 2 fixes from Xorg tree.
	http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-via.git;a=commit;h=362e03a38682bfcf366242c53444fa36b6052794
	http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-via.git;a=commit;h=3cd7dac2b5a1c4bfb66bd1b67904d72dc08cbd0e

2007-05-15  Gabriel Mansi  <gabriel-dot-mansi-at-gmail-dot-com>

	* unichrome/via.h:
	* unichrome/via_driver.c: (VIASetupDefaultOptions):
	* unichrome/via_driver.h:
	* unichrome/via_swov.c: (viaWaitHQVFlip), (SetColorKey),
	(SetChromaKey), (Upd_Video):
	* unichrome/via_video.c: (Flip), (viaDmaBlitImage), (viaPutImage):
[--snip--]
