[Intel-gfx] [PATCH 00/13] rip out i830_memory, part 1: everything but xvmc
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Mar 2 09:22:31 CET 2010
Hi all,
Originally I've only wanted to kill the last user of drm_intel_bo_pin (in
the i915 xvmc code). While looking through the code I decided I might as
well kill all the remnants of the old i830_memory allocator.
This patch pile is the first part, it kills i830_memory everywhere but in
the xvmc code.
Patch 2 is something I've stumbled upon while doing this cleanup. Totally
untested because I don't have i965 class hw, but it makes much more sense this
way. Please review carefully.
Carl, can you please either NAK this as too much, too late for 2.11 or
review and merge? If no one NAKs it, I'll send out the xvmc part in a few
days. It's ready and tested like this one, but I don't want to unnecessarily
patch-bomb everyone.
Tested on my i945GME.
Thanks, Daniel
Daniel Vetter (13):
i830_memory: rip out field "end"
Xv: fixup relocation in i965_video.c
i830_memory: rip out field "offset"
i830_memory: kill i830_desribe_allocations
i830_memory: rip out the old video memory allocator
i830_memory: rename i830_bind_all_memory to reflect code reality
i830_memory: no memory allocations without a bo!
i830_memory: kill field "tiling_mode"
i830_memory: rip out field "size"
i830_memory: kill field "pitch"
i830_memory: switch cursors to drm_intel_bo
i830_memory: switch frontbuffer to drm_intel_bo
i830_memory: hide as much of the old memory allocator as possible
src/drmmode_display.c | 15 ++--
src/i830.h | 40 +-------
src/i830_driver.c | 16 +---
src/i830_hwmc.c | 4 +-
src/i830_memory.c | 239 +++++++++++--------------------------------------
src/i830_uxa.c | 6 +-
src/i915_hwmc.c | 76 +++++++---------
src/i965_video.c | 2 +-
8 files changed, 108 insertions(+), 290 deletions(-)
More information about the Intel-gfx
mailing list