[Mesa-dev] [PATCH 00/13] execbuf2 support for i915g
Daniel Vetter
daniel.vetter at ffwll.ch
Fri Nov 19 14:38:17 PST 2010
Hi all,
This is my first stab at creating havoc in i915g. This cleans up a few
obsoletes things and implements execbuf2 support. This way the kernel isn't
forced to allocate a fence anymore if it's not needed. [Note: fence = the
intel hw thingy needed for tiling, not a gallium execution fence].
i915g is still in a very sorry state:
- crashes with BadDrawable on GLXFBconfig changes (and desdruction) with
openaren.
- hangs the chip after a few minutes.
- ...
Anyway, I've decided to submit the first batch of patches. Comments and
reviews highly welcome.
Thanks, Daniel
Daniel Vetter (13):
i915g: rip out ->sw_tiled
i915g: s/hw_tiled/tiling
i915g: add pineview pci ids
i915g: kill RGBA/X formats
i915g: kill buf->map_gtt
i915g: kill idws->pool
i915g: drop alignment, type parameters for iws->buffer_create
i915g: add winsys function to create tiled buffers
i915g: switch to tiled allocations, kill set_fence
i915g: prepare winsys/batchbuffer for execbuf2
i915g: return tiling in iws->buffer_from_handle
i915g: implement unfenced color&depth buffer using tiling bits
i915g: implement unfenced relocs for textures using tiling bits
src/gallium/drivers/i915/i915_batch.h | 5 +-
src/gallium/drivers/i915/i915_batchbuffer.h | 4 +-
src/gallium/drivers/i915/i915_blit.c | 6 +-
src/gallium/drivers/i915/i915_context.h | 3 +-
src/gallium/drivers/i915/i915_prim_vbuf.c | 6 +-
src/gallium/drivers/i915/i915_reg.h | 9 ++-
src/gallium/drivers/i915/i915_resource.h | 5 +-
src/gallium/drivers/i915/i915_resource_texture.c | 26 ++----
src/gallium/drivers/i915/i915_screen.c | 12 ++-
src/gallium/drivers/i915/i915_state_emit.c | 16 +---
src/gallium/drivers/i915/i915_state_sampler.c | 8 +--
src/gallium/drivers/i915/i915_winsys.h | 25 +++---
src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c | 41 +++++----
src/gallium/winsys/i915/drm/i915_drm_buffer.c | 99 +++++++++-----------
src/gallium/winsys/i915/drm/i915_drm_winsys.c | 7 +-
src/gallium/winsys/i915/drm/i915_drm_winsys.h | 5 +-
src/gallium/winsys/i915/sw/i915_sw_batchbuffer.c | 2 +-
src/gallium/winsys/i915/sw/i915_sw_buffer.c | 51 +++++------
src/gallium/winsys/i915/sw/i915_sw_winsys.h | 4 +-
19 files changed, 151 insertions(+), 183 deletions(-)
More information about the mesa-dev
mailing list