summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-23dri: In the modular case include via_drm.h from default path.HEADmasterEgbert Eich1-1/+1
This file is provided by libdrm. The correct path to it should be provided by the libdrm pkgconfig file already. The path has changed from <prefix>/include/drm to <prefix>/include/libdrm recently. Signed-off-by: Egbert Eich <eich@freedesktop.org>
2011-05-23crtc/edid: Close fd before fd gets out of scope.Egbert Eich1-0/+2
Signed-off-by: Egbert Eich <eich@freedesktop.org>
2010-12-06xorg: update to new XvReputImage APILuc Verhaegen2-4/+58
Now we might get called not only for changing frame or clipping, but also for changing modes. Handle this accordingly. Signed-off-by: Luc Verhaegen <libv@skynet.be>
2010-12-06xorg: remove x from xalloc/xcalloc/xfree symbolsLuc Verhaegen16-92/+92
These symbols are marked deprecated in newer X versions. Signed-off-by: Luc Verhaegen <libv@skynet.be>
2009-11-17ID: VT3371: Belinea C.Book 150x.Luc Verhaegen1-0/+1
Reported by Kanotix's Jörg Schirottke.
2009-11-11Xv: Fix colourspace after resume.Luc Verhaegen2-14/+18
Reported by Lluís Batlle i Rossell.
2009-11-11Xv: Stopping clipping the viewport.Luc Verhaegen1-1/+1
2009-11-06XvMC: Further build fixes.Luc Verhaegen2-12/+17
Fix issues pointed out by NixOS's Lluís Batlle i Rossell: * xvmc has its own .pc file and thus its own header location. * dpms headers are part of xextproto and not xproto and thus need a different header .pc location as well. Further issues fixed: * xvmc build depends on DRI (for no good reason). * fix variable status uninitialized warnings on older X.
2009-11-04XvMC: Fix up build systems against all my installations.Luc Verhaegen12-77/+184
* Full autoconf checking of available infrastructure. * Work around broken vldXvMC.h headers that useless include include XvMClib.h. * Use the new dixLookupResourceByType call when available. * remove useless pc file for libXvMCunichrome, no-one will build against this lib anyway. * Fix up debian build system for the new xvmc dependency (if you do not want to depend on this debian package, build manually). * Set library version properly. * Fake XvMCDrawable is not a pointer. * Bump XVMCE proto version to 0.1. From now on we need to track this. * Build driver side xvmc support conditionally, but always build mpeg handling code for preprocessing simplicity.
2009-11-04Man: Update chipsets and add XvMC section and option.Luc Verhaegen1-6/+26
2009-11-04README: Provide intro, add package building and XvMC section.Luc Verhaegen1-14/+112
2009-11-04Xv: Remove REGION_EQUAL build time compatibility.Luc Verhaegen1-35/+0
2009-11-04README: Remove (partially empty) monolithic build info.Luc Verhaegen1-32/+1
2009-11-04XvMC: Upon Init (CreateContext) reset the engine.Luc Verhaegen1-0/+3
2009-11-04XvMC: Fix up XvMCDestroyContext.Luc Verhaegen1-3/+6
Removes some noise in the log, but does not remove the bug i am seeing with xine (old mpeg sizes passed when going back to YV12).
2009-11-04Xv(MC): Improve engine idle waits.Luc Verhaegen2-46/+37
There's a lot of cpu cycles to be gained by avoid the usleep system call.
2009-11-04XvMC: Track flipping Buffer from via_video.c as well.Luc Verhaegen3-0/+20
2009-11-04XvMC: Turns out we do not need to tell xine about our Status.Luc Verhaegen6-155/+7
Serverside sync everything on its own anyway. Ain't that nice.
2009-11-04XvMC: Hide noisy debugging messages behind a macro.Luc Verhaegen4-50/+65
2009-11-04XvMC: Remove useless Intrinsic.h inclusion in xvmce.c.Luc Verhaegen1-1/+0
2009-11-04XvMC: Dump subpicture support.Luc Verhaegen7-497/+109
There is little to no correlation between the subpicture support in this hardware and the API. Also, the xine module is very very badly implemented. So drop subpictures completely for now, when there is a winner in the new APIs, i will port my working hw level code to that. Add an xorg.conf option which enables us to fool the xine xxmc module to start by halfarsedly claiming subpictures.
2009-11-04XvMC: Subpicture: Implement preliminary Clear.Luc Verhaegen6-8/+126
The API for subpictures is horrible. And quite amazingly so..
2009-11-04XvMC: Initial subpicture support: fill in XvMC hooks.Luc Verhaegen5-19/+172
2009-11-04XvMC: Working mpeg-2 decoding.Luc Verhaegen4-124/+179
Next up, subpicture support.
2009-11-04XvMC: Send QMatrix to the hw.Luc Verhaegen2-3/+2
2009-11-04XvMC: Extend protocol to pass slice count around.Luc Verhaegen5-9/+13
2009-11-04XvMC: Fill out Xv side further so that we display (empty) mpeg buffers.Luc Verhaegen3-34/+120
2009-11-04XvMC: Hook up mpeg code to test buffer handling.Luc Verhaegen3-225/+247
Clean up the interface, bail out of SliceInit and SlicePut before touching the hw. Buffer allocation and handling seems ok now. Next up, having Xv display empty Mpeg allocated buffers.
2009-11-04XvMC: Add MPEG and Subpicture engine hw code from xuma.Luc Verhaegen9-39/+918
I just made it build and did some boilerplate things. Next up, i will try to hook it to actual calls.
2009-11-04XvMC: Hook up Xv and PutImage the surface XID into the driver.Luc Verhaegen2-7/+119
Next up, attaching hw code!
2009-11-04XvMC: Implement SliceInit and SliceSend protocol.Luc Verhaegen5-5/+343
2009-11-04XvMC: Implement Buffer Status retrieval.Luc Verhaegen5-34/+212
2009-11-04XvMC: xvmc_unichrome.c: order functions logically.Luc Verhaegen1-146/+162
2009-11-04XvMC: Add qmatrix proto and fill out context and surface handling.Luc Verhaegen5-39/+248
Qmatrix is part of the newly created X protocol. Surface and context creation/destruction, XID based, is using plain old XvMC. Verbosity was increased on both sides of the thing, to clearly track and verify the workings of the above code.
2009-11-04XvMC: Fill out the library enough to fool xine.Luc Verhaegen1-20/+27
2009-11-04XvMC: Start filling out XvMCCreateContext.Luc Verhaegen6-3/+428
Add some initial code for the _further_ X extension.
2009-11-04XvMC: Add boilerplate libXvMCunichromeLuc Verhaegen7-21/+462
2009-11-04XvMC: Add initial boilerplate XvMC support.Luc Verhaegen4-2/+199
2009-11-04noDRI: fix build broken in 4a72fbb5898Luc Verhaegen1-0/+2
2009-11-04Wrapper: fix wrapper under DoConfigure circumstances.Luc Verhaegen2-2/+16
xf86MatchDevice returns one then, but the pointer is still nulled. Accessing the first element of NULL then leads to fun. Also fix up the DoConfigure message of preinit (where we stop PreInit from being abused for monitor configuring).
2009-10-20AGP: Fix up PCI message in VIADRIFinishScreenInit.Luc Verhaegen1-1/+1
2009-10-18ID: VT3344: MSI Fuzzy CN700Luc Verhaegen1-0/+1
2009-10-15PLL: Sanitise the 4 different routines.Luc Verhaegen1-57/+62
* Improve debug output by showing multiplier, divider, postdivider. * Change logic to prefer lower multiplier/divider combinations when the result is the same. * Tighten up layout and structure.
2009-10-15Crtc: VT1122: Add initial modesetting support.Luc Verhaegen1-1/+43
* Add FIFOSet functions. * Use VT3230 PLL calculation, close to this, but less steep and lower. * Leave the rest of CRTC testing for this device as a TODO.
2009-10-15VT1122: Quickly fix lock on usage as VGA device.Luc Verhaegen1-2/+9
SR1A.1 is supposed to be MMIO enable, but when the device is accessed like a plain VGA device (whether this is through register space or memory, i do not know yet), the VT1122 hangs hard. VT1122 seems happy without this change though, maybe find out what hardware really needs this.
2009-10-15ID: VT1122: Add Quanta IL1.Luc Verhaegen1-1/+2
Plus, get rid of the VT3225 comment that was still left over.
2009-10-14Crtc: VT3230: Add initial modesetting support.Luc Verhaegen1-13/+52
* Add FIFOSet functions. * Change VT3157 PLL routines to calculate the limit for VT3230, as this is the steepest and most left limit of VT3157, VT3230, VT3343 and VT3371; but all are very close. * Leave the rest of CRTC testing for this device as a TODO.
2009-10-14ID: VT3230: Asus M2V-MX SE.Luc Verhaegen1-0/+1
The one with _full_ coreboot support!!!
2009-10-14Crtc: VT3371: Add initial modesetting support.Luc Verhaegen1-0/+43
* Add FIFOSet functions. * Use VT3157 PLL routine; it's close enough. * Keep the rest of the CRTC testing as a TODO for now.
2009-10-14Host: P4M900: Fix up ram typing.Luc Verhaegen1-1/+5
Got (semi-deliberately) broken by cca480fe.