summaryrefslogtreecommitdiff
path: root/src/xvmc/xvmc_vld.c
AgeCommit message (Collapse)Author
2011-10-29Use malloc/calloc/realloc/free directlyJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-02-17Fix IGD and IGDNG constants to be comprehensibleAdam Jackson
Since, with GPU-on-package, it's hard to talk about a model number for a specific chipset like 855GM, just use the platform names. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-31xvmc: Get rid of unused variables.Cyril Brulebois
Signed-off-by: Cyril Brulebois <kibi@debian.org> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-25Rename common infrastructure to the intel namespace.Chris Wilson
After splitting out the i810 driver into its own legacy directory, we can identify the common routines not as i830 but as intel. This clarifies the code which *is* i830 specific. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-25i810: Move into a legacy directory.Chris Wilson
The driver is still built but is no longer under active development so move it and supporting files to a new directory. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-05-11xvmc: Build fix with -pedanticChris Wilson
Fixes: Bug 27352 - RPMLINT error causes build breakage https://bugs.freedesktop.org/show_bug.cgi?id=27352 Reported-by: Johannes Obermayr <johannesobermayr@gmx.de> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-08libXvMC: unify CreateSurfaceDaniel Vetter
Simply store the desired bo size in intel_xvmc_context and initialize it in the driver's create_context function. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08libXvMC: derive driver context from struct intel_xvmc_contextDaniel Vetter
... by putting struct intel_xvmc_surface at the beginning. Also kill the common context handling code and simply keep a pointer in the surface private to the context. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08libXvMC: unify DestroySurfaceDaniel Vetter
Surface bo's can be freed by the common code, then there's nothing driver specific left. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08libXvMC: drop get_surface_status driver callbackDaniel Vetter
It's unused. Also drop all related generic code that tries to do clever stuff with this callback. These are all remnants from a pre-gem world. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08libXvMC: unify PutSurfaceDaniel Vetter
Now that the drm bo is in the common structure, do the PutImage handling in common code, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08libXvMC: move drm_intel_bo to common intel_xvmc_surfaceDaniel Vetter
i965 lost the last field in it's private surface struct. Kill it and any associated headers. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08XvMC: kill intel_xvmc_commandDaniel Vetter
We only passed around and actually used the gem handle. Don't need a struct for one field alone ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08XvMC: move i965 specific stuff to common contextDaniel Vetter
Like for the i915. With this create_context is now also shared. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08i965 XvMC: don't create any surface state in the ddxDaniel Vetter
Like for i915. Also drop that now totally superflous limit on the available surfaces. Move the surface struct into the userspace library header now that the ddx doesn't use it anymore. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-03-04libIntelXvMC: kill ums leftoversDaniel Vetter
On i965 class hw, kernel_exec_fencing was 1 always, anyway. And on i945, this patch kills a memory leak (dunno how, but it does). Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2009-10-06Move to kernel coding style.Eric Anholt
We've talked about doing this since the start of the project, putting it off until "some convenient time". Just after removing a third of the driver seems like a convenient time, when backporting's probably not happening much anyway.
2009-07-24XvMC: enable XvMC/XvMC-VLD on IGDNGXiang, Haihao
2009-06-10 enable MC on g45 for player without vld patchZou Nan hai
2009-05-19 switch XvMC to gemLi Shao Hua
2009-04-01 fixZou Nan hai
1.multiple instance 2.memory leak
2009-03-26 enable UV half pixelZou Nan hai
2009-03-25 XvMC VLD extension support for G4XZou Nan hai