[Intel-gfx] [PATCH 00/18] rip out i830_memory, part 2: xvmc

Daniel Vetter daniel.vetter at ffwll.ch
Tue Mar 2 21:53:10 CET 2010


Hi all,

By popular request, here's the second patch pile to kill of the old
allocator.  This also kills the last drm_intel_bo_pin user, i.e. we can
start thinking about deprecating that transitional interface. It also paves
the way for a massive xvmc unification - i915 and i965 xvmc now essentially
work the same, so much of the abstraction can go.

XvMC support tested with mplayer on my i945 netbook.

Please review and merge for 2.11.

Yours, Daniel

Daniel Vetter (18):
  XvMC: kill i830_memory in 965 class xvmc
  XvMC: kill dead code in i915_xvmc.c
  i915 XvMC: switch one_time_state_emit to batchbuffer macros
  i915 XvMC: kill last_flip and last_render
  i915 XvMC: switch ssb to drm_intel_bo
  i915 XvMC: switch psp to drm_intel_bo
  i915 XvMC: switch psc to drm_intel_bo
  i915 XvMC: switch load_indirect_render_emit to batchbuffer macros
  i915 XvMC: switch sis to drm_intel_bo
  i915 XvMC: switch msb to drm_intel_bo
  i915 XvMC: switch corrdata buffer to drm_intel_bo
  i915 XvMC: switch surfaces to drm_intel_bo
  i915 XvMC: drop superflous MI_FLUSH
  i915 XvMC: don't stall the cpu anymore
  i915 XvMC: kill pinned per-context buffers in the ddx code
  i915 XvMC: kill pinned surface buffer in the ddx code
  XvMC: kill the pinned batchbuffer in the ddx code
  i830_memory: rip out the remainings of the old allocator

 src/i830.h                   |    9 -
 src/i830_hwmc.c              |   36 -
 src/i830_hwmc.h              |    8 -
 src/i830_memory.c            |  154 ----
 src/i830_video.c             |   24 +-
 src/i915_hwmc.c              |  571 +--------------
 src/i915_hwmc.h              |   12 -
 src/i965_hwmc.c              |    1 -
 src/i965_hwmc.h              |   12 -
 src/xvmc/i915_structs.h      |  121 +---
 src/xvmc/i915_xvmc.c         | 1751 +++++++-----------------------------------
 src/xvmc/i915_xvmc.h         |   20 +-
 src/xvmc/intel_batchbuffer.c |    3 -
 src/xvmc/intel_xvmc.h        |    3 +-
 14 files changed, 336 insertions(+), 2389 deletions(-)




More information about the Intel-gfx mailing list