12011-05-10 Bartosz Kosiorek <gang65@poczta.onet.pl> 2 3 Workaround EXA crash with new libcairo2 (#298) 4 5 * src/via_accel.c: (viaExaPrepareComposite): 6 72011-05-08 Bartosz Kosiorek <gang65@poczta.onet.pl> 8 9 Fix cursor garbage after suspend/resume for Xserver 1.10 (#405) 10 11 * src/via_video.c: (viaRestoreVideo): 12 132011-05-04 Bartosz Kosiorek <gang65@poczta.onet.pl> 14 15 Fix XAA displaying issues 16 17 * src/via_accel.c: (viaInitXAA): 18 192011-01-23 Bartosz Kosiorek <gang65@poczta.onet.pl> 20 21 Enable hardware cursor for VX900 22 23 * src/via_cursor.c: (viaHWCursorInit): 24 * src/via_mode.c: (ViaModeSet): 25 262010-12-16 Bartosz Kosiorek <gang65@poczta.onet.pl> 27 28 Merge vx900_branch - initial VX900 support 29 30 * src/via_accel.c: (viaFlushPCI), (viaDisableVQ), 31 (viaInitialize2DEngine), (viaAccelSync), (viaPitchHelper), 32 (viaInitXAA): 33 * src/via_bandwidth.c: (ViaSetPrimaryFIFO), (ViaSetSecondaryFIFO): 34 * src/via_bios.h: 35 * src/via_crtc.c: (ViaFirstCRTCSetMode), (ViaSecondCRTCSetMode): 36 * src/via_cursor.c: (viaHWCursorInit), (viaCursorStore), 37 (viaCursorRestore), (viaShowCursor), (viaHideCursor), 38 (viaSetCursorPosition), (viaLoadCursorImage), (viaSetCursorColors): 39 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit), 40 (VIALeaveVT), (VIASave), (VIARestore), (ViaMMIOEnable), 41 (ViaMMIODisable), (VIAMapFB), (VIAWriteMode), (VIACloseScreen): 42 * src/via_driver.h: 43 * src/via_id.c: 44 * src/via_id.h: 45 * src/via_mode.c: (ViaDFPDetect), (ViaOutputsDetect), 46 (ViaOutputsSelect), (ViaGetMemoryBandwidth), (ViaSetDotclock), 47 (ViaModeSet): 48 * src/via_mode.h: 49 * src/via_panel.c: (ViaPanelScaleDisable), (ViaPanelPreInit), 50 (ViaPanelGetSizeFromDDC): 51 * src/via_video.c: (DecideOverlaySupport): 52 * src/via_xvmc.c: (ViaInitXVMC): 53 542010-12-15 Bartosz Kosiorek <gang65@poczta.onet.pl> 55 56 Enable the new mode switch and panel support on K8M800 and VM800 chipsets 57 58 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit): 59 * src/via_mode.c: (ViaModeSet): 60 612010-11-10 Bartosz Kosiorek <gang65@poczta.onet.pl> 62 63 Replace the deprecated functions 64 xalloc/xrealloc/xfree/xcalloc with 65 malloc/realloc/free/calloc. 66 Refer to "/xserver/include/os.h" 67 68 * src/via_accel.c: (viaSetupCBuffer), (viaTearDownCBuffer), 69 (viaInitExa), (viaExitAccel), (viaFinishInitAccel): 70 * src/via_dga.c: (VIASetupDGAMode): 71 * src/via_dri.c: (VIAInitVisualConfigs), (VIADRIScreenInit), 72 (VIADRICloseScreen): 73 * src/via_driver.c: (VIAFreeRec), (VIAProbe), (VIAPreInit), 74 (VIACloseScreen): 75 * src/via_memcpy.c: (viaVidCopyInit): 76 * src/via_swov.c: (Upd_Video): 77 * src/via_vbe.c: (ViaVbeSetMode): 78 * src/via_video.c: (viaExitVideo), (viaStopVideo), 79 (viaDmaBlitImage): 80 * src/via_xvmc.c: (cleanupViaXvMC), (ViaCleanupXVMC), 81 (ViaXvMCCreateContext), (ViaXvMCCreateSurface), 82 (ViaXvMCCreateSubpicture), (ViaXvMCDestroyContext), 83 (ViaXvMCDestroySurface), (ViaXvMCDestroySubpicture), 84 (viaXvMCInitXv): 85 862010-10-24 Bartosz Kosiorek <gang65@poczta.onet.pl> 87 88 Siragon ML-6200 laptop support 89 90 * src/via_id.c: 91 922010-06-24 Jon Nettleton <jon.nettleton@gmail.com> 93 94 PM800 also uses the CME Engine. Setup the hqv_cme_regs 95 for it. 96 97 * src/via_swov.c: (VIAVidHWDiffInit): 98 992010-06-09 Bartosz Kosiorek <gang65@poczta.onet.pl> 100 101 Fix freeze on 64bit system for K8M800 chipset 102 103 * src/via_dri.c: (VIADRIAgpInit): 104 1052010-05-04 Jon Nettleton <jon.nettleton@gmail.com> 106 107 Re-enable the Virtual Queue for the VX800/VX855 chipsets. 108 109 * src/via_accel.c: (viaDisableVQ), (viaInitialize2DEngine): 110 1112010-05-04 Jon Nettleton <jon.nettleton@gmail.com> 112 113 Disable certain hardware clipping options for the VX855. 114 These cause the 2d engine to become unstable when in 115 16-bit mode. 116 117 * src/via_accel.c: (viaInitXAA): 118 1192010-05-04 Jon Nettleton <jon.nettleton@gmail.com> 120 121 Add an undocumented option which allows certain I2C buses 122 to be probed at startup. This allows workarounds for custom 123 chipset makers that have used the VX855 I2C buses for other 124 purposes. 125 126 * src/via_bios.h: 127 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit): 128 * src/via_driver.h: 129 * src/via_i2c.c: 130 1312010-05-04 Jon Nettleton <jon.nettleton@gmail.com> 132 133 Improve 2d performance on chipsets that don't have 134 AGP/PCIe support yet. 135 136 * src/via_accel.c: (viaSetupForScreenToScreenCopy), 137 (viaSetupForSolidFill), (viaSetupForMono8x8PatternFill), 138 (viaSetupForColor8x8PatternFill), 139 (viaSetupForCPUToScreenColorExpandFill), 140 (viaSubsequentScanlineCPUToScreenColorExpandFill), 141 (viaSetupForImageWrite), (viaSubsequentImageWriteRect), 142 (viaSetupForSolidLine), (viaSetupForDashedLine), (viaInitXAA): 143 1442010-05-04 Jon Nettleton <jon.nettleton@gmail.com> 145 146 Put timeouts on our while statements. These codepaths 147 should be interrupted by a hardware state change, but 148 if something goes wrong they loop forevere. Let's try 149 and behave a little by putting a timeout on these loops. 150 151 * src/via_swov.c: (viaWaitHQVFlip), (viaWaitHQVFlipClear), 152 (viaWaitHQVDone): 153 * src/via_video.c: (Flip): 154 1552010-05-04 Jon Nettleton <jon.nettleton@gmail.com> 156 157 Add XVideo support for the VX855 Chipset. 158 To support this chipset I have added HWDiff->HQVCmeRegs 159 that allows handling differing register values, and 160 HWDiff->dwNewScaleCtl which allows selection of a 161 new Video scaling engine needed for the VX800/VX855 162 chipsets. 163 164 * src/via.h: 165 * src/via_bandwidth.c: (ViaSetSecondaryFIFO): 166 * src/via_driver.h: 167 * src/via_swov.c: (SaveVideoRegister), (VIAVidHWDiffInit), 168 (viaOverlayHQVCalcZoomWidth), (viaOverlayHQVCalcZoomHeight), 169 (ViaSwovSurfaceCreate), (SetHQVFetch), (Upd_Video): 170 * src/via_swov.h: 171 1722010-04-21 Bartosz Kosiorek <gang65@poczta.onet.pl> 173 174 Replace RegionsEqual with REGION_EQUAL and use 175 the xf86XVFillKeyHelperDrawable instead of xf86XVFillKeyHelper 176 177 * src/via_video.c: (viaReputImage), (viaPutImage): 178 1792010-03-07 Bartosz Kosiorek <gang65@poczta.onet.pl> 180 181 Fix segfaults with EXA and XV (Ticket #359) 182 Tested on K8M890 and VN800 183 184 * src/via_video.c: (viaReputImage), (viaPutImage): 185 1862010-02-10 Bartosz Kosiorek <gang65@poczta.onet.pl> 187 188 Fix bug with suspend and VT switch on VX800 and 64bit systems 189 190 * src/via_driver.h: 191 * src/via_video.c: (viaResetVideo), (viaSaveVideo), 192 (viaRestoreVideo), (viaExitVideo): 193 * src/via_video.h: 194 1952010-01-24 Bartosz Kosiorek <gang65@poczta.onet.pl> 196 197 Fix starting address restore and save (initial 64-bit support) 198 199 * src/via_crtc.c: (ViaFirstCRTCSetMode), 200 (ViaFirstCRTCSetStartingAddress): 201 * src/via_dri.c: (VIADRIAgpInit): 202 * src/via_driver.c: (VIASave), (VIARestore): 203 * src/via_driver.h: 204 2052009-12-04 Bartosz Kosiorek <gang65@poczta.onet.pl> 206 207 Enable new mode switch for VM800 chipsets 208 209 * src/via_driver.c: (VIASetupDefaultOptions): 210 2112009-11-21 Bartosz Kosiorek <gang65@poczta.onet.pl> 212 213 Add option to enable unaccelerated RandR rotation ("SWRandR"). 214 The accelerated option "HWRandR" is currently not implemented. 215 216 * src/openchrome.man: 217 * src/via_driver.c: (VIAPreInit): 218 2192009-11-20 Bartosz Kosiorek <gang65@poczta.onet.pl> 220 221 Enabled new mode switch for PM800 chipset, 222 to resolve many bugs with resolution detecting and changing 223 (eg. switching to console) 224 225 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit): 226 2272009-11-07 Bartosz Kosiorek <gang65@poczta.onet.pl> 228 229 Add more comments to ViaSetSecondaryFIFO, add panel scale support for 230 CLE266 and KM400, fix bug with malloc. 231 232 * src/via_bandwidth.c: (ViaSetSecondaryFIFO): 233 * src/via_panel.c: (ViaPanelScale), (ViaPanelGetNativeDisplayMode): 234 2352009-09-26 Bartosz Kosiorek <gang65@poczta.onet.pl> 236 237 Save/restore ECK Clock Synthesizer 238 239 * src/via_driver.c: (VIASave), (VIARestore): 240 * src/via_driver.h: 241 2422009-09-21 Bartosz Kosiorek <gang65@poczta.onet.pl> 243 244 Fixed bug with panel autodetection using 245 ViaPanelGetNativeModeFromScratchPad function 246 247 * src/via_panel.c: 248 2492009-09-21 Bartosz Kosiorek <gang65@poczta.onet.pl> 250 251 Fixed problem with backlite (Ticket #308) 252 253 * src/via_lvds.c: (ViaLVDSSoftwarePowerFirstSequence), 254 (ViaLVDSSoftwarePowerSecondSequence), 255 (ViaLVDSHardwarePowerFirstSequence), 256 (ViaLVDSHardwarePowerSecondSequence), (ViaLVDSPower): 257 2582009-09-15 Bartosz Kosiorek <gang65@poczta.onet.pl> 259 260 TV-out VT1625 chip support 261 262 * src/via_bios.h: 263 * src/via_crtc.c: (ViaFirstCRTCSetMode): 264 * src/via_display.c: (ViaDisplayEnableDVO), (ViaDisplayDisableDVO), 265 (ViaDisplaySetStreamOnDVO): 266 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit): 267 * src/via_mode.c: (ViaTVSetMode), (ViaOutputsSelect), (ViaModeSet): 268 * src/via_vt162x.c: (ViaSetTVClockSource), (VT1622ModeI2C), 269 (VT1622ModeCrtc): 270 * src/via_vt162x.h: 271 2722009-09-15 Bartosz Kosiorek <gang65@poczta.onet.pl> 273 274 Cursor support speedup 275 276 * src/via_cursor.c: (viaHWCursorInit), (viaCursorStore), 277 (viaCursorRestore), (viaShowCursor), (viaHideCursor), 278 (viaSetCursorPosition), (viaLoadCursorImage), (viaLoadCursorARGB): 279 2802009-09-14 Bartosz Kosiorek <gang65@poczta.onet.pl> 281 282 Removed two old variables: 283 pBIOSInfo->panelX 284 pBIOSInfo->panelY 285 286 and replaced it by: 287 pBIOSInfo->Panel->NativeMode->Width 288 pBIOSInfo->Panel->NativeMode->Height 289 290 * src/via_bios.h: 291 * src/via_driver.c: (VIASetupDefaultOptions): 292 * src/via_mode.c: (ViaPanelGetIndex), (VIASetLCDMode), 293 (ViaModePrimaryLegacy), (ViaModeSecondaryLegacy): 294 * src/via_swov.c: (SetVideoWindow): 295 * src/via_video.c: (DecideOverlaySupport): 296 2972009-09-10 Bartosz Kosiorek <gang65@poczta.onet.pl> 298 299 Fix bug with DFP Power Off (ticket #317) 300 301 * src/via_mode.c: (ViaDFPPower): 302 3032009-08-20 Bartosz Kosiorek <gang65@poczta.onet.pl> 304 305 Fix bug with wrong panel size value (http://www.openchrome.org/trac/ticket/301) 306 This bug appeared only when UseLegacyModeSwitch was TRUE 307 308 * src/via_driver.c: (VIASetupDefaultOptions): 309 * src/via_video.c: (DecideOverlaySupport): 310 3112009-08-17 Bartosz Kosiorek <gang65@poczta.onet.pl> 312 313 Added support of the VIA OpenBook 314 315 * src/via_id.c: 316 3172009-08-08 Bartosz Kosiorek <gang65@poczta.onet.pl> 318 319 Added support for screen rotate upside-down and remove "magic numbers" 320 321 * src/via_driver.c: 322 * src/via_driver.h: 323 * src/via_shadow.c: 324 3252009-07-28 Jon Nettleton <jon.nettleton@gmail.com> 326 327 Forgot to remove an old Dot Clock entry from the table. 328 329 * src/via_mode.h: 330 3312009-07-28 Jon Nettleton <jon.nettleton@gmail.com> 332 333 XO 1.5 Panel patch contributed by Xavier Bachelot. 334 Fixup some of the Dotclock code and add working plls 335 for the XO 1.5 336 337 * src/via_bios.h: 338 * src/via_mode.c: (ViaSetDotclock), (ViaSetPrimaryDotclock), 339 (ViaSetSecondaryDotclock): 340 * src/via_mode.h: 341 * src/via_panel.c: 342 3432009-03-21 Xavier Bachelot <xavier@bachelot.org> 344 345 * src/via_bios.h: 346 * src/via_display.c: (ViaDisplaySetStreamOnDFP): 347 * src/via_driver.c: (VIAPreInit), (VIASave), (VIARestore), 348 (VIADPMS): 349 * src/via_driver.h: 350 * src/via_mode.c: (ViaDFPDetect), (ViaOutputsDetect), 351 (ViaOutputsSelect), (ViaDFPPower), (ViaModeSet): 352 353 CX700 integrated TMDS (Patch courtesy Tim Chen from VIA). 354 3552009-02-19 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 356 357 * src/via_driver.c: (VIAScreenInit), (VIAWriteMode): 358 359 Initialize CRTC before a mode switch. Fix bug #260. 360 3612009-01-26 Jon Nettleton <jon.nettleton@gmail.com> 362 363 * src/via_accel.c: (viaInitXAA), (viaExaCheckComposite): 364 365 a couple of small compatibility fixes for XAA and EXA. 366 3672009-01-17 Jon Nettleton <jon.nettleton@gmail.com> 368 369 * libxvmc/viaLowLevel.c: (viaDMAInitTimeStamp): 370 * src/via_accel.c: (viaDisableVQ): 371 * src/via_video.c: (viaVideoFillPixmap): 372 373 viaLowLevel.c and via_accel.c are fixes by 374 Bartosz Kosiorek. The via_video.c is a syntax 375 fix by Robert Bridge. Thanks for the bug fixes. 376 3772009-01-17 Jon Nettleton <jon.nettleton@gmail.com> 378 379 * configure.ac: 380 * src/via_accel.c: (viaInitAccel), (viaExitAccel), 381 (viaFinishInitAccel): 382 * src/via_driver.c: (VIASetup), (VIASetupDefaultOptions), 383 (VIAPreInit), (VIAWriteMode), (VIAInitialize3DEngine): 384 * src/via_driver.h: 385 * src/via_memory.c: (viaExaFBSave), (VIAFreeLinear), 386 (viaOffScreenLinear), (VIAInitLinear): 387 * src/via_priv.h: 388 389 Patch submitted by Robert Bridge, originally started by 390 Xavier Bachelot, to remove old EXA support. We are moving 391 forward with the driver and are no longer supporting the 392 old EXA initializations. 393 3942009-01-14 Jon Nettleton <jon.nettleton@gmail.com> 395 396 * src/via_accel.c: (viaDisableVQ), (viaInitialize2DEngine), 397 (viaAccelSync): 398 399 According to VIA's code the P4M900 should have the same 400 acceleration initialization registers as the K8M890. This 401 patch fixes this and gives about a 10x increase in the 402 video benchmark numbers. 403 4042009-01-14 Jon Nettleton <jon.nettletno@gmail.com> 405 406 * src/via_accel.c: (viaFlushPCI): 407 408 remove the check for VIA_3D_ENG_BUSY in the idle loop. 409 This causes xorg to chew a bit more cpu with XAA enabled, 410 and it causes the entire X server to dump if EXA is enabled. 411 I should investigate further, but for now I will just remove 412 it. 413 4142009-01-14 Jon Nettleton <jon.nettleton@gmail.com> 415 416 * src/via_accel.c: (viaFlushPCI): 417 418 Oops forgot to change registers for the vx800 chipset 419 when waiting for Idle in the engines. I also added 420 back in waiting for the 3d engine to be idle. I am 421 not sure if this was removed for a reason. 422 4232009-01-07 Jon Nettleton <jon.nettleton@gmail.com> 424 425 * src/via_bios.h: 426 * src/via_crtc.c: (via_xf86crtc_resize), (ViaPreInitCRTCConfig): 427 * src/via_driver.c: (VIAPreInit): 428 429 Temporary hack to fix a bug with newer Xorg and DRI 430 that crashes if CRTC is not setup. I am adding this 431 because I am working on this part of the code anyways 432 so it won't get lost in bit rot. 433 4342009-01-06 Jon Nettleton <jon.nettleton@gmail.com> 435 436 * src/via_mode.c: (ViaModesMonitorFixup), (ViaModesAttachHelper): 437 438 Make sure that the monitor settings will handle our 439 internal Modes set for TV out and LCD Panels. 440 4412009-01-05 Jon Nettleton <jon.nettleton@gmail.com> 442 443 * src/via_cursor.c: (viaHWCursorInit), (viaLoadCursorImage): 444 445 A couple more tweaks to fix mono hardware cursor on older 446 chipsets. 447 4482009-01-05 Jon Nettleton <jon.nettleton@gmail.com> 449 450 * src/via_cursor.c: (viaHWCursorInit), (viaUseHWCursorARGB), 451 (viaUseHWCursor): 452 * src/via_driver.c: (VIAScreenInit): 453 454 Missed a couple of changes for the chipset specific 455 cursors. Moved chipset detection to HWInit. Removed 456 some extraneous debugging. 457 4582009-01-04 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 459 460 * src/via.h: 461 * src/via_accel.c: (viaInitialize2DEngine): 462 * src/via_crtc.c: (ViaFirstCRTCSetMode), (ViaSecondCRTCSetMode): 463 * src/via_driver.c: (ViaMMIOEnable), (ViaMMIODisable), 464 (VIAWriteMode): 465 * src/via_swov.c: (SetFIFO_V3), (Upd_Video): 466 * src/via_video.c: (DecideOverlaySupport): 467 468 Initial XVideo support for VX800. 469 4702009-01-04 Jon Nettleton <jon.nettleton@gmail.com> 471 472 * src/via_cursor.c: (viaHWCursorInit), (viaCursorSetFB), 473 (viaUseHWCursorARGB), (viaUseHWCursor), (viaLoadCursorImage), 474 (viaSetCursorColors), (viaLoadCursorARGB): 475 * src/via_driver.h: 476 477 Okay I tried to cheat. We need to have some chipset 478 specific intelligence. I have added this back into 479 the initial test to check for HWCursor support. 480 4812009-01-04 Jon Nettleton <jon.nettleton@gmail.com> 482 483 * src/via_accel.c: (viaInitXAA), (viaInitAccel): 484 * src/via_crtc.c: (ViaSecondCRTCSetStartingAddress): 485 * src/via_cursor.c: (viaHWCursorInit), (viaCursorSetFB), 486 (viaCursorStore), (viaCursorRestore), (viaShowCursor), 487 (viaHideCursor), (viaSetCursorPosition), (viaUseHWCursorARGB), 488 (viaUseHWCursor), (viaLoadCursorImage), (viaSetCursorColors), 489 (viaLoadCursorARGB): 490 * src/via_dga.c: (VIADGASetMode): 491 * src/via_driver.c: (VIAFreeRec), (VIASetupDefaultOptions), 492 (VIAPreInit), (VIAEnterVT), (VIALeaveVT), (VIAScreenInit), 493 (VIACloseScreen): 494 * src/via_driver.h: 495 * src/via_regs.h: 496 497 This is a take at reworking HWCursor. It works off the 498 ttm_branch and the work done in the randr_branch. It only needs 499 marginal testing as HWCursor was already very broken. 500 5012009-01-04 Jon Nettleton <jon.nettleton@gmail.com> 502 503 * src/via_driver.c: (VIAMapMMIO), (VIAMapFB): 504 505 Moved pVia->FrameBufferBase setting to within 506 VIAMapFB where it was before being called without 507 being set. 508 5092009-01-04 Jon Nettleton <jon.nettleton@gmail.com> 510 511 * src/via_driver.c: (VIAPreInit): 512 513 Patch submitted by Robert Bridge to clean up compiler 514 warnings. Should close trac ticket #243. Thanks 515 RobbieAB. 516 5172008-12-29 Jon Nettleton <jon.nettleton@gmail.com> 518 519 * src/via_accel.c: (viaInitXAA): 520 * src/via_driver.c: (VIAMapMMIO), (VIAMapFB): 521 522 Finally tracked down the XAA libpciaccess bug. Also 523 Realized I had not enabled write-combining on the main 524 framebuffer. This should give a small speed boost. 525 5262008-12-26 Jon Nettleton <jon.nettleton@gmail.com> 527 528 * src/via_mode.h: 529 530 Added support for all Modes in ViaPanelNativeModes to 531 ViaPanelModes. Modes used are from Via's released driver 532 in ViaSupportModes. 533 5342008-11-04 Jon Nettleton <jon.nettleton@gmail.com> 535 536 * src/via_crtc.c: (ViaFirstCRTCSetMode), (ViaSecondCRTCSetMode): 537 538 Found needed register writes that are needed so VX800 doesn't 539 crash when CRT is not enabled. I also removed NEEDS FIXING 540 comments from them as they are obviously needed. 541 5422008-11-03 Jon Nettleton <jon.nettleton@gmail.com> 543 544 * src/via_accel.c: (viaSubsequentMono8x8PatternFillRect), 545 (viaSetupForSolidLine), (viaSubsequentSolidHorVertLine), 546 (viaSetupForDashedLine), (viaAccelMarkSync): 547 548 A few more acceleration tweaks for the VX800. 549 This should fix all the XAA rendering issues. 550 This should also allow 800x480 Panels to work without 551 custom modelines. 552 5532008-11-02 Jon Nettleton <jon.nettleton@gmail.com> 554 555 * src/via_accel.c: (viaFlushPCI), (viaDisableVQ), 556 (viaInitialize2DEngine), (viaAccelSync), (viaPitchHelper), 557 (viaAccelClippingHelper), (viaAccelSolidHelper), 558 (viaAccelTransparentHelper), (viaAccelCopyHelper), 559 (viaSetupForScreenToScreenCopy), (viaSubsequentScreenToScreenCopy), 560 (viaSetupForSolidFill), (viaSubsequentSolidFillRect), 561 (viaSetupForMono8x8PatternFill), 562 (viaSubsequentMono8x8PatternFillRect), 563 (viaSetupForColor8x8PatternFill), 564 (viaSubsequentColor8x8PatternFillRect), 565 (viaSetupForCPUToScreenColorExpandFill), 566 (viaSubsequentScanlineCPUToScreenColorExpandFill), 567 (viaSetupForImageWrite), (viaSubsequentImageWriteRect), 568 (viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine), 569 (viaSubsequentSolidHorVertLine), (viaSetupForDashedLine), 570 (viaInitXAA), (viaAccelMarkSync), (viaExaPrepareSolid), 571 (viaExaSolid), (viaExaPrepareCopy), (viaExaCopy): 572 * src/via_bandwidth.c: (ViaSetPrimaryFIFO), (ViaSetSecondaryFIFO): 573 * src/via_cursor.c: (viaCursorARGBInit), (viaCursorARGBShow), 574 (viaCursorARGBHide), (viaCursorARGBSetPosition), 575 (viaCursorRecInit): 576 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit), 577 (VIALeaveVT), (VIACloseScreen): 578 * src/via_driver.h: 579 * src/via_id.c: 580 * src/via_id.h: 581 * src/via_mode.c: (ViaOutputsSelect), (VIAGetPanelSize), 582 (ViaPanelGetIndex): 583 * src/via_mode.h: 584 * src/via_panel.c: (ViaPanelPreInit): 585 * src/via_regs.h: 586 * src/via_swov.c: (VIAVidHWDiffInit), (viaCalculateVideoColor), 587 (viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl), 588 (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16): 589 * src/via_video.c: (viaInitVideo): 590 591 Initial support for the VX800 chipset. This is based off the 592 Basic chipset support work of Xavier Bachelot and the inital 593 Acceleration work done by Harald Welte. I verified the changes 594 based off the most recent VIA codebaase and fixed a couple of 595 rendering issues. 596 597 Still needs more work on EXA ( font rendering glitches ) and 598 XVideo. 599 6002008-05-26 Gabriel Mansi <gabriel.mansi@gmail.com> 601 602 * src/Makefile.am: 603 * src/via_accel.c: (viaInitAccel): 604 * src/via_bios.h: 605 * src/via_crtc.c: (ViaCRTCSetGraphicsRegisters), 606 (ViaCRTCSetAttributeRegisters), (ViaCRTCInit), 607 (ViaFirstCRTCSetMode), (ViaFirstCRTCSetStartingAddress), 608 (ViaSecondCRTCSetStartingAddress), 609 (ViaSecondCRTCHorizontalQWCount), (ViaSecondCRTCHorizontalOffset), 610 (ViaSecondCRTCSetMode), (ViaFirstCRTCModeValid), 611 (ViaSecondCRTCModeValid), (ViaShadowCRTCSetMode): 612 * src/via_cursor.c: (viaCursorARGBInit), (viaCursorSetFB), 613 (viaCursorHWInit), (viaCursorHWShow), (viaCursorHWHide), 614 (viaCursorShow), (viaCursorHide), (viaCursorLoadImage), 615 (viaCursorHWSetPosition), (viaCursorSetPosition), 616 (viaCursorSetColors), (viaCursorStore), (viaCursorRestore), 617 (viaCursorARGBShow), (viaCursorARGBHide), 618 (viaCursorARGBSetPosition), (viaCursorARGBUse), 619 (viaCursorARGBLoad), (viaCursorRecInit), (viaCursorRecDestroy), 620 (viaCursorHWUse): 621 * src/via_dga.c: (VIADGASetMode): 622 * src/via_display.c: (ViaSecondDisplayChannelEnable), 623 (ViaSecondDisplayChannelDisable), (ViaDisplayInit), 624 (ViaDisplayEnableSimultaneous), (ViaDisplayDisableSimultaneous), 625 (ViaDisplayEnableCRT), (ViaDisplayDisableCRT), 626 (ViaDisplaySetStreamOnCRT): 627 * src/via_driver.c: (VIAGetRec), (VIAFreeRec), 628 (VIASetupDefaultOptions), (VIAPreInit), (VIAEnterVT), (VIALeaveVT), 629 (ViaGammaDisable), (VIASave), (VIARestore), (ViaMMIOEnable), 630 (ViaMMIODisable), (VIAMapMMIO), (VIAUnmapMem), (VIALoadPalette), 631 (VIAScreenInit), (VIAWriteMode), (VIACloseScreen), 632 (VIAAdjustFrame), (VIADPMS): 633 * src/via_driver.h: 634 * src/via_lvds.c: (ViaLVDSPowerFirstSequence), 635 (ViaLVDSPowerSecondSequence), (ViaLVDSDFPPower), 636 (ViaLVDSPowerChannel), (ViaLVDSPower): 637 * src/via_mode.c: (ViaPrintMode), (ViaOutputsSelect), 638 (VIAGetPanelSize), (ViaPanelGetIndex), (ViaModesAttach), 639 (ViaValidMode), (VIASetLCDMode), (ViaModePrimaryLegacy), 640 (ViaModeSecondaryLegacy), (ViaLCDPower), (ViaModeFirstCRTC), 641 (ViaModeSecondCRTC), (ViaModeSet): 642 * src/via_panel.c: (ViaPanelLookUpModeIndex), 643 (ViaPanelGetNativeModeFromOption), 644 (ViaPanelGetNativeModeFromScratchPad), (ViaPanelScaleDisable), 645 (ViaPanelScale), (ViaPanelGetNativeDisplayMode), (ViaPanelPreInit), 646 (ViaPanelCenterMode), (ViaPanelGetSizeFromEDID), 647 (ViaPanelGetSizeFromDDCv1), (ViaPanelGetSizeFromDDCv2): 648 * src/via_regs.h: 649 * src/via_swov.c: (Upd_Video): 650 * src/via_timing.c: (froundf), (timingGenerateMode), 651 (viaTimingCvt), (viaTimingGtf): 652 * src/via_timing.h: 653 * src/via_vbe.c: (ViaVbeGetActiveDevices), (ViaVbeSetMode), 654 (ViaVbeDoDPMS): 655 * src/via_video.c: (DecideOverlaySupport), (viaSaveVideo), 656 (viaRestoreVideo): 657 658 Merge panel code from randr branch (rev. 427 to 553) 659 Add native mode setting for P4M890, P4M900, K8M890 and CX700 660 Add LVDS power functions for P4M900 and CX700 661 Add ARGB hardware cursor support 662 6632008-03-11 Xavier Bachelot <xavier-at-bachelot-dot-org> 664 665 * configure.ac: 666 * src/via.h: 667 * src/via_dri.c: (VIADRIIrqInit), (VIADRIScreenInit): 668 * src/via_driver.c: (via_pci_device), (via_host_bridge), 669 (viaPciDeviceVga), (if), (switch): 670 * src/via_driver.h: 671 * src/via_id.c: (ViaCheckCardId): 672 673 Merge changes from pciaccess branch. 674 6752008-02-19 Benno Schulenberg <bensberg-at-justemail-dot-net> 676 677 * src/via_driver.c: (VIAPreInit): 678 679 Dealing with the NoAccel option before the Rotate option, since 680 the latter overrides the first. 681 6822008-01-28 Benno Schulenberg <bensberg-at-justemail-dot-net> 683 684 * src/Makefile.am: 685 686 Recreating svnversion.h only when a source file has changed. 687 6882008-01-18 Benno Schulenberg <bensberg-at-justemail-dot-net> 689 690 * src/via_dri.c: (VIAInitVisualConfigs): 691 692 Condensing an unneeded code duplication. 693 6942008-01-11 Benno Schulenberg <bensberg-at-justemail-dot-net> 695 696 * src/openchrome.man: 697 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit): 698 699 Removing the redundant HWCursor option. 700 7012008-01-10 Benno Schulenberg <bensberg-at-justemail-dot-net> 702 703 * src/openchrome.man: Tweaking the text, clarifying the effect 704 of an option, giving the default value. 705 7062008-01-08 Benno Schulenberg <bensberg-at-justemail-dot-net> 707 708 * src/via_accel.c: (viaBitExpandHelper), (viaPixelARGB8888): 709 710 Moving a little more computation into the helper function. 711 7122007-10-29 Benno Schulenberg <bensberg-at-justemail-dot-net> 713 714 * src/via_driver.c: (VIAPreInit): 715 716 Redoing the second change of June 10: Printing VideoRAM again 717 only when it's actually been probed; plus further tiny code 718 cleanups: comments, line wraps, whitespace. 719 7202007-10-29 Benno Schulenberg <bensberg-at-justemail-dot-net> 721 722 * src/via_driver.c: (VIAPreInit): 723 724 Redoing the first change of June 10: Putting the chipset and 725 revision print statements together at the beginning; moving 726 the reading of the VideoRAM option to after X has parsed the 727 config file; plus a few small layout tweaks. 728 7292007-10-05 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 730 731 * src/via_swov.c: (Upd_Video): 732 733 Enable colorkey on secondary. 734 7352007-10-03 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 736 737 * src/via_driver.c: (VIAPreInit): 738 739 Fix memory detection for P4M900 and CX700. 740 7412007-09-12 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 742 743 * src/via_bios.h: 744 * src/via_driver.c: (VIAWriteMode), (VIAAdjustFrame), 745 (VIASwitchMode): 746 * src/via_mode.c: (ViaModeSecondaryVGAFetchCount), 747 (ViaModeSecondaryVGAOffset), (ViaModeSecondaryVGA): 748 * src/via_swov.c: (Upd_Video): 749 * src/via_vbe.c: (ViaVbeSetPanelMode), (ViaVbeSetMode): 750 751 Fix offset when using vbe modes on secondary. 752 7532007-09-11 Xavier Bachelot <xavier-at-bachelot-dot-org> 754 755 * libxvmc/viaLowLevel.c: (initXvMCLowLevel): 756 * libxvmc/viaLowLevel.h: 757 * libxvmc/viaLowLevelPro.c: (initXvMCLowLevel): 758 * src/via.h: 759 * src/via_accel.c: (viaInitExa): 760 * src/via_bandwidth.c: (ViaSetPrimaryFIFO): 761 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit), 762 (VIASave), (VIARestore), (VIALoadPalette): 763 * src/via_driver.h: 764 * src/via_id.c: 765 * src/via_mode.c: (ViaOutputsDetect): 766 * src/via_priv.h: 767 * src/via_swov.c: (Upd_Video): 768 * src/via_vbe.c: (ViaVbeInitInt10), (ViaVbeGetRefreshRateIndex), 769 (ViaVbeGetActiveDevices), (ViaVbeSetActiveDevices), 770 (ViaVbeSetPanelExpansion), (ViaVbeSetRefresh), (ViaVbeSetMode), 771 (ViaVbeSaveRestore), (ViaVbeModePreInit): 772 * src/via_xvmc.c: (ViaInitXVMC), (ViaXvMCCreateContext): 773 774 Sync with experimental_branch. 775 7762007-09-07 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 777 778 * unichrome/via_id.c: 779 780 Added Gigabyte GA-VM900M ID, reported by Alexandre Penasso Teixeira. 781 7822007-09-07 Gabiel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 783 784 * libxvmc/viaLowLevel.c: (initXvMCLowLevel): 785 * libxvmc/viaLowLevel.h: 786 * libxvmc/viaLowLevelPro.c: (initXvMCLowLevel): 787 * unichrome/via.h: 788 * unichrome/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit), 789 (VIASave), (VIARestore), (VIALoadPalette): 790 * unichrome/via_driver.h: 791 * unichrome/via_mode.c: (ViaOutputsDetect): 792 * unichrome/via_swov.c: (Upd_Video): 793 * unichrome/via_vbe.c: (ViaVbeInitInt10), 794 (ViaVbeGetRefreshRateIndex), (ViaVbeGetActiveDevices), 795 (ViaVbeSetActiveDevices), (ViaVbeSetPanelExpansion), 796 (ViaVbeSetRefresh), (ViaVbeSetMode), (ViaVbeSaveRestore), 797 (ViaVbeModePreInit): 798 * unichrome/via_xvmc.c: (ViaInitXVMC), (ViaXvMCCreateContext): 799 800 Merged vn896_branch from revision 361 to 391. 801 8022007-09-07 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 803 804 * unichrome/via_driver.c: (VIAPreInit): 805 * unichrome/via_mode.c: (ViaOutputsDetect): 806 * unichrome/via_vbe.c: (ViaVbeSetActiveDevices): 807 808 Disabled TV detection for P4M900. 809 8102007-09-07 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 811 812 * unichrome/via_driver.h: 813 * unichrome/via_vbe.c: (ViaVbeInitInt10), 814 (ViaVbeGetRefreshRateIndex), (ViaVbeGetActiveDevices), 815 (ViaVbeSetActiveDevices), (ViaVbeSetPanelExpansion), 816 (ViaVbeSetRefresh), (ViaVbeSetMode), (ViaVbeModePreInit): 817 818 VBE code cleanup. 819 8202007-09-02 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 821 822 * unichrome/via_driver.c: (VIASetupDefaultOptions), (VIASave), 823 (VIARestore): 824 * unichrome/via_vbe.c: (ViaVbeSetMode): 825 826 Disabled XvDMA for P4M900. 827 Modified VBE functions calling order. 828 8292007-08-18 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 830 831 * unichrome/via_driver.c: (VIASetupDefaultOptions): 832 * unichrome/via_priv.h: 833 * unichrome/via_swov.c: (Upd_Video): 834 835 Xvideo code cleanup; added maximum resolution with 836 interpolation for all chipsets. 837 8382007-08-03 Xavier Bachelot <xavier-at-bachelot-dot-org> 839 840 * src/via_bios.h: 841 * src/via_mode.h: 842 * src/via_video.c: (DecideOverlaySupport): 843 844 Add basic support for DDR667. 845 8462007-07-31 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 847 848 * src/via_xvmc.c: (ViaInitXVMC): 849 850 Fixed the xvmc name we register. Was still looking for 851 the old via xvmc library names. 852 8532007-07-04 Xavier Bachelot <xavier-at-bachelot-dot-org> 854 855 * configure.ac: 856 * src/via_driver.c: (VIAPreInit): 857 * src/via_driver.h: 858 859 Bump driver version to 0.2.900. 860 Do not log detected chipset 2 times. 861 Remove duplicate changelog entry. 862 8632007-06-20 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 864 865 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO) 866 867 FIFO settings for CX700. 868 8692007-06-14 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 870 871 * configure.ac: 872 * libxvmc/viaLowLevel.h: 873 * src/via.h: 874 * src/via_accel.c: (viaFlushPCI), (viaInitPCIe), (viaEnableAgpVQ), 875 (viaEnablePCIeVQ), (viaDisableVQ), (viaInitialize2DEngine), 876 (viaAccelSync), (viaInitXAA), (viaInitExa), (viaInitAccel): 877 * src/via_bandwidth.c: (ViaSetPrimaryFIFO), (ViaSetSecondaryFIFO): 878 * src/via_dri.c: (VIADRIRingBufferInit): 879 * src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit), 880 (VIALeaveVT), (VIASave), (VIAScreenInit), (VIACloseScreen): 881 * src/via_driver.h: 882 * src/via_id.c: (ViaDoubleCheckCLE266Revision), (ViaCheckCardId): 883 * src/via_id.h: 884 * src/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary): 885 * src/via_mode.h: 886 * src/via_regs.h: 887 * src/via_swov.c: (viaWaitHQVFlip), (viaWaitHQVDone), 888 (VIAVidHWDiffInit), (viaCalculateVideoColor), (viaSetColorSpace), 889 (ViaInitVideoStatusFlag), (ViaSetVidCtl), (AddHQVSurface), 890 (SetFIFO_V3), (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), 891 (SetColorKey), (SetChromaKey), (SetHQVFetch), (Upd_Video), 892 (VIAVidUpdateOverlay), (ViaOverlayHide): 893 * src/via_swov.h: 894 * src/via_vbe.c: (ViaVbeSetMode): 895 * src/via_video.c: (DecideOverlaySupport), (viaInitVideo), (Flip), 896 (viaDmaBlitImage), (viaPutImage): 897 * src/via_video.h: 898 * src/via_xvmc.c: (ViaInitXVMC): 899 900 Pulled in Changes from the experimental_branch including 901 - Partial support for VIA_K8M890, VIA_P4M900, VIA_CX700, 902 VIA_P4M890 903 - Added the VideoEngine option to help clean up code 904 - Ability to enable debugging with the configure script 905 9062007-06-12 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 907 908 * unichrome/via.h: 909 * unichrome/via_dri.c: (VIADRIRingBufferInit): 910 * unichrome/via_driver.c: 911 * unichrome/via_id.c: 912 * unichrome/via_id.h: 913 * unichrome/via_swov.c: (viaCalculateVideoColor), 914 (viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl), 915 (SetFIFO_V3), (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), 916 (Upd_Video): 917 * unichrome/via_vbe.c: (ViaVbeSetMode): 918 * unichrome/via_video.c: (DecideOverlaySupport): 919 920 Renamed VT3157 to VT3324. 921 Added check for null data block in vbe. 922 Remove version check for older version of Xorg. 923 9242007-06-12 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 925 926 * unichrome/via.h: 927 928 Added missing includes. 929 9302007-06-10 Benno Schulenberg <bensberg-at-justemail-dot-net> 931 932 * unichrome/via_driver.c: (VIAPreInit): 933 934 Print VideoRAM again only when it's actually been probed. 935 Further tiny code cleanups: comments, line wraps, whitespace. 936 9372007-06-10 Benno Schulenberg <bensberg-at-justemail-dot-net> 938 939 * unichrome/via.man: 940 * unichrome/via_driver.c: (VIAPreInit): 941 942 Move reading of the VideoRAM option to after X has parsed the 943 config file. Also put the chipset and revision print statements 944 together and at the beginning. Plus several small layout tweaks. 945 9462007-06-07 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 947 948 * Makefile.am: 949 * configure.ac: 950 * libxvmc/Makefile.am: 951 * man/Makefile.am: 952 * src/Makefile.am: 953 * src/via_driver.c: 954 * src/via_driver.h: 955 956 Renaming driver to openchrome_drv.so and XvMC library to 957 libchromeXvMC.so. 958 9592007-06-06 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 960 961 * unichrome/via_driver.c: 962 963 Removed the chipset option definitions that aren't in 964 trunk yet. 965 9662007-06-06 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 967 968 * unichrome/via_driver.c: 969 * unichrome/via_driver.h: 970 * unichrome/via.man: 971 972 Added per-chipset option defaults. This should allow the 973 driver to work out of the box with almost all hardware and 974 xorg.conf configurations. 975 9762007-05-23 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 977 978 * unichrome/via.h: 979 980 Remove version check for older version of Xorg. This is 981 really not necessary anymore, and was causing some breakage 982 with xorg-server's new version numbering. 983 9842007-05-18 Xavier Bachelot <xavier-at-bachelot-dot-org> 985 986 * libxvmc/Makefile.am: 987 * libxvmc/viaXvMC.c: (XvMCCreateContext): 988 989 Backport 2 fixes from Xorg tree. 990 http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-via.git;a=commit;h=362e03a38682bfcf366242c53444fa36b6052794 991 http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-via.git;a=commit;h=3cd7dac2b5a1c4bfb66bd1b67904d72dc08cbd0e 992 9932007-05-15 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 994 995 * unichrome/via.h: 996 * unichrome/via_driver.c: (VIASetupDefaultOptions): 997 * unichrome/via_driver.h: 998 * unichrome/via_swov.c: (viaWaitHQVFlip), (SetColorKey), 999 (SetChromaKey), (Upd_Video): 1000 * unichrome/via_video.c: (Flip), (viaDmaBlitImage), (viaPutImage): 1001 1002 Xv code cleanup. 1003 10042007-05-10 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1005 1006 * unichrome/via_driver.c: 1007 * unichrome/via_driver.h: 1008 * unichrome/via.man: 1009 1010 Added per chipset option defaults. This should allow the 1011 driver to install and work out of the box with almost all 1012 hardware and xorg.conf configurations. 1013 10142007-05-07 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 1015 1016 * libxvmc/viaLowLevel.h: 1017 * unichrome/via_accel.c: (viaFlushPCI), (viaDisableVQ), 1018 (viaAccelSync): 1019 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO), 1020 (ViaSetSecondaryFIFO): 1021 * unichrome/via_dri.c: (VIADRIRingBufferInit): 1022 * unichrome/via_driver.c: (VIAPreInit): 1023 * unichrome/via_id.c: 1024 * unichrome/via_swov.c: (viaWaitHQVFlip), (VIAVidHWDiffInit), 1025 (viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl), 1026 (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), (SetColorKey), 1027 (SetChromaKey), (Upd_Video): 1028 * unichrome/via_video.c: (DecideOverlaySupport), (Flip), 1029 (viaDmaBlitImage), (viaPutImage): 1030 1031 Fix Xv for P4M890. 1032 10332007-04-30 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 1034 1035 * unichrome/via_swov.c: (Upd_Video): 1036 * unichrome/via_xvmc.c: (ViaInitXVMC): 1037 1038 Disable interpolation when the source width is greater than 800, 1039 otherwise the picture wraps around the screen (bug #109). 1040 Fix a typo in ViaInitXVMC (bug #111). 1041 10422007-04-14 Benno Schulenberg <bensberg-at-justemail-dot-net> 1043 1044 * unichrome/via_id.c: (ViaDoubleCheckCLE266Revision), 1045 (ViaCheckCardId): 1046 1047 VN -> VM, message tweaks, and trailing white space fixes. 1048 10492007-03-28 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 1050 1051 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO): 1052 * unichrome/via_swov.c: (viaWaitHQVFlip), (VIAVidHWDiffInit), 1053 (viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl), 1054 (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), (SetColorKey), 1055 (SetChromaKey), (Upd_Video): 1056 * unichrome/via_video.c: (Flip), (viaDmaBlitImage), (viaPutImage): 1057 1058 Fix Xv for CX700. 1059 10602007-03-20 Xavier Bachelot <xavier-at-bachelot-dot-org> 1061 1062 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO), 1063 (ViaSetSecondaryFIFO): 1064 * unichrome/via_dri.c: (VIADRIRingBufferInit): 1065 * unichrome/via_driver.c: 1066 * unichrome/via_id.c: 1067 * unichrome/via_id.h: 1068 * unichrome/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary): 1069 * unichrome/via_mode.h: 1070 * unichrome/via_swov.c: (VIAVidHWDiffInit), 1071 (viaCalculateVideoColor), (viaSetColorSpace), 1072 (ViaInitVideoStatusFlag), (SetFIFO_V3), (SetFIFO_V3_64or32or32): 1073 * unichrome/via_video.c: (viaInitVideo): 1074 * unichrome/via_xvmc.c: (ViaInitXVMC): 1075 1076 Initial support for P4M890. 1077 10782007-03-09 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> 1079 1080 * unichrome/via_accel.c: (viaFlushPCI), (viaAccelSync), 1081 (viaInitXAA): 1082 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO), 1083 (ViaSetSecondaryFIFO): 1084 * unichrome/via_driver.c: (VIAPreInit), (VIALeaveVT), 1085 (VIACloseScreen): 1086 * unichrome/via_id.c: 1087 * unichrome/via_id.h: 1088 * unichrome/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary): 1089 * unichrome/via_mode.h: 1090 * unichrome/via_swov.c: (viaWaitHQVFlip), (VIAVidHWDiffInit), 1091 (viaCalculateVideoColor), (viaSetColorSpace), 1092 (ViaInitVideoStatusFlag), (ViaSetVidCtl), (SetFIFO_V3_64or32or32), 1093 (SetFIFO_V3_64or32or16), (SetColorKey), (SetChromaKey), 1094 (Upd_Video): 1095 * unichrome/via_video.c: (DecideOverlaySupport), (viaInitVideo), 1096 (Flip), (viaDmaBlitImage), (viaPutImage): 1097 * unichrome/via_xvmc.c: (ViaInitXVMC): 1098 1099 Initial support for P4M900. 1100 11012007-03-08 Xavier Bachelot <xavier-at-bachelot-dot-org> 1102 1103 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO), 1104 (ViaSetSecondaryFIFO): 1105 * unichrome/via_dri.c: (VIADRIRingBufferInit): 1106 * unichrome/via_driver.c: 1107 * unichrome/via_id.c: 1108 * unichrome/via_id.h: 1109 * unichrome/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary): 1110 * unichrome/via_mode.h: 1111 * unichrome/via_swov.c: (VIAVidHWDiffInit), 1112 (viaCalculateVideoColor), (viaSetColorSpace), 1113 (ViaInitVideoStatusFlag), (SetFIFO_V3), (SetFIFO_V3_64or32or32): 1114 * unichrome/via_video.c: (DecideOverlaySupport), (viaInitVideo): 1115 * unichrome/via_xvmc.c: (ViaInitXVMC): 1116 1117 Initial support for CX700. 1118 11192007-03-04 Benno Schulenberg <bensberg-at-justemail-dot-net> 1120 1121 * unichrome/via.man: 1122 1123 Textual tweaks and options ordered alphabetically. 1124 11252007-02-16 Benno Schulenberg <bensberg-at-justemail-dot-net> 1126 1127 * unichrome/via_accel.c: (viaSetClippingRectangle), 1128 (viaAccelSolidHelper), (viaAccelCopyHelper), 1129 (viaSubsequentMono8x8PatternFillRect), 1130 (viaSubsequentColor8x8PatternFillRect), 1131 (viaSubsequentSolidTwoPointLine), (viaSubsequentSolidHorVertLine): 1132 1133 Limit x value to sixteen bits. Fixes a rendering glitch reported 1134 by Marg Huijgen <mark-dot-sf-dot-net-at-huijgen-dot-tk>; solution 1135 found by Thomas. 1136 11372007-02-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1138 1139 * unichrome/via_accel.c: (viaFlushDRIEnabled), 1140 (viaSubsequentSolidTwoPointLine): 1141 1142 Fix line-clipping bug reported by Manuel Bilderbeek 1143 <manuel-dot-bilderbeek-at-oce-dot-com>. 1144 11452007-02-06 Benno Schulenberg <bensberg-at-justemail-dot-net> 1146 1147 * unichrome/via_driver.c: 1148 1149 Try CR39 when CR34 says zero during memory detection on 1150 the CLE266. Idea from Luc Verhaegen, patch by Mark Huijgen 1151 <mark-dot-sf-dot-net-at-huijgen-dot-tk>. 1152 11532007-01-20 Benno Schulenberg <bensberg-at-justemail-dot-net> 1154 1155 * ChangeLog 1156 1157 Switch encoding of ChangeLog file to Unicode. 1158 Whitespace and format adjustments. 1159 11602007-01-20 Benno Schulenberg <bensberg-at-justemail-dot-net> 1161 1162 * unichrome/via_driver.c: (VIALoadRgbLut), (VIALoadPalette), 1163 (VIAScreenInit): 1164 1165 Add ability to change gamma setting. Original patch by 1166 Gonzalo A. de la Vega <gadelavega-at-gmail-dot-com>, 1167 adapted from Luc Verhaegen's implementation. 1168 11692006-12-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1170 1171 * unichrome/via_accel.c: (viaExaTexUploadToScreen): 1172 1173 Work around an obscure hardware limitation when texturing from 1174 AGP. 1175 11762006-12-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1177 1178 * unichrome/via_dri.c: (VIASetAgpMode): 1179 1180 Fix AGP mode setting. 1181 11822006-12-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1183 1184 Use non-power-of-two textures for EXA whenever possible. 1185 11862006-12-18 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1187 1188 * unichrome/via_xvmc.c: 1189 1190 Thomas needs a good drm test which means we need XvMC. I 1191 have re-enabled it for testing. 1192 11932006-12-15 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1194 1195 * unichrome/via.h: 1196 * unichrome/via_swov.c: 1197 1198 This is my cleanup commit of the excellent patch that 1199 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> provided, 1200 which finishes the XVideo work on the VT3336 chipset. Nice 1201 work Gabriel. 1202 12032006-12-13 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1204 1205 * unichrome/via_video.c: 1206 1207 Don't use HQV Offset for HQV_CONTROL. 1208 12092006-12-11 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1210 1211 * unichrome/via_video.c: 1212 * unichrome/via_swov.c: 1213 1214 Looks like the VT3336 has the same offset as the VT3259 1215 for the hardware overlay. 1216 12172006-12-10 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1218 1219 * unichrome/via_memcpy.c: 1220 * unichrome/via_swov.c: 1221 1222 Removed the previous changes; I am not ready to rewrite 1223 the assembly code for x86_64. 1224 The ColorSpace registers were being set up incorrectly 1225 for VT3336. 1226 12272006-12-09 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1228 1229 * unichrome/via_memcpy.c: 1230 1231 The ifdef's in memcpy.c only support i386 arch; should 1232 also support i86_64. 1233 12342006-12-09 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1235 1236 * unichrome/via_xvmc.c: 1237 1238 K8M890 does not support XvMC like the other chipsets; 1239 disable it for now. 1240 12412006-12-09 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1242 1243 * unichrome/via_video.h: 1244 * unichrome/via_swov.h: 1245 * unichrome/via_swov.c: 1246 1247 Made K8M890 XV FIFO settings match K8M800. 1248 Enabled XV_DEBUG. 1249 12502006-12-07 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1251 1252 * unichrome/via_mode.h: 1253 1254 Updated the BandwidthTable for K8M890 chipset. 1255 12562006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1257 1258 * unichrome/via_driver.c: (VIAEnterVT): 1259 1260 Initialize the AGP ring buffer before command submission. 1261 12622006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1263 1264 * unichrome/via_driver.c: (VIAEnterVT): 1265 1266 Blank and clear screen when entering VT. 1267 12682006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1269 1270 * unichrome/via_driver.c: (VIAEnterVT): 1271 1272 Blank and clear screen when entering VT. 1273 12742006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1275 1276 * unichrome/via_accel.c: (viaAccelDMADownload), 1277 (viaExaDownloadFromScreen), (viaInitExa): 1278 1279 Indent via_accel.c. 1280 12812006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1282 1283 * unichrome/via_accel.c: (viaAccelDMADownload): 1284 1285 Fix download from screen which was reusing kernel argument 1286 data that was altered by the kernel. 1287 12882006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1289 1290 * unichrome/via_accel.c: (viaAccelDMADownload), 1291 (viaExaDownloadFromScreen): 1292 1293 Reimplement download from screen to something more easily 1294 debuggable. 1295 12962006-12-06 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1297 1298 * unichrome/via_driver.c: 1299 1300 Fixed some of the boolean option changes that are 1301 inverses such as DisableIRQ. 1302 13032006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1304 1305 * unichrome/via_memory.c: (viaExaFBSave), (viaOffScreenLinear): 1306 1307 Cause a "FatalError" if EXA is used with an un-patched Xserver, 1308 and an illegal save locked memory action is requested. 1309 13102006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1311 1312 * unichrome/via_driver.c: (VIAInitialize3DEngine): 1313 1314 Proper register names in VIAInitialize3DEngine. 1315 13162006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1317 1318 * unichrome/via_driver.c: (VIALeaveVT), (VIAWriteMode), 1319 (VIACloseScreen): 1320 * unichrome/via_vbe.c: (ViaVbeSetMode): 1321 1322 Now that we initialize the 3D engine every time we write 1323 mode, make sure this is done before setting up VQ and AGP 1324 so that those settings persist. The GPU will be unstable 1325 otherwise. 1326 Also fix some code comments. 1327 13282006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1329 1330 * unichrome/via_driver.c: (VIALeaveVT): 1331 1332 Force 3D context upload after a VT switch. 1333 13342006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1335 1336 * unichrome/via_dri.c: (viaDRIFBMemcpy), (viaDRIOffscreenSave): 1337 1338 Fix up previous commit for > 16MB sizes. 1339 13402006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1341 1342 * unichrome/via_dri.c: (viaDRIOffscreenSave), 1343 (viaDRIOffscreenRestore): 1344 * unichrome/via_driver.c: (VIAEnterVT), (VIALeaveVT): 1345 * unichrome/via_driver.h: 1346 1347 Back up DRI offscreen memory before leaving VT and restore it 1348 when entering VT. It may be overwritten in between. 1349 Use PCI DMA blit for this if available. 1350 13512006-12-05 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1352 1353 * unichrome/via_driver.c: (VIAWriteMode), (VIAInitialize3DEngine): 1354 * unichrome/via_vbe.c: (ViaVbeSetMode): 1355 1356 With EXA + 3D we need to reinitialize the 3D engine after 1357 a mode switch (possibly the soft reset + 2D engine 1358 initialization). Otherwise the GPU will hang. 1359 13602006-12-05 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1361 1362 * unichrome/via_driver.c: (VIAPreInit): 1363 1364 Fix the dma2d option setting. 1365 13662006-12-05 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1367 1368 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO): 1369 1370 Use a more aggressive fifo setting for CLE266 Cx. 1371 Boosts performance. 1372 Please report problems with this. 1373 13742006-12-05 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1375 1376 * unichrome/via_video.c: 1377 * unichrome/via_swov.c: 1378 1379 Added missing hardware overlay support for VT3336. 1380 13812006-12-04 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1382 1383 * unichrome/via_driver.c: 1384 1385 Added patch to fix the K8M890 hang on VT switch; submitted 1386 by Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>. 1387 13882006-12-01 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1389 1390 * unichrome/via.man: 1391 * unichrome/via_bios.h: 1392 * unichrome/via_dri.c: (VIADRIScreenInit): 1393 * unichrome/via_driver.c: (VIAPreInit): 1394 * unichrome/via_driver.h: 1395 1396 Remove unused options. 1397 First pass cleaning up option handling. 1398 Make most boolean options work as expected; 1399 (that is, accepting both a "true" and a "false" argument). 1400 14012006-11-30 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1402 1403 * unichrome/via_mode.c: 1404 * unichrome/via_accel.c: 1405 1406 Added patch to fix some of the K8M890 logic; submitted by 1407 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>. 1408 14092006-11-28 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1410 1411 * unichrome/via_bandwidth.c: 1412 * unichrome/via_accel.c: 1413 1414 Patched via_bandwidth.c for dumb mistake I made. Thanks, Gabriel 1415 Mansi, for the second set of eyes. Move HWCursor memory allocation 1416 even further in the driver initialization. 1417 14182006-11-25 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1419 1420 * unichrome/via_id.c: 1421 * unichrome/via_accel.c: 1422 1423 Added additional IDs for the K8M890 cards. 1424 Changed memory allocation order for the HW cursor and 2D engine. 1425 14262006-10-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1427 1428 * libxvmc/viaLowLevel.c: 1429 * libxvmc/viaLowLevelPro.c: 1430 * unichrome/via_regs.h: 1431 1432 Via managed to mix up the 2D / 3D engine busy status bits. 1433 Funny we never noticed this before. 1434 14352006-10-24 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1436 1437 * unichrome/via_xvmc.c: (ViaXvMCCreateContext): 1438 1439 Remove VT3314 (CN700, VM800 etc.) mpeg2 AGP DMA support. 1440 14412006-10-11 Xavier Bachelot <xb_ml-at-kelkoo-dot-net> 1442 1443 reviewed by: Ivor 1444 1445 * unichrome/via_bios.h: 1446 * unichrome/via_id.c: 1447 * unichrome/via_mode.h: 1448 * unichrome/via_video.c: (DecideOverlaySupport): 1449 1450 DDR533 memory support and small cleanup. 1451 Fujitsu/Siemens Amilo L7320 pci id (reported by DeNayGo). 1452 14532006-10-03 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1454 1455 * unichrome/via_video.c: (viaPutImage): 1456 1457 Removed some stray debug messages. 1458 14592006-10-02 Benno Schulenberg <bensberg-at-justemail-dot-net> 1460 1461 * unichrome/via_driver.c: (VIASave), (VIARestore): 1462 1463 Moved a line to after declarations for picky gcc-2.96, 1464 tweaked comments and debugging lines. 1465 14662006-09-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1467 1468 * unichrome/via_memory.c: 1469 1470 Don't include drm headers in non-dri build. 1471 14722006-09-25 Benno Schulenberg <bensberg-at-justemail-dot-net> 1473 1474 * unichrome/Makefile.am: 1475 1476 Mention the overall revision number in the log, not just 1477 the driver code revision. 1478 14792006-09-24 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1480 1481 * libxvmc/viaLowLevel.c: (initXvMCLowLevel): 1482 * libxvmc/viaLowLevelPro.c: (initXvMCLowLevel): 1483 * libxvmc/viaXvMC.c: (XvMCSetAttribute): 1484 1485 Fix a mutex unlocking issue (Luc Verhaegen). 1486 Have the lowlevel drivers check for the correct chipid. 1487 14882006-09-24 Michal Ludvig <michal-at-logix-dot-cz> 1489 1490 * man/Makefile.am: 1491 1492 Fix man-page symlink for out-of-tree build (trac ticket #50). 1493 14942006-09-22 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1495 1496 * unichrome/via_drmclient.h: 1497 1498 Include stdint.h instead of re-typedefining CARD32. 1499 15002006-09-22 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 1501 1502 * src/via_id.h 1503 * src/via_video.c 1504 * src/via_mode.c 1505 * src/via_mode.h 1506 * src/via_driver.c 1507 * src/via_swov.c 1508 * src/via_bandwidth.c 1509 * src/via_accel.c 1510 * src/via_vbe.c 1511 * src/via_xvmc.c 1512 * src/via_id.c 1513 1514 Initial code for support of VT3336 cards. 1515 15162006-09-17 Benno Schulenberg <bensberg-at-justemail-dot-net> 1517 1518 * unichrome/via_driver.c: (VIASave): 1519 1520 Put in a few extra debugging lines. 1521 15222006-09-05 Benno Schulenberg <bensberg-at-justemail-dot-net> 1523 1524 * unichrome/via_swov.c: 1525 1526 Comment and whitespace tweaks. 1527 15282006-09-05 Benno Schulenberg <bensberg-at-justemail-dot-net> 1529 1530 * unichrome/via_id.c: 1531 1532 Add an ID (trac ticket #67), note identical numbers, remove 1533 a duplicate, remove obsolete unknown, remove trailing tab. 1534 15352006-08-27 Benno Schulenberg <bensberg-at-justemail-dot-net> 1536 1537 * unichrome/via_id.c: 1538 1539 Textual tweaks. 1540 15412006-08-27 Benno Schulenberg <bensberg-at-justemail-dot-net> 1542 1543 * unichrome/via_dri.c: (VIADRIAgpInit): 1544 1545 Rearrange declarations to fix compilation problem with gcc-2.96, 1546 reported by Nikolai V. Ivanyushin <nvi-at-sven-dot-ru>. 1547 15482006-08-22 Benno Schulenberg <bensberg-at-justemail-dot-net> 1549 1550 * unichrome/via_accel.c: 1551 1552 Whitespace adjustment; getting back close to Xorg. 1553 Comment tweaks and #endif clarifications. 1554 15552006-08-19 Benno Schulenberg <bensberg-at-justemail-dot-net> 1556 1557 * unichrome/via_swov.c: (viaWaitVideoCommandFire), 1558 (SetVideoWindow): 1559 1560 Comment tweaks. 1561 15622006-08-18 Benno Schulenberg <bensberg-at-justemail-dot-net> 1563 1564 * unichrome/via_driver.h: 1565 1566 Move definition of AGP_SIZE out of #ifdef VIA_HAVE_EXA block, 1567 to make the driver compile again for Xorg-6.8.2. 1568 15692006-08-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1570 1571 * unichrome/via_mode.c: (ViaModeDotClockTranslate): 1572 * unichrome/via_video.c: (viaPaintColorkey): 1573 1574 Re-enable Ivor's Dotclock computation. 1575 Enable accelerated redirected colorkey painting for Xv. 1576 15772006-07-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1578 1579 * unichrome/via_driver.c: (VIAPreInit): 1580 1581 ...And get default AGP size correct as well. 1582 15832006-07-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1584 1585 * unichrome/via_accel.c: (viaIsAGP): 1586 * unichrome/via_dri.c: (VIADRIAgpInit): 1587 1588 Fix false AGP detection and make sure we have the correct AGP 1589 size. 1590 15912006-07-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1592 1593 * unichrome/via.man: 1594 * unichrome/via_accel.c: (viaExaUploadToScratch), 1595 (viaExaCheckComposite), (viaIsAGP), (viaInitExa), (viaInitAccel): 1596 * unichrome/via_ch7xxx.c: (ViaCH7xxxInit): 1597 * unichrome/via_dri.c: (VIADRIAgpInit): 1598 * unichrome/via_driver.c: (VIAPreInit), (VIAEnterVT), (VIALeaveVT), 1599 (VIAScreenInit), (VIACloseScreen): 1600 * unichrome/via_driver.h: 1601 1602 Changes donated by "PConRails, LLC" and "Tungsten Graphics, Inc.": 1603 EXA and memory management optimizations, Manpage update. 1604 New options: 1605 ExaScratchSize 1606 MaxDRIMem 1607 AGPMem 1608 VBESaveRestore 1609 16102006-07-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1611 1612 * unichrome/via.h: 1613 * unichrome/via_accel.c: 1614 * unichrome/via_dri.h: 1615 * unichrome/via_driver.h: 1616 * unichrome/via_mode.c: (ViaModeDotClockTranslate): 1617 * unichrome/via_swov.c: (ViaOverlayHide): 1618 * unichrome/via_video.c: (DecideOverlaySupport), 1619 (viaVideoFillPixmap), (viaPaintColorkey), (viaReputImage), 1620 (viaPutImage): 1621 1622 Changes donated by "PConRails, LLC" and "Tungsten Graphics, Inc.": 1623 Video optimizations: 1624 Paint colorkey correctly under composite manager. 1625 Make sure the driver compiles with Xorg git. 1626 Don't reset the primary display FIFO after XV. It's never touched 1627 by the Xv code, and slows things down in VBE mode. 1628 1629 16302006-07-11 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1631 1632 * libxvmc/viaXvMC.c: 1633 * unichrome/via_dri.c: 1634 1635 Change DRM major compatibility from 3.x.x to 2.x.x. 1636 16372006-07-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1638 1639 * libxvmc/driDrawable.c: 1640 * libxvmc/viaLowLevel.c: 1641 * libxvmc/viaLowLevelPro.c: (finish_header_agp), 1642 (computeHQVScaleAndFilter): 1643 * libxvmc/viaXvMC.c: (yOffs), (vOffs), (uOffs), (defaultQMatrices), 1644 (releaseDecoder), (grabDecoder), (setupAttribDesc), 1645 (releaseAttribDesc), (releaseContextResources), 1646 (XvMCCreateContext), (XvMCDestroyContext), (XvMCCreateSurface), 1647 (XvMCDestroySurface), (XvMCPutSlice2), (XvMCPutSlice), 1648 (updateXVOverlay), (XvMCPutSurface), (debugControl), 1649 (XvMCBeginSurface), (XvMCSyncSurface), (XvMCLoadQMatrix), 1650 (XvMCRenderSurface), (XvMCCreateBlocks), (XvMCDestroyBlocks), 1651 (XvMCCreateMacroBlocks), (XvMCDestroyMacroBlocks), 1652 (XvMCCreateSubpicture), (XvMCSetSubpicturePalette), (findOverlap), 1653 (XvMCClearSubpicture), (XvMCCompositeSubpicture), 1654 (XvMCBlendSubpicture), (XvMCBlendSubpicture2), 1655 (XvMCSyncSubpicture), (XvMCFlushSubpicture), 1656 (XvMCDestroySubpicture), (XvMCGetSubpictureStatus), 1657 (XvMCFlushSurface), (XvMCGetSurfaceStatus), (XvMCQueryAttributes), 1658 (XvMCSetAttribute), (XvMCGetAttribute), (XvMCHideSurface): 1659 * libxvmc/xf86dri.c: 1660 1661 Remove the "config.h" includes from libxvmc, as they break it. 1662 I wonder how the openChrome libXvMC has been working? 1663 1664 Indent viaXvMC.c. 1665 16662006-07-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1667 1668 * libxvmc/viaXvMC.c: (XvMCCreateContext): 1669 * unichrome/via_dri.c: (VIADRIRingBufferInit), (VIADRIScreenInit): 1670 * unichrome/via_xvmc.c: (ViaInitXVMC): 1671 1672 Update DRM version checking. 1673 16742006-07-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1675 1676 * unichrome/via_swov.c: (viaWaitVideoCommandFire): 1677 1678 Increase video command fire timeout. 1679 16802006-07-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1681 1682 * unichrome/via_memory.c: (viaOffScreenLinear): 1683 1684 Fix dri close screen segfault caused by previous commit. 1685 16862006-06-15 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1687 1688 * unichrome/via_dri.c: (VIADRIFBInit): 1689 * unichrome/via_driver.h: 1690 * unichrome/via_memory.c: (viaOffScreenLinear), (VIAAllocLinear): 1691 1692 Fix severe dri memory allocation bug. (Reported by Trevor Kramer) 1693 16942006-05-11 Ivor Hewitt <ivor-at-ivor-dot-org> 1695 1696 * configure.ac: 1697 * unichrome/via.h: 1698 * unichrome/via_accel.c: 1699 * unichrome/via_cursor.c: 1700 * unichrome/via_dri.c: 1701 * unichrome/via_driver.h: 1702 * unichrome/via_memcpy.c: 1703 * unichrome/via_memory.c: 1704 * unichrome/via_mode.c: 1705 * unichrome/via_shadow.c: 1706 * unichrome/via_swov.c: 1707 * unichrome/via_vbe.c: 1708 * unichrome/via_vgahw.c: 1709 * unichrome/via_video.c: 1710 * unichrome/via_xvmc.c: 1711 1712 - Xorg xv ABI compatibility patch. (Marcin Kurek) 1713 17142006-04-14 Ivor Hewitt <ivor-at-ivor-dot-org> 1715 1716 * libxvmc/Imakefile: 1717 1718 - Unbreak makefile. 1719 17202006-03-19 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1721 1722 * libxvmc/Makefile.am: 1723 * unichrome/Makefile.am: 1724 1725 - Backport Makefile changes form xorg. 1726 17272006-03-17 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1728 1729 * unichrome/via_driver.c: 1730 1731 - Update the built-against macro to recognize Xorg if present. 1732 (Reported by Eric Anholt) 1733 17342006-03-17 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1735 1736 * configure.ac: 1737 1738 - Update compatibility check for XvMC. 1739 17402006-03-17 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1741 1742 * unichrome/via_accel.c: (viaInitExa): 1743 * unichrome/via_driver.c: (VIAPreInit): 1744 1745 - Support EXA 2.0. 1746 17472006-03-13 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1748 1749 * unichrome/via_accel.c: (viaSetupForSolidLine), 1750 (viaSubsequentSolidTwoPointLine), (viaSetupForDashedLine): 1751 * unichrome/via_driver.h: 1752 1753 - Possible fix for XAA bug rendering solid lines as dashed. 1754 (Reported by Lewin Edwards) 1755 17562006-03-08 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1757 1758 1759 * libxvmc/Imakefile: 1760 * unichrome/via_swov.c: 1761 * unichrome/via_swov.h: 1762 * unichrome/via_video.c: (viaInitVideo), (viaExitVideo), 1763 * unichrome/via_video.h: 1764 * unichrome/via_xvmc.c: (initViaXvMC), (cleanupViaXvMC), (stride), 1765 * unichrome/via_xvmc.h: 1766 * unichrome/via_xvpriv.h: 1767 1768 - Run indent on above files after syncing them with Xorg. 1769 17702006-02-23 Xavier Bachelot <xb_ml AT kelkoo DOT net> 1771 1772 * configure.ac: 1773 1774 - Fix man pages suffix. 1775 - Bump driver version number to be equal to xorg. 1776 17772006-02-21 Ivor Hewitt <ivor-at-ivor-dot-org> 1778 1779 * unichrome/via_bios.h: 1780 * unichrome/via_driver.c: (VIAPreInit): 1781 * unichrome/via_mode.h: 1782 * unichrome/via_priv.h: 1783 * unichrome/via_swov.c: (viaOverlayGetV1V3Format), 1784 (viaOverlayGetSrcStartAddress), (viaOverlayGetFetch), 1785 (CreateSurface), (ViaSwovSurfaceCreate), (ViaSwovSurfaceDestroy), 1786 (VIAVidUpdateOverlay), (ViaOverlayHide): 1787 * unichrome/via_video.c: (viaInitVideo), (Flip), (viaDmaBlitImage), 1788 (viaPutImage), (viaQueryImageAttributes): 1789 1790 - Lets have RV32 too. 1791 - Add 12x8 panel. 1792 17932006-02-10 Ivor Hewitt <ivor-at-ivor-dot-org> 1794 1795 * unichrome/via.h: 1796 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO), 1797 (ViaSetSecondaryFIFO): 1798 * unichrome/via_dri.c: (VIADRIRingBufferInit): 1799 * unichrome/via_mode.c: (ViaModePrimary): 1800 * unichrome/via_swov.c: (VIAVidHWDiffInit), 1801 (viaOverlayGetSrcStartAddress), (viaOverlayGetFetch), 1802 (viaCalculateVideoColor), (viaSetColorSpace), 1803 (ViaInitVideoStatusFlag), (ViaSetVidCtl), (SetFIFO_V3), 1804 (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), (SetColorKey), 1805 (SetChromaKey), (SetHQVFetch), (Upd_Video): 1806 * unichrome/via_video.c: (DecideOverlaySupport), (viaInitVideo), 1807 (viaDmaBlitImage): 1808 * unichrome/via_xvmc.c: (ViaInitXVMC), (ViaXvMCCreateContext): 1809 1810 - Get some code exercised for VM800, let's see where it crumbles. 1811 18122006-01-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1813 1814 * unichrome/via_vbe.c: (ViaVbeSetMode): 1815 1816 - Fix VBE refresh setting. 1817 18182006-01-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1819 1820 * unichrome/via_accel.c: (viaInitExa): 1821 * unichrome/via_driver.c: (VIAPreInit): 1822 1823 - Merge EXA branch revisions 152:155 1824 18252006-01-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1826 1827 * unichrome/via_swov.c: 1828 * unichrome/via_video.c: (viaXvError), (viaReputImage), 1829 (viaSetupAdaptors), (viaDmaBlitImage), (viaPutImage): 1830 * unichrome/via_xvpriv.h: 1831 1832 - Removed time.h and sys/time.h includes from via_swov.c 1833 (Reported by George E Sollish). 1834 - More verbose Xv error reporting. 1835 18362006-01-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1837 1838 * unichrome/via.man: 1839 * unichrome/via_3d.c: 1840 * unichrome/via_accel.c: (viaAccelPlaneMaskHelper), (viaInitExa), 1841 (viaInitAccel), (viaExitAccel), (viaFinishInitAccel): 1842 * unichrome/via_driver.c: (VIAPreInit): 1843 * unichrome/via_driver.h: 1844 1845 - Merge EXA branch revisions 138:152 1846 18472006-01-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1848 1849 * unichrome/via_mode.c: (ViaModePrimary): 1850 1851 - Import Luc's fix for sometimes-blanking CRTs on CLE266. 1852 (Luc Verhaegen) 1853 18542006-01-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1855 1856 * unichrome/via_swov.c: (viaWaitVideoCommandFire): 1857 1858 - The previous commit causes problems with older X versions. 1859 Avoid using gettimeofday(). Reported by Paul Bender. 1860 18612006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1862 1863 * unichrome/via_swov.c: (viaTimeDiff), (viaWaitVideoCommandFire): 1864 1865 - Make the Xv viaWaitVideoCommandFire loop time out. Better than server hang? 1866 18672006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1868 1869 * unichrome/via.man: 1870 * unichrome/via_driver.c: (VIAPreInit): 1871 * unichrome/via_driver.h: 1872 * unichrome/via_video.c: (viaInitVideo): 1873 1874 - Added a "NoXVDMA" option to disable PCI DMA for Xv image transfers. 1875 May turn out useful to vlc users. 1876 - Updated man page. 1877 18782006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1879 1880 * unichrome/via_driver.c: 1881 1882 - Added vgaHWGetIndex to vgaHW symbol list. 1883 (Reported by Ole Sandum) 1884 18852006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1886 1887 * unichrome/via_swov.c: (ViaOverlayHide): 1888 1889 - Fix HQV offset bug. 1890 18912006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1892 1893 * libxvmc/driDrawable.c: (drawStamp), (getDRIDrawableInfoLocked), 1894 (driDestroyHashContents): 1895 * libxvmc/driDrawable.h: 1896 * libxvmc/viaLowLevel.c: (hwlLock), (hwlUnlock), (timeDiff), 1897 (viaDMATimeStampLowLevel), (viaDMAWaitTimeStamp), 1898 (viaDMAInitTimeStamp), (viaDMACleanupTimeStamp), 1899 (viaMpegGetStatus), (viaMpegIsBusy), (syncDMA), (syncVideo), 1900 (syncAccel), (syncMpeg), (pciFlush), (agpFlush), 1901 (flushXvMCLowLevel), (flushPCIXvMCLowLevel), (pciCommand), 1902 (viaMpegSetSurfaceStride), (viaVideoSetSWFLipLocked), 1903 (viaVideoSWFlipLocked), (viaMpegSetFB), (viaMpegBeginPicture), 1904 (viaMpegReset), (viaMpegWriteSlice), (viaVideoSubPictureOffLocked), 1905 (viaVideoSubPictureLocked), (viaBlit), (syncXvMCLowLevel), 1906 (initXvMCLowLevel), (closeXvMCLowLevel): 1907 * libxvmc/viaLowLevel.h: 1908 * libxvmc/viaLowLevelPro.c: (initHQVShadow), 1909 (setHQVHWDeinterlacing), (setHQVDeblocking), (setHQVStartAddress), 1910 (setHQVColorSpaceConversion), (setHQVFetchLine), (setHQVScale), 1911 (setHQVSingleDestination), (setHQVDeinterlacing), 1912 (setHQVTripleBuffer), (finish_header_agp), (hwlLock), (hwlUnlock), 1913 (timeDiff), (viaDMATimeStampLowLevel), (viaDMAWaitTimeStamp), 1914 (viaDMAInitTimeStamp), (viaDMACleanupTimeStamp), 1915 (viaMpegGetStatus), (viaMpegIsBusy), (syncDMA), (syncVideo), 1916 (syncAccel), (syncMpeg), (pciFlush), (agpFlush), 1917 (uploadHQVDeinterlace), (uploadHQVShadow), (flushXvMCLowLevel), 1918 (flushPCIXvMCLowLevel), (viaMpegSetSurfaceStride), 1919 (viaVideoSetSWFLipLocked), (viaVideoSWFlipLocked), (viaMpegSetFB), 1920 (viaMpegBeginPicture), (viaMpegReset), (viaMpegWriteSlice), 1921 (viaVideoSubPictureOffLocked), (viaVideoSubPictureLocked), 1922 (viaBlit), (syncXvMCLowLevel), (updateLowLevelBuf), 1923 (cleanupLowLevelBuf), (releaseXvMCLowLevel), (initXvMCLowLevel), 1924 (setLowLevelLocking), (closeXvMCLowLevel), (computeDownScaling), 1925 (computeHQVScaleAndFilter), (setupBackBuffer): 1926 * libxvmc/viaXvMCPriv.h: 1927 * libxvmc/vldXvMC.h: 1928 * libxvmc/xf86dri.c: (uniDRIDestroyContext), 1929 (uniDRICreateDrawable), (uniDRIDestroyDrawable), 1930 (uniDRIGetDrawableInfo): 1931 * libxvmc/xf86dri.h: 1932 * libxvmc/xf86dristr.h: 1933 1934 - Run indent on libXvMC. Sync XvMC with Xorg 7.0. 1935 19362006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com> 1937 1938 * unichrome/via_dri.c: (VIADRIKernelInit), (VIADRIMapInit): 1939 * unichrome/via_driver.h: 1940 1941 - Add a framebuffer map for DRI. Don't just assume that the 1942 framebuffer map handle is the physical address. 1943 19442006-01-12 Thomas Hellström <unichrome-at-shipmail-dot-org> 1945 1946 * unichrome/via_accel.c: (viaExaDownloadFromScreen), 1947 (viaExaTexUploadToScreen), (viaExaUploadToScreen), 1948 (viaExaCheckComposite): 1949 * unichrome/via_driver.h: 1950 1951 - Exa branch revision 132:138 merge. 1952 19532006-01-12 Thomas Hellström <unichrome-at-shipmail-dot-org> 1954 1955 * unichrome/via_swov.c: (CreateSurface): 1956 * unichrome/via_video.c: (viaInitVideo), (Flip), (viaDmaBlitImage): 1957 1958 - Fix planar Xv Flipping and surface allocation size. 1959 (Reported by Tim, MagicITX) 1960 - Fix Xv dmablit strides and bump drm version for dmablit to 2.9.0, since 1961 there is a direction bug in earlier versions. 1962 19632006-01-09 Thomas Hellström <unichrome-at-shipmail-dot-org> 1964 1965 * libxvmc/viaXvMC.c: (releaseContextResources): 1966 * unichrome/via_swov.c: (CreateSurface), (ViaSwovSurfaceDestroy): 1967 1968 - Mark already destroyed XvMC contexts as bad, in case clients 1969 try to destroy them twice. 1970 - Don't try to destroy YV12 buffers when exiting XvMC video. 1971 19722006-01-08 Thomas Hellström <unichrome-at-shipmail-dot-org> 1973 1974 * unichrome/via_accel.c: (viaPixelARGB8888): 1975 1976 - Merge exa_branch 130:132. Rendering errors. 1977 - Changelog typo. 1978 19792006-01-08 Thomas Hellström <unichrome-at-shipmail-dot-org> 1980 1981 * unichrome/via_3d.c: (viaSet3DFlags), (viaSet3DCompositeOperator): 1982 * unichrome/via_accel.c: (viaIsAGP): 1983 1984 - Merge exa_branch 127:130. Rendering errors. 1985 19862006-01-08 Thomas Hellström <unichrome-at-shipmail-dot-org> 1987 1988 * unichrome/Makefile.am: 1989 1990 - Modular build fix. (Boris Dusek) 1991 19922006-01-07 Thomas Hellström <unichrome-at-shipmail-dot-org> 1993 1994 * unichrome/Imakefile: 1995 * unichrome/via_accel.c: (viaDumpDMA), (viaFlushPCI), 1996 (viaFlushDRIEnabled), (viaSetupCBuffer), (viaAccelClippingHelper), 1997 (viaAccelSolidHelper), (viaAccelPlaneMaskHelper), 1998 (viaAccelTransparentHelper), (viaAccelCopyHelper), 1999 (viaSetupForScreenToScreenCopy), (viaSubsequentScreenToScreenCopy), 2000 (viaSetupForSolidFill), (viaSubsequentSolidFillRect), 2001 (viaSetupForMono8x8PatternFill), 2002 (viaSubsequentMono8x8PatternFillRect), 2003 (viaSetupForColor8x8PatternFill), 2004 (viaSubsequentColor8x8PatternFillRect), 2005 (viaSetupForCPUToScreenColorExpandFill), 2006 (viaSubsequentScanlineCPUToScreenColorExpandFill), 2007 (viaSetupForImageWrite), (viaSubsequentImageWriteRect), 2008 (viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine), 2009 (viaSubsequentSolidHorVertLine), (viaSetupForDashedLine), 2010 (viaAccelMarkSync), (viaExaPrepareSolid), (viaExaSolid), 2011 (viaExaPrepareCopy), (viaExaCopy), (viaExaCompositePictDesc), 2012 (viaExaPrintComposite), (viaBitExpandHelper), (viaPixelARGB8888), 2013 (viaExpandablePixel), (viaCheckUpload), (viaOrder), 2014 (viaExaDownloadFromScreen), (viaExaTexUploadToScreen), 2015 (viaExaUploadToScreen), (viaExaUploadToScratch), 2016 (viaExaCheckComposite), (viaIsAGP), (viaIsOffscreen), 2017 (viaExaPrepareComposite), (viaExaComposite), (viaInitExa), 2018 (viaInitAccel), (viaExitAccel), (viaFinishInitAccel), 2019 (viaAccelBlitRect), (viaAccelFillRect), (viaAccelSyncMarker): 2020 * unichrome/via_dga.c: 2021 * unichrome/via_dmabuffer.h: 2022 * unichrome/via_dri.c: (VIADRIFBInit): 2023 * unichrome/via_driver.c: (VIALeaveVT), (VIAScreenInit), 2024 (VIAWriteMode), (VIACloseScreen): 2025 * unichrome/via_driver.h: 2026 2027 - Merge in exa_branch from revision 104 to 127. Exa Composite acceleration. 2028 See the branch Changelog for a detailed description of changes. 2029 20302006-01-06 Thomas Hellström 2031 2032 * unichrome/via_accel.c: (viaExaDownloadFromScreen), 2033 (viaExaUploadToScreen): 2034 * unichrome/via_video.c: (viaDmaBlitImage): 2035 2036 - Update Xv blit to new blit-combining feature of DRM. 2037 (Idea from Luc Verhaegen/Unichrome). 2038 - Prepare for ugly via_drm.h dmablit IOCTL arg change and via_drm.h 2039 versioning. 2040 20412005-12-29 Thomas Hellström <unichrome-at-shipmail-dot-org> 2042 2043 * unichrome/via_video.c: (viaDmaBlitImage): 2044 2045 - Fix Xv YUY2/RVXX dmaBlit stride. 2046 20472005-12-26 Thomas Hellström <unichrome-at-shipmail-dot-org> 2048 2049 * libxvmc/Makefile.am: 2050 2051 - Modular built two identical XvMC libs. The pro lib was not a pro lib. 2052 Fix this. (Tim Dodge) 2053 20542005-12-15 Thomas Hellström <unichrome-at-shipmail-dot-org> 2055 2056 * unichrome/via_accel.c: (viaInitAccel): 2057 2058 - Make sure the accel marker system is properly initialized. 2059 20602005-12-08 Thomas Hellström <unichrome-at-shipmail-dot-org> 2061 2062 * unichrome/via_driver.c: (VIAScreenInit): 2063 * unichrome/via_memory.c: (VIAAllocLinear): 2064 2065 - Protect the accelerated initial sceen clearing with a DRI lock. 2066 - Submit the correct context for drm memory allocation. 2067 20682005-12-08 Thomas Hellström <unichrome-at-shipmail-dot-org> 2069 2070 * unichrome/via_ch7xxx.c: (CH7xxxModeI2C): 2071 * unichrome/via_dri.c: (VIADRIAgpInit): 2072 * unichrome/via_driver.c: (VIAScreenInit): 2073 * unichrome/via_id.c: 2074 2075 - Moved the memset from previous commit to after dri is initialized, so 2076 that AGP command submission will work. 2077 - Silenced some warnings. 2078 20792005-12-08 Thomas Hellström <unichrome-at-shipmail-dot-org> 2080 2081 * unichrome/via_driver.c: (VIAScreenInit): 2082 * unichrome/via_mode.c: (ViaModePrimary): 2083 * unichrome/via_vbe.c: (ViaVbeSetMode): 2084 2085 - Moved memset to blank screen from ModeSetting to ScreenInit, in 2086 an attempt to avoid long standing hangs on K8M800. Also use 2087 the 2D engine for this if acceleration is enabled. 2088 20892005-12-07 Thomas Hellström <unichrome-at-shipmail-dot-org> 2090 2091 * Makefile.in: 2092 2093 - Removed Makefile.in since it is generated by the build process. 2094 20952005-12-06 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com> 2096 2097 * Makefile.am: 2098 * Makefile.in: 2099 2100 - Added Makefile.am and Makefile.in to allow running make 2101 in the root directory. 2102 21032005-12-06 Thomas Hellström <unichrome-at-shipmail-dot-org> 2104 2105 * acinclude.m4: 2106 * autogen.sh: 2107 * configure.ac: 2108 * libxvmc/Makefile.am: 2109 * libxvmc/driDrawable.c: 2110 * libxvmc/viaLowLevel.c: 2111 * libxvmc/viaLowLevelPro.c: 2112 * libxvmc/viaXvMC.c: 2113 * libxvmc/viaXvMCPriv.h: 2114 * libxvmc/xf86dri.c: 2115 * man/Makefile.am: 2116 * unichrome/Makefile.am: 2117 * unichrome/via_accel.c: 2118 * unichrome/via_bandwidth.c: 2119 * unichrome/via_ch7xxx.c: 2120 * unichrome/via_cursor.c: 2121 * unichrome/via_dga.c: 2122 * unichrome/via_dri.c: 2123 * unichrome/via_driver.c: 2124 * unichrome/via_i2c.c: 2125 * unichrome/via_id.c: 2126 * unichrome/via_memcpy.c: 2127 * unichrome/via_memory.c: 2128 * unichrome/via_mode.c: 2129 * unichrome/via_shadow.c: 2130 * unichrome/via_vbe.c: 2131 * unichrome/via_vgahw.c: 2132 * unichrome/via_vt162x.c: 2133 * unichrome/via_xvmc.c: 2134 2135 - Adjust for modular build. 2136 21372005-12-04 Thomas Hellström <unichrome-at-shipmail-dot-org> 2138 2139 * unichrome/via_vt162x.c: (VT1622ModeCrtc): 2140 2141 - Fix trac item #13. 2142 This will probably also make TV-out work on some K8M/N800 laptops, 2143 and will probaly fix TV-out after a resume. 2144 21452005-12-02 Thomas Hellström <unichrome-at-shipmail-dot-org> 2146 2147 * libxvmc/Imakefile: 2148 * libxvmc/xf86dri.c: 2149 2150 - 64 bit fixes on libviaXvMC* 2151 21522005-12-02 Thomas Hellström <unichrome-at-shipmail-dot-org> 2153 2154 * unichrome/via_accel.c: (viaAccelPlaneMaskHelper), 2155 (viaAccelTransparentHelper), (viaSetupForScreenToScreenCopy), 2156 (viaSetupForSolidFill), (viaSetupForMono8x8PatternFill), 2157 (viaSetupForColor8x8PatternFill), 2158 (viaSetupForCPUToScreenColorExpandFill), (viaSetupForImageWrite), 2159 (viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine), 2160 (viaSetupForDashedLine), (viaAccelMarkSync), (viaExaPrepareSolid), 2161 (viaExaPrepareCopy), (viaInitAccel), (viaDGABlitRect), 2162 (viaDGAFillRect): 2163 * unichrome/via_driver.c: 2164 * unichrome/via_driver.h: 2165 2166 - Merge exa_branch revisions 91:104: 2167 Add support for EXA planemasks. 2168 Tell loader about some missing EXA functions (Reported by Adam Jackson). 2169 Fix broken XAA dashed lines. 2170 21712005-12-01 Thomas Hellström <unichrome-at-shipmail-dot-org> 2172 2173 * libxvmc/Imakefile: 2174 * unichrome/Imakefile: 2175 * unichrome/via_driver.c: 2176 2177 - Remove drmCommandWriteRead from drm loader symbols again. 2178 Ivor had already added it :) 2179 - Fix a typo in unichrome/Imakefile that broke build on x86_64. 2180 - Add $(PICFLAGS) to libxvmc Makefile to make it build on x86_64. 2181 21822005-12-01 Thomas Hellström <unichrome-at-shipmail-dot-org> 2183 2184 * unichrome/via_driver.c: 2185 * unichrome/via_memory.c: (VIAFreeLinear): 2186 2187 - Add drmCommandWriteRead to drm loader symbols. 2188 - Make the drm freemem call drmCommandWrite. 2189 21902005-11-29 Thomas Hellström <unichrome-at-shipmail-dot-org> 2191 2192 * unichrome/via_accel.c: (viaInitAccel): 2193 * unichrome/via_memory.c: (VIAAllocLinear): 2194 2195 - Merge exa_branch revisions 86:91 2196 21972005-11-29 Thomas Hellström <unichrome-at-shipmail-dot-org> 2198 2199 * unichrome/Imakefile: 2200 2201 - Yet another drm.h include fixup. For 6.8 and earlier? 2202 22032005-11-28 Ivor Hewitt <ivor-at-ivor-dot-org> 2204 2205 * unichrome/via_id.c: 2206 2207 - Just another id. (Tobias Blom) 2208 22092005-11-28 Thomas Hellström <unichrome-at-shipmail-dot-org> 2210 2211 * unichrome/Imakefile: 2212 2213 - Include the correct drm.h file. This is important for 64 bit builds. 2214 22152005-11-26 Thomas Hellström <unichrome-at-shipmail-dot-org> 2216 2217 * unichrome/via_accel.c: (viaFlushDRIEnabled), (viaSetupCBuffer): 2218 2219 - Merged EXA branch changes between revisions 84 and 86. 2220 22212005-11-23 Thomas Hellström <unichrome-at-shipmail-dot-org> 2222 2223 * unichrome/via_accel.c: (viaFlushPCI), (viaFlushDRIEnabled), 2224 (viaSetupCBuffer), (viaTearDownCBuffer), (viaEnableVQ), 2225 (viaDisableVQ), (viaAccelSetMode), (viaInitialize2DEngine), 2226 (viaAccelSync), (viaSetClippingRectangle), 2227 (viaAccelClippingHelper), (viaAccelSolidHelper), 2228 (viaAccelTransparentHelper), (viaAccelCopyHelper), 2229 (viaSetupForScreenToScreenCopy), (viaSubsequentScreenToScreenCopy), 2230 (viaSetupForSolidFill), (viaSubsequentSolidFillRect), 2231 (viaSetupForMono8x8PatternFill), 2232 (viaSubsequentMono8x8PatternFillRect), 2233 (viaSetupForColor8x8PatternFill), 2234 (viaSubsequentColor8x8PatternFillRect), 2235 (viaSetupForCPUToScreenColorExpandFill), 2236 (viaSubsequentScanlineCPUToScreenColorExpandFill), 2237 (viaSetupForImageWrite), (viaSubsequentImageWriteRect), 2238 (viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine), 2239 (viaSubsequentSolidHorVertLine), (viaSetupForDashedLine), 2240 (viaSubsequentDashedTwoPointLine), (viaInitXAA), 2241 (viaAccelMarkSync), (viaAccelWaitMarker), (viaExaPrepareSolid), 2242 (viaExaSolid), (viaExaPrepareCopy), (viaExaCopy), 2243 (viaExaDownloadFromScreen), (viaExaUploadToScreen), (viaInitExa), 2244 (viaInitAccel), (viaExitAccel), (viaDGABlitRect), (viaDGAFillRect): 2245 2246 - Merged EXA branch changes between revisions 74 and 84. Mainly 2247 indentations and minor bugfixes. 2248 22492005-11-15 Thomas Hellström <unichrome-at-shipmail-dot-org> 2250 2251 * unichrome/via_swov.c: (ViaSwovSurfaceCreate), 2252 (ViaSwovSurfaceDestroy): 2253 * unichrome/via_video.c: (viaSetupAdaptors): 2254 * unichrome/via_xvpriv.h: 2255 2256 - Fix Xv surface destruction and re-allocation. 2257 (Reported by Cedric Berger). 2258 22592005-11-15 Thomas Hellström <unichrome-at-shipmail-dot-org> 2260 2261 * unichrome/Imakefile: 2262 * unichrome/via_accel.c: (viaTearDownCBuffer), 2263 (viaAccelSolidHelper), (viaAccelCopyHelper), 2264 (viaExaDownloadFromScreen), (viaExaUploadToScreen): 2265 * unichrome/via_driver.c: (VIAScreenInit): 2266 2267 - Merged changes in exa_branch revisions 67 to 74. For a detailed 2268 ChangeLog, see that branch. 2269 22702005-11-09 Thomas Hellström <unichrome-at-shipmail-dot-org> 2271 2272 * unichrome/Imakefile: 2273 * unichrome/via_accel.c: (viaFlushPCI), (viaFlushDRIEnabled), 2274 (viaSetupCBuffer), (viaTearDownCBuffer), (viaInitAgp), 2275 (viaEnableVQ), (viaDisableVQ), (viaAccelSetMode), 2276 (viaInitialize2DEngine), (viaAccelSync), (viaSetClippingRectangle), 2277 (viaDisableClipping), (viaAccelClippingHelper), 2278 (viaAccelSolidHelper), (viaAccelTransparentHelper), 2279 (viaAccelCopyHelper), (viaSetupForScreenToScreenCopy), 2280 (viaSubsequentScreenToScreenCopy), (viaSetupForSolidFill), 2281 (viaSubsequentSolidFillRect), (viaSetupForMono8x8PatternFill), 2282 (viaSubsequentMono8x8PatternFillRect), 2283 (viaSetupForColor8x8PatternFill), 2284 (viaSubsequentColor8x8PatternFillRect), 2285 (viaSetupForCPUToScreenColorExpandFill), 2286 (viaSubsequentScanlineCPUToScreenColorExpandFill), 2287 (viaSetupForImageWrite), (viaSubsequentImageWriteRect), 2288 (viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine), 2289 (viaSubsequentSolidHorVertLine), (viaSetupForDashedLine), 2290 (viaSubsequentDashedTwoPointLine), (viaInitXAA), 2291 (viaAccelMarkSync), (viaAccelWaitMarker), (viaExaPrepareSolid), 2292 (viaExaSolid), (viaExaDoneSolidCopy), (viaExaPrepareCopy), 2293 (viaExaCopy), (viaExaDownloadFromScreen), (viaExaUploadToScreen), 2294 (viaInitExa), (viaInitAccel), (viaExitAccel), (viaDGABlitRect), 2295 (viaDGAFillRect), (viaDGAWaitMarker): 2296 * unichrome/via_cursor.c: (VIALoadCursorImage): 2297 * unichrome/via_dga.c: 2298 * unichrome/via_dri.c: (VIADRIFBInit), (VIADRIScreenInit), 2299 (VIADRICloseScreen), (VIADRIFinishScreenInit): 2300 * unichrome/via_driver.c: (VIASetup), (VIAPreInit), (VIALeaveVT), 2301 (VIAScreenInit), (VIAWriteMode), (VIACloseScreen), (VIASwitchMode): 2302 * unichrome/via_driver.h: 2303 * unichrome/via_memcpy.c: (viaVidCopyInit): 2304 * unichrome/via_memory.c: (VIAFreeLinear), (offScreenLinear), 2305 (VIAAllocLinear), (VIAInitLinear): 2306 * unichrome/via_priv.h: 2307 * unichrome/via_vbe.c: (ViaVbeSetMode): 2308 2309 - Merge exa_branch from revision 52 to 67. For a detailed Changelog, 2310 check that branch. 2311 23122005-11-09 Ivor Hewitt <ivor-at-ivor-dot-org> 2313 2314 * unichrome/via_driver.c: (VIAPreInit): 2315 * unichrome/via_mode.c: (ViaModeDotClockTranslate): 2316 2317 - Fix pro-mode and remove pro warning. (Paul Bender) 2318 23192005-11-08 Ivor Hewitt <ivor-at-ivor-dot-org> 2320 2321 * unichrome/via_driver.c: (VIASwitchMode): 2322 2323 - Don't kickVblank with no DRI enabled. (Joris van Rantwijk) 2324 23252005-11-02 Ivor Hewitt <ivor-at-ivor-dot-org> 2326 2327 * unichrome/via_mode.c: (ViaGetMemoryBandwidth): 2328 * unichrome/via_mode.h: 2329 2330 - Give VM800 some bandwidth. 2331 23322005-11-01 Thomas Hellström <unichrome-at-shipmail-dot-org> 2333 2334 * libxvmc/viaLowLevel.c: (viaDMAInitTimeStamp): 2335 * libxvmc/viaLowLevelPro.c: (viaDMAInitTimeStamp), 2336 (updateLowLevelBuf): 2337 * unichrome/via_drmclient.h: 2338 2339 - Fix compilation errors caused by the drm / dri update. 2340 (reported by Tarun Kripalani) 2341 23422005-10-31 Thomas Hellström <unichrome-at-shipmail-dot-org> 2343 2344 * unichrome/via_accel.c: (VIAInitAccel): 2345 * unichrome/via_cursor.c: (VIAHWCursorInit): 2346 2347 - Second attempt at fixing the hw cursor issue. 2348 There were actually two errors involved. 2349 23502005-10-31 Thomas Hellström <unichrome-at-shipmail-dot-org> 2351 2352 * unichrome/via_xvpriv.h: 2353 2354 - Fix stray include left over by previous commit. 2355 23562005-10-31 Ivor Hewitt <ivor-at-ivor-dot-org> 2357 2358 * unichrome/via_id.c: 2359 2360 - Mitac 8889 device id. (Daniel Schindler) 2361 23622005-10-30 Thomas Hellström <unichrome-at-shipmail-dot-org> 2363 2364 * unichrome/via_accel.c: (VIAInitAccel): 2365 2366 - Revert the hardware cursor fix since it for some strange reason 2367 makes hw cursors white. Need to figure out why. 2368 23692005-10-30 Thomas Hellström <unichrome-at-shipmail-dot-org> 2370 2371 * unichrome/via_video.c: (viaInitVideo), (viaSetupAdaptors), 2372 (nv12cp), (viaDmaBlitImage), (viaPutImage), (nv12Blit): 2373 * unichrome/via_xvpriv.h: 2374 2375 - Enable DMA Xv image transfers also for PM8X0 / CN400. 2376 YV12 to NV12 conversion is still software but now takes place 2377 in system memory instead of during transfer to framebuffer memory. 2378 CPU usage is much improved on PM8X0. Less so on CN400. 2379 Hardware YV12 to NV12 conversion using the blitter was implemented 2380 and tested but was very slow, probably due to the fact that blitting 2381 only took place one column at a time. Since sync on the 2D engine 2382 currently requires a busy-wait, the approach was not only slow, but 2383 also CPU-consuming. 2384 23852005-10-27 Thomas Hellström <unichrome-at-shipmail-dot-org> 2386 2387 * unichrome/via_video.c: (viaExitVideo), (viaSaveVideo), 2388 (viaRestoreVideo), (VIAVidAdjustFrame): 2389 2390 - Fix server crash when compiled without -DXvExtension. 2391 23922005-10-27 Thomas Hellström <unichrome-at-shipmail-dot-org> 2393 2394 * unichrome/via_dri.c: (VIADRIRingBufferInit), (VIADRIScreenInit), 2395 (VIADRIFinishScreenInit), (VIADRIMapInit): 2396 * unichrome/via_dri.h: 2397 * unichrome/via_driver.h: 2398 * unichrome/via_drm.h: 2399 * unichrome/via_memory.c: (VIAFreeLinear), (VIAAllocLinear): 2400 * unichrome/via_video.c: (viaInitVideo): 2401 * unichrome/via_xvmc.c: (ViaInitXVMC): 2402 2403 - Sync dri handling with Xorg. This should hopefully make it run 2404 with Mesa 6.4 again. (Luc Verhaegen, Eric Anholt, me) 2405 24062005-10-27 Thomas Hellström <unichrome-at-shipmail-dot-org> 2407 2408 * unichrome/via_video.c: (viaPutImage): 2409 2410 - Make via_video.c compile without -DXF86DRI. Was broken with the 2411 dmablit commit. (Reported by Luc Verhaegen) 2412 24132005-10-27 Thomas Hellström <unichrome-at-shipmail-dot-org> 2414 2415 * unichrome/via_accel.c: (VIAInitAccel): 2416 2417 - Fix HW cursor memory allocation. 2418 24192005-10-18 Ivor Hewitt <ivor-at-ivor-dot-org> 2420 2421 * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO), 2422 (ViaSetSecondaryFIFO): 2423 * unichrome/via_driver.c: (VIAPreInit): 2424 * unichrome/via_id.c: 2425 * unichrome/via_id.h: 2426 * unichrome/via_swov.c: (VIAVidHWDiffInit): 2427 2428 - Remaining device id's lying about. 2429 - Remove PM800 conditionals. 2430 24312005-10-18 Ivor Hewitt <ivor-at-ivor-dot-org> 2432 2433 * unichrome/via_driver.c: (VIAPreInit): 2434 * unichrome/via_id.c: 2435 * unichrome/via_id.h: 2436 * unichrome/via_mode.h: 2437 2438 - Device id additions. AsRock P4VM800 reported by Mariano Benedettini 2439 24402005-09-25 Thomas Hellström <unichrome-at-shipmail-dot-org> 2441 2442 * unichrome/via.h: 2443 * unichrome/via_dri.c: (VIADRIRingBufferInit), 2444 (VIADRIFinishScreenInit): 2445 * unichrome/via_dri.h: 2446 * unichrome/via_driver.h: 2447 * unichrome/via_drm.h: 2448 * unichrome/via_priv.h: 2449 * unichrome/via_swov.c: (viaWaitHQVFlip), (viaWaitHQVFlipClear), 2450 (viaWaitHQVDone), (viaOverlayGetV1V3Format), 2451 (viaOverlayGetSrcStartAddress), (viaOverlayGetFetch), 2452 (viaSetColorSpace), (ViaSetVidCtl), (AddHQVSurface), 2453 (ViaSwovSurfaceCreate), (ViaSwovSurfaceDestroy), 2454 (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), (SetColorKey), 2455 (SetChromaKey), (SetHQVFetch), (Upd_Video), (VIAVidUpdateOverlay), 2456 (ViaOverlayHide): 2457 * unichrome/via_video.c: (DecideOverlaySupport), (viaResetVideo), 2458 (viaSaveVideo), (viaExitVideo), (viaInitVideo), (viaReputImage), 2459 (viaSetupAdaptors), (viaStopVideo), (Flip), (nv12cp), 2460 (viaDmaBlitImage), (viaPutImage), (viaQueryImageAttributes): 2461 * unichrome/via_xvmc.c: (ViaInitXVMC): 2462 * unichrome/via_xvpriv.h: 2463 2464 Big Xv update. 2465 - Bring Xv in sync with Xorg, which includes RV15 and RV16 support. 2466 - Add support for PCI DMA Xv image transfer. This requires DRM >= 2.7.0, 2467 and does not yet work on Unichrome Pro group A, since YV12->NV12 2468 hardware conversion is not yet implemented. 2469 24702005-08-13 Thomas Hellström <unichrome-at-shipmail-dot-org> 2471 2472 * unichrome/via_swov.c: (ViaSwovSurfaceDestroy): 2473 2474 - Destroy video surfaces on video exit / stop. 2475 24762005-08-13 Thomas Hellström <unichrome-at-shipmail-dot-org> 2477 2478 * unichrome/via_driver.c: (VIAAdjustFrame) 2479 2480 - Fix Xv panning also for VBEModes. 2481 24822005-08-12 Thomas Hellström <unichrome-at-shipmail-dot-org> 2483 2484 * unichrome/via_driver.c: (VIAEnterVT): 2485 2486 - Fix segfault on EnterVT when DRI is not enabled. 2487 (Joris van Rantwijk) 2488 24892005-08-12 Thomas Hellström <unichrome-at-shipmail-dot-org> 2490 2491 * unichrome/via_priv.h: 2492 * unichrome/via_swov.c: (VIAVidUpdateOverlay): 2493 * unichrome/via_video.c: (RegionsEqual), (viaReputImage), 2494 (viaSetupAdaptors), (VIAVidAdjustFrame): 2495 2496 - Fix Xv panning. Speed up overlay updates on window moves. 2497 24982005-08-12 Thomas Hellström <unichrome-at-shipmail-dot-org> 2499 2500 * unichrome/via_video.c: (viaExitVideo): 2501 2502 - Fix stopvideo for all ports and adaptors. 2503 25042005-08-10 Ivor Hewitt <ivor-at-ivor-dot-org> 2505 2506 * unichrome/Imakefile: 2507 * unichrome/via_bios.h: 2508 * unichrome/via_ch7xxx.c: (CH7xxxPrintRegs), (ViaCH7xxxDetect), 2509 (CH7xxxSave), (CH7xxxRestore), (CH7xxxDACSenseI2C), 2510 (CH7xxxDACSense), (CH7011ModeIndex), (CH7019ModeIndex), 2511 (CH7xxxModeValid), (CH7xxxModeI2C), (CH7xxxModeCrtc), 2512 (CH7xxxTVPower), (CH7019LCDPower), (ViaCH7xxxInit): 2513 * unichrome/via_ch7xxx.h: 2514 * unichrome/via_driver.c: (VIAPreInit): 2515 * unichrome/via_id.c: 2516 * unichrome/via_mode.c: (ViaTVDetect), (ViaTVInit): 2517 * unichrome/via_vt162x.c: (ViaVT162xDetect), (VT1625DACSenseI2C), 2518 (VT1625DACSense), (VT1621ModeIndex), (VT1622ModeIndex), 2519 (VT1625ModeValid), (VT1622ModeI2C), (VT1622ModeCrtc), 2520 (VT1625Power), (ViaVT162xInit): 2521 * unichrome/via_vt162x.h: 2522 2523 - Initial steps to incorporating CH7xxx and VT1625 support; 2524 merging patches from David George, Philip Prindeville, Terry Lewis. 2525 25262005-07-30 Ivor Hewitt <ivor-at-ivor-dot-org> 2527 2528 * libxvmc/Imakefile: 2529 * unichrome/via_mode.c: (ViaGetMemoryBandwidth), 2530 (ViaModePrimaryVGA), (ViaModePrimary): 2531 * unichrome/via_swov.c: 2532 2533 - Merge fixes from xorg for typos in mode setting and sync set 2534 25352005-07-18 Ivor Hewitt <ivor-at-ivor-dot-org> 2536 2537 * unichrome/via_id.c: 2538 2539 - Additional card-id. Reported by Philip Prindeville. 2540 25412005-07-04 Thomas Hellström <unichrome-at-shipmail-dot-org> 2542 2543 * unichrome/via_driver.c: (VIAPreInit), (VIAScreenInit): 2544 * unichrome/via_id.c: 2545 2546 - Avoid calling DPMS to blank screen during init with VBEModes. 2547 - Add another card ID. 2548 25492005-06-29 Ivor Hewitt <ivor-at-ivor-dot-org> 2550 2551 * unichrome/via_id.c: 2552 2553 - Additional card-ids. Patch from Xavier Bachelot 2554 25552005-06-26 Thomas Hellström <unichrome-at-shipmail-dot-org> 2556 2557 * libxvmc/viaLowLevelPro.c: (finish_header_agp), (syncDMA), 2558 (syncVideo), (pciFlush), (agpFlush), (uploadHQVDeinterlace), 2559 (uploadHQVShadow), (flushXvMCLowLevel), (flushPCIXvMCLowLevel), 2560 (viaMpegSetSurfaceStride), (viaVideoSetSWFLipLocked), 2561 (viaVideoSWFlipLocked), (viaMpegSetFB), (viaMpegBeginPicture), 2562 (viaMpegReset), (viaMpegWriteSlice), (viaVideoSubPictureOffLocked), 2563 (viaVideoSubPictureLocked), (viaBlit), (syncXvMCLowLevel), 2564 (releaseXvMCLowLevel), (initXvMCLowLevel), (closeXvMCLowLevel): 2565 2566 - Clean up the VIDEO_DMA ifdef mess before xorg inclusion. 2567 - Make VIDEO_DMA wait for DMA quiescent before flipping, pending proper 2568 HQV locking. 2569 - Disable VIDEO_DMA to improve latency pending proper HQV locking. 2570 25712005-06-17 Thomas Hellström <unichrome-at-shipmail-dot-org> 2572 2573 * unichrome/via_mode.c: (ViaSetPrimaryDotclock), 2574 (ViaSetSecondaryDotclock), (ViaComputeProDotClock), 2575 (ViaModeDotClockTranslate): 2576 2577 - Free dotclock on Unichrome Pro. Pls report problems with 2578 unstable clocks. 2579 - Minor 64-bit fixes. 2580 25812005-06-16 Thomas Hellström <unichrome-at-shipmail-dot-org> 2582 2583 * unichrome/via_xvmc.c: (ViaXvMCCreateContext), 2584 (ViaXvMCCreateSurface), (ViaXvMCCreateSubpicture): 2585 * unichrome/via_xvmc.h: 2586 2587 - XvMC 64 bit fixes. XvMC now runs on K8M800 64-bit Linux. 2588 25892005-06-12 Thomas Hellström <unichrome-at-shipmail-dot-org> 2590 2591 * unichrome/via_bios.h: 2592 * unichrome/via_i2c.c: 2593 * unichrome/via_mode.c: (ViaTVRestore): 2594 * unichrome/via_vt162x.c: (VT162xPrintRegs), (ViaVT162xDetect), 2595 (VT162xSave), (VT162xRestore), (ViaVT162xInit): 2596 2597 - Fix up the vt1623 encoder: Correct device ID, number of registers 2598 and most of all reading from the i2cbus it is sitting on. 2599 26002005-06-11 Thomas Hellström <unichrome-at-shipmail-dot-org> 2601 2602 * unichrome/via_dri.c: (VIADRIScreenInit): 2603 2604 - Update via_dri.c to compile with new libdri. 2605 26062005-06-01 Thomas Hellström <unichrome-at-shipmail-dot-org> 2607 2608 * unichrome/via_mode.c: (ViaModePrimary): 2609 * unichrome/via_vt162x.h: 2610 2611 - Fix TV-out on Unichrome Pro. To make it work CRT+TV needs to be 2612 enabled in BIOS. Still it will hang the machine or possibly only 2613 the display chip on X server exit. 2614 - Import the 720x576Noscale mode for vt1622A/vt1623 from the Unichrome 2615 driver (Terry Barnaby) 2616 26172005-05-25 Thomas Hellström <unichrome-at-shipmail-dot-org> 2618 2619 * libxvmc/viaLowLevelPro.c: (setHQVDeinterlacing): 2620 * libxvmc/viaXvMC.c: 2621 * unichrome/via_driver.c: 2622 * unichrome/via_mode.c: (ViaModePrimary): 2623 * unichrome/via_mode.h: 2624 * unichrome/via_vt162x.c: (ViaVT162xDetect): 2625 2626 - Updated incorrect field order in libViaXvMCPro. 2627 - Fixed warnings about unresolved int10 symbols in the Unichrome driver. 2628 - Updated Unichrome Pro dotclocks - also for TV. 2629 - Made the driver recognize the vt1623 TV encoder on the EPIA SP13000. 2630 - Removed unnecessary define in viaXvMC.c. 2631 26322005-05-16 Thomas Hellström <unichrome-at-shipmail-dot-org> 2633 2634 * libxvmc/driDrawable.c: (getDRIDrawableInfoLocked): 2635 * libxvmc/viaXvMC.c: (releaseContextResources), 2636 (XvMCCreateContext): 2637 * libxvmc/xf86dri.c: (uniDRIDestroyContext), 2638 (uniDRICreateDrawable), (uniDRIDestroyDrawable), 2639 (uniDRIGetDrawableInfo): 2640 * libxvmc/xf86dri.h: 2641 2642 - Changed DRI client function names since they clash with 2643 via_dri.so, causing strange problems in, for example, xine. 2644 26452005-05-16 Thomas Hellström <unichrome-at-shipmail-dot-org> 2646 2647 * unichrome/via_dri.c: (VIASetAgpMode), (VIADRIAgpInit): 2648 2649 - Added better AGP mode control to the DDX. 2650 26512005-05-11 Thomas Hellström <unichrome-at-shipmail-dot-org> 2652 2653 * prepare-ChangeLogSVN.pl: 2654 2655 - Added the above file for generation of ChangeLog Entries. 2656 26572005-05-11 Thomas Hellström <unichrome-at-shipmail-dot-org> 2658 2659 * libxvmc/driDrawable.c: 2660 * libxvmc/viaLowLevel.c: (hwlLock), (hwlUnlock), 2661 (setAGPSyncLowLevel), (viaDMATimeStampLowLevel), 2662 (flushXvMCLowLevel), (flushPCIXvMCLowLevel), 2663 (viaMpegSetSurfaceStride), (viaVideoSetSWFLipLocked), 2664 (viaVideoSWFlipLocked), (viaMpegSetFB), (viaMpegBeginPicture), 2665 (viaMpegReset), (viaMpegWriteSlice), (viaVideoSubPictureOffLocked), 2666 (viaVideoSubPictureLocked), (viaBlit), (syncXvMCLowLevel), 2667 (initXvMCLowLevel), (setLowLevelLocking), (closeXvMCLowLevel): 2668 * libxvmc/viaLowLevel.h: 2669 * libxvmc/viaLowLevelPro.c: (initHQVShadow), 2670 (setHQVHWDeinterlacing), (setHQVDeblocking), (setHQVStartAddress), 2671 (setHQVColorSpaceConversion), (setHQVFetchLine), (setHQVScale), 2672 (setHQVSingleDestination), (setHQVDeinterlacing), 2673 (setHQVTripleBuffer), (hwlLock), (hwlUnlock), (setAGPSyncLowLevel), 2674 (viaDMATimeStampLowLevel), (viaDMAInitTimeStamp), 2675 (uploadHQVDeinterlace), (uploadHQVShadow), (flushXvMCLowLevel), 2676 (flushPCIXvMCLowLevel), (viaMpegSetSurfaceStride), 2677 (viaVideoSetSWFLipLocked), (viaVideoSWFlipLocked), (viaMpegSetFB), 2678 (viaMpegBeginPicture), (viaMpegReset), (viaMpegWriteSlice), 2679 (viaVideoSubPictureOffLocked), (viaVideoSubPictureLocked), 2680 (viaBlit), (syncXvMCLowLevel), (updateLowLevelBuf), 2681 (cleanupLowLevelBuf), (initXvMCLowLevel), (setLowLevelLocking), 2682 (closeXvMCLowLevel), (computeDownScaling), 2683 (computeHQVScaleAndFilter), (setupBackBuffer): 2684 * libxvmc/viaXvMC.c: (grabDecoder), (releaseContextResources), 2685 (XvMCCreateContext), (XvMCCreateSurface), (XvMCPutSlice2), 2686 (XvMCPutSlice), (XvMCPutSurface), (XvMCBeginSurface), 2687 (XvMCSyncSurface), (XvMCLoadQMatrix), (XvMCCreateSubpicture), 2688 (XvMCSetSubpicturePalette), (XvMCClearSubpicture), 2689 (XvMCCompositeSubpicture), (XvMCBlendSubpicture2), 2690 (XvMCSyncSubpicture), (XvMCDestroySubpicture), (XvMCFlushSurface), 2691 (XvMCGetSurfaceStatus), (XvMCQueryAttributes), (XvMCSetAttribute), 2692 (XvMCGetAttribute), (XvMCHideSurface): 2693 * libxvmc/viaXvMCPriv.h: 2694 * unichrome/via_swov.c: (ViaSwovSurfaceCreate): 2695 * unichrome/via_video.c: (viaSetupAdaptors): 2696 * unichrome/via_xvpriv.h: 2697 2698 - Added ChangeLog to the repository. 2699 - Made the DDX update the overlay if a change in surface format occured 2700 while it's dimensions are still the same. 2701 - Made the XvMCLowLevel struct opaque (void *) and not defined in the 2702 header file. This allows for different definitions for different hardware 2703 - Added a HQV shadow which holds the HQV context for the Unichrome Pro. 2704 The purpose is twofold: 2705 1. If someone else touched the HQV since we last used it, we can upload the 2706 whole context. 2707 2. We do not need to read from the HQV, which is bad because we have to 2708 halt the DMA engine to do that. 2709 - Added and activated mpeg deblocking for Unichrome Pro. 2710 - Added a number of HQV utility functions for the upcoming video engine free 2711 output. These are not activated yet. (Unichrome Pro.) 2712 - Added HW deinterlacing functions. Deactivated, since I cannot see any visible 2713 difference. (Unichrome Pro.) 2714