summaryrefslogtreecommitdiff
path: root/src/xvmc/i915_xvmc.h
AgeCommit message (Collapse)Author
2010-04-08libXvMC i915: kill unused context private fieldsDaniel Vetter
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 i915: s/i915XvMCSurface/struct intel_xvmc_surface/Daniel Vetter
The private surface struct now adds nothing. Drop it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08libXvMC i915: rip out unneeded surface fieldsDaniel Vetter
All of these are also stored in the context. Also kill the context reference counting. Doesn't serve a purpose besides occupying a pointer to the context in the private surface struct. 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-08libXvMC: derive driver surfaces from struct intel_xvmc_surfaceDaniel Vetter
... by putting struct intel_xvmc_surface at the beginning. This will allow to consolidate surface and bo handling. Also kill some now dead code used to handle the common surface structure. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-04-08XvMC: move i915 specific stuff to common contextDaniel Vetter
Doing the same with the i965 code will allow us to share the create_context function. src/i915_hwmc.h is now almost empty. Move the last #defines to src/xvmv/i915_xvmc.c where they are actually used and delete the file. Also rename the ddx context struct to something sane. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-03-04i915 XvMC: switch surfaces to drm_intel_boDaniel Vetter
Now the last user of the fixed buffers provided by the ddx is gone! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: switch corrdata buffer to drm_intel_boDaniel Vetter
It works! v2: Correlation data needs to be in the render cache! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: switch msb to drm_intel_boDaniel Vetter
Like for the static indirect state buffer. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: switch sis to drm_intel_boDaniel Vetter
I've decided to allocate a new buffer for every render command, to prevent stalling for the gpu. libdrm bo reuse should take care of not wasting memory in case the buffer is not busy. Also always emit the full state, it's not worth it to complicate the code over a few stores to wc memory. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: switch psc to drm_intel_boDaniel Vetter
Like with the sampler state buffer. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: switch psp to drm_intel_boDaniel Vetter
Like with the sampler state buffer. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: switch ssb to drm_intel_boDaniel Vetter
This also starts to kill the last remnants of the support for physical addresses for the indirect state buffers. With gem this would need kernel support (in the form of a new reloc type in execbuf2). This does not change the ABI between ddx and client libIntelXvMC. I've decided to do this in one swoop when all the buffer rework is done. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: kill last_flip and last_renderDaniel Vetter
Seems to be a remnant from i810 XvMC support. last_flip is always 0, so serves no real purpose anymore. Kill it and the associated code. With last_flip gone, last_render also lost its purpose. Kill it, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
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-05-18 DRI2 for XvMCXiang Hai hao
2007-12-20xvmc: move dri context handling to generic codeZhenyu Wang
Use XvMCContext's context_id for dri context handling instead of driver private id. Remove unnecessary field for i915 private structs.
2007-11-16xvmc: remove i915 drm map typeZhenyu Wang
2007-11-16xvmc: more i915 xvmc cleanupsZhenyu Wang
2007-11-15xvmc: i915 rename filesZhenyu Wang