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