Syncing the via driver with Unichrome.
Luc Verhaegen
libv at skynet.be
Sun Oct 17 12:40:48 PDT 2004
Hi,
The via driver is due to be synced with the driver at unichrome.sf.net
(release 26, to HEAD). Outlined here is what will be committed and how.
Please feel free to review/comment on/complain about any of this.
Our intention is to keep the via driver in sync with development at
unichrome.sf.net by committing the unichrome releases after at least
a 2 week graceperiod.
The diff is sitting in the sf filesection:
http://prdownloads.sourceforge.net/unichrome/X.org_CVS_to_unichrome-xorg-r26_fixes.diff.gz?download
This is a branch off our release branch, which was adjusted to X.org
completely. A few fixes found after the release of unichrome r26 have
also been included.
Only files in xc/programs/Xserver/hw/xfree86/drivers/via/ and
xc/Changelog are touched. I'm not aware of any other files that need
to be altered.
commit message:
Sync via driver with unichrome (r26).
New features include: Asm videoblit; XvMC VLD support for
CLE266; Xv support for KM400; Panel activation by pci subsystem id.
Some bugs were fixed, S3utility xv backend and support for saa71xx,
ch7xxx and FS45x tv/lvds encoders were removed, many things were
severely cleaned up. MMIO is exported read-only to DRI for security.
Complete changelog (with author information) is available at
unichrome.sf.net.
The diff to xc/Changelog (created with prepare-Changelog) is attached.
This will be adjusted when actually committing.
Luc Verhaegen.
-------------- next part --------------
Index: ChangeLog
===================================================================
RCS file: /cvs/xorg/xc/ChangeLog,v
retrieving revision 1.469
diff -u -r1.469 ChangeLog
--- ChangeLog 17 Oct 2004 17:57:34 -0000 1.469
+++ ChangeLog 17 Oct 2004 18:47:14 -0000
@@ -1,3 +1,182 @@
+2004-10-17 Luc Verhaegen <libv at skynet.be>
+
+ reviewed by: <delete if not using a buddy>
+
+ * programs/Xserver/hw/xfree86/drivers/via/Imakefile:
+ * programs/Xserver/hw/xfree86/drivers/via/ddmpeg.h:
+ * programs/Xserver/hw/xfree86/drivers/via/ginfo.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via.man:
+ * programs/Xserver/hw/xfree86/drivers/via/via_accel.c:
+ (VIAInitialize2DEngine), (dispatchCBuffer), (dispatchCBufferAGP),
+ (VIAInitAccel), (VIAAccelSync), (VIASetupForScreenToScreenCopy),
+ (VIASubsequentScreenToScreenCopy), (VIASetupForSolidFill),
+ (VIASubsequentSolidFillRect), (VIASetupForMono8x8PatternFill),
+ (VIASubsequentMono8x8PatternFillRect),
+ (VIASubsequentColor8x8PatternFillRect),
+ (VIASetupForCPUToScreenColorExpandFill),
+ (VIASubsequentScanlineCPUToScreenColorExpandFill),
+ (VIASetupForScreenToScreenColorExpand),
+ (VIASubsequentScreenToScreenColorExpand), (VIASetupForImageWrite),
+ (VIASubsequentImageWriteRect), (VIASetupForSolidLine),
+ (VIASubsequentSolidTwoPointLine), (VIASubsequentSolidHorVertLine),
+ (VIASetupForDashedLine), (VIASubsequentDashedTwoPointLine),
+ (VIASetClippingRectangle), (ViaVQDisable):
+ * programs/Xserver/hw/xfree86/drivers/via/via_bandwidth.c:
+ (ViaSetCLE266APrimaryFIFO), (ViaSetPrimaryExpireNumber),
+ (ViaSetPrimaryFetchCount), (ViaSetPrimaryFIFO),
+ (ViaSetSecondaryFetchCount), (ViaSetSecondaryFIFO),
+ (ViaDisablePrimaryFIFO):
+ * programs/Xserver/hw/xfree86/drivers/via/via_bandwidth.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_bios.c:
+ (VIACreateHeaderFile), (VIACreateTV2), (VIAGetTV2Mask),
+ (VIAGetTV2NTSC), (VIAGetTV2PAL), (VIACreateTV3), (VIAGetTV3Mask),
+ (VIAGetTV3NTSC), (VIAGetTV3PAL), (VIACreateVT1622A),
+ (ViaGetRomTVTableVersion), (ViaGetRomOutputModeTables),
+ (ViaGetRomModeTables), (ViaGetRomImage),
+ (ViaGetIncludedOutputModeTables), (ViaGetIncludedModeTables),
+ (ViaModeTablesInit):
+ * programs/Xserver/hw/xfree86/drivers/via/via_bios.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_capture.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_ch7019.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_common.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_compose.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_cursor.c:
+ (VIALoadCursorImage), (ViaCursorStore), (ViaCursorRestore):
+ * programs/Xserver/hw/xfree86/drivers/via/via_dga.c:
+ * programs/Xserver/hw/xfree86/drivers/via/via_dri.c:
+ (VIADRIIrqInit), (VIADRIIrqExit), (VIADRIRingBufferCleanup),
+ (VIADRIRingBufferInit), (VIADRIAgpInit), (VIADRIScreenInit),
+ (VIADRICloseScreen), (VIADRIFinishScreenInit), (VIADRIMapInit),
+ (viaDRIEnterVT), (viaDRILeaveVT):
+ * programs/Xserver/hw/xfree86/drivers/via/via_dri.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_driver.c: (VIASetup),
+ (ViaWaitIdle), (VIAGetRec), (VIAFreeRec), (VIAIdentify),
+ (VIAProbe), (LookupChipSet), (VIAProbeDDC), (VIAPreInit),
+ (VIAEnterVT), (VIALeaveVT), (VIASave), (VIARestoreRegs),
+ (VIAEnableMMIO), (VIADisableMMIO), (VIAMapMMIO), (VIAMapFB),
+ (VIAScreenInit), (VIAInternalScreenInit), (VIAWriteMode),
+ (VIACloseScreen), (VIAAdjustFrame), (VIASwitchMode), (VIADPMS),
+ (VIADeviceSelection), (VIADeviceDispatch):
+ * programs/Xserver/hw/xfree86/drivers/via/via_driver.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_fs454.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_gpioi2c.c:
+ * programs/Xserver/hw/xfree86/drivers/via/via_gpioi2c.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_hwdiff.c:
+ * programs/Xserver/hw/xfree86/drivers/via/via_i2c.c:
+ (VIAI2C1PutBits), (VIAI2C1GetBits), (ViaI2CBus1Init),
+ (VIAI2C2PutBits), (VIAI2C2GetBits), (ViaI2CBus2Init),
+ (ViaI2CBus3Init), (ViaGpioI2CInit), (VIAGPIOI2C_Initial),
+ (ViaGpioI2c_Release), (ViaGpioI2c_SCLWrite), (ViaGpioI2c_SCLRead),
+ (ViaGpioI2c_SDAWrite), (ViaGpioI2c_SDARead), (HWGPIOI2C_SetSCL),
+ (HWGPIOI2C_SetSDA), (HWGPIOI2C_GetSDA), (GPIOI2C_START),
+ (GPIOI2C_STOP), (GPIOI2C_ACKNOWLEDGE), (GPIOI2C_SENDACKNOWLEDGE),
+ (GPIOI2C_SENDNACKNOWLEDGE), (GPIOI2C_WriteBit),
+ (GPIOI2C_WriteData), (GPIOI2C_ReadBit), (GPIOI2C_ReadData),
+ (VIAGPIOI2C_Write), (VIAGPIOI2C_Read), (VIAGPIOI2C_ReadByte),
+ (ViaGpioI2c_Probe), (VIAI2CInit):
+ * programs/Xserver/hw/xfree86/drivers/via/via_i2c.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_id.c:
+ (ViaDoubleCheckCLE266Revision), (ViaCheckCardId):
+ * programs/Xserver/hw/xfree86/drivers/via/via_id.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_lib.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_memcpy.c:
+ (libc_YUV42X), (__memcpy), (kernel_YUV42X), (kernel_memcpy),
+ (fastrdtsc), (time_function), (flagValid), (cpuValid),
+ (viaVidCopyInit):
+ * programs/Xserver/hw/xfree86/drivers/via/via_memcpy.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_memory.c:
+ (VIAFreeLinear), (offScreenLinear), (VIAAllocLinear),
+ (VIAInitLinear):
+ * programs/Xserver/hw/xfree86/drivers/via/via_mode.c:
+ (VIACheckTVExist), (VIAGetActiveDisplay), (VIASensorTV2),
+ (VIASensorTV3), (VIASensorDVI), (VIAPostDVI), (VIAGetDeviceDetect),
+ (ViaGetPanelSizeFromEDID), (VIAGetPanelSizeFromDDCv1),
+ (VIAGetPanelSizeFromDDCv2), (VIAGetPanelSize),
+ (ViaGetResolutionIndex), (ViaGetModeIndex), (ViaPanelGetIndex),
+ (ViaGetNearestRefresh), (ViaRefreshAllowed), (ViaTVGetIndex),
+ (VIAFindModeUseBIOSTable), (VIASetUseExternalClock),
+ (VIASetPrimaryClock), (VIASetSecondaryClock), (VIASetLCDMode),
+ (VIAPreSetTV2Mode), (VIAPreSetVT1623Mode), (VIAPostSetTV2Mode),
+ (VIAPreSetTV3Mode), (VIAPostSetTV3Mode), (ViaTVModePreset),
+ (ViaTVClose), (ViaTVModePostSet), (ViaSetPrimaryOffset),
+ (ViaSetBlankingEndOverflow), (ViaPrimaryRefreshPatch),
+ (VIASetModeUseBIOSTable), (ViaSetSecondaryOffset),
+ (VIASetModeForMHS), (ViaLCDPowerSequence), (VIAEnableLCD),
+ (VIADisableLCD), (VIASavePalette), (VIARestorePalette),
+ (VIALoadPalette):
+ * programs/Xserver/hw/xfree86/drivers/via/via_mode.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_overlay.c:
+ (viaOverlayGetV1Format), (viaOverlayGetV3Format),
+ (viaOverlayGetSrcStartAddress), (viaOverlayHQVCalcZoomHeight),
+ (viaOverlayGetFetch), (viaOverlayGetDisplayCount), (rangeEqualize),
+ (vPackFloat), (viaCalculateVideoColor):
+ * programs/Xserver/hw/xfree86/drivers/via/via_overlay.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_priv.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_refresh.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_regrec.c:
+ * programs/Xserver/hw/xfree86/drivers/via/via_regrec.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_regs.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_saa7108.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_shadow.c:
+ * programs/Xserver/hw/xfree86/drivers/via/via_swov.c:
+ (VIAVidHWDiffInit), (viaSetColorSpace), (ViaInitVideoStatusFlag),
+ (ViaSetVidCtl), (ViaVideoRegWrite), (VIAVidCreateSurface),
+ (VIAVidLockSurface), (VIAVidDestroySurface), (Upd_Video),
+ (VIAVidUpdateOverlay):
+ * programs/Xserver/hw/xfree86/drivers/via/via_swov.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_tuner.c:
+ (ViaAudioSelect):
+ * programs/Xserver/hw/xfree86/drivers/via/via_tv2.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_tv3.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_utility.c:
+ * programs/Xserver/hw/xfree86/drivers/via/via_utility.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_vbe.c:
+ (ViaVBEGetActiveDevice), (ViaVBEGetDisplayDeviceInfo),
+ (ViaVBEGetDisplayDeviceAttached), (ViaVBEGetBIOSDate),
+ (ViaVBEGetBIOSVersion), (ViaVBEGetFlatPanelInfo),
+ (ViaVBEGetTVConfiguration), (ViaVBEGetTVEncoderType),
+ (ViaVBEGetVideoMemSize), (ViaVBESetActiveDevice),
+ (ViaVBEGetModeInfo), (ViaVBEQueryModeList),
+ (ViaVBEQuerySupportedRefreshRate), (ViaVBESetDeviceRefreshRate),
+ (ViaVBESetFlatPanelState):
+ * programs/Xserver/hw/xfree86/drivers/via/via_vgahw.c:
+ (ViaVgahwIn), (ViaVgahwOut), (ViaVgahwRead), (ViaVgahwWrite),
+ (ViaVgahwChange), (ViaCrtcChange), (ViaSeqChange), (ViaVgahwPrint):
+ * programs/Xserver/hw/xfree86/drivers/via/via_vgahw.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_video.c:
+ (DecideOverlaySupport), (viaResetVideo), (viaSaveVideo),
+ (viaRestoreVideo), (viaExitVideo), (viaInitVideo),
+ (viaSetupImageVideoG), (viaStopSWOVerlay), (viaStopVideoG),
+ (xv_to_tuner), (viaSetPortAttributeG), (viaGetPortAttributeG),
+ (viaPutImageG), (viaQueryImageAttributesG), (viaPutVideo):
+ * programs/Xserver/hw/xfree86/drivers/via/via_video.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_vt1622a.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_xvmc.c:
+ (initViaXvMC), (cleanupViaXvMC), (stride), (size_yuv420),
+ (size_xx44), (mpegDisable), (ViaInitXVMC), (ViaCleanupXVMC),
+ (ViaXvMCCreateContext), (ViaXvMCCreateSurface),
+ (ViaXvMCCreateSubpicture), (ViaXvMCDestroyContext),
+ (ViaXvMCDestroySurface), (ViaXvMCDestroySubpicture),
+ (viaXvMCSetDisplayLock), (viaXvMCInitXv),
+ (viaXvMCInterceptXvAttribute), (viaXvMCInterceptXvGetAttribute),
+ (viaXvMCDisplayAttributes), (viaXvMCInterceptPutImage),
+ (viaXvMCPutImageSize):
+ * programs/Xserver/hw/xfree86/drivers/via/via_xvmc.h:
+ * programs/Xserver/hw/xfree86/drivers/via/via_xvpriv.h:
+ * programs/Xserver/hw/xfree86/drivers/via/videodev.h:
+
+ Sync via driver with unichrome (r26).
+ New features include: Asm videoblit; XvMC VLD support for
+ CLE266; Xv support for KM400; Panel activation by pci subsystem
+ id.
+ Some bugs were fixed, S3utility xv backend and support for
+ saa71xx, ch7xxx and FS45x tv/lvds encoders were removed, many
+ things were severely cleaned up. MMIO is exported read-only to
+ DRI for security.
+ Complete changelog (with author information) is available at
+ unichrome.sf.net.
+
2004-10-17 Vladimir Dergachev <volodya at mindspring.com>
Modified:
More information about the xorg
mailing list