]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only enforce fence limits inside the GTT.
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Sep 2010 20:15:47 +0000 (21:15 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Oct 2010 10:15:07 +0000 (11:15 +0100)
commitc128445b8f4a58316ccb60ddee0d722dd2110364
treee1c06b90d161bc81e8d2c819da3b676f75527dda
parent2bf35f2a6ee12923cb4bf5d4bc8c1a0134e4f60b
drm/i915: Only enforce fence limits inside the GTT.

So long as we adhere to the fence registers rules for alignment and no
overlaps (including with unfenced accesses to linear memory) and account
for the tiled access in our size allocation, we do not have to allocate
the full fenced region for the object. This allows us to fight the bloat
tiling imposed on pre-i965 chipsets and frees up RAM for real use. [Inside
the GTT we still suffer the additional alignment constraints, so it doesn't
magic allow us to render larger scenes without stalls -- we need the
expanded GTT and fence pipelining to overcome those...]

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_overlay.c
drivers/gpu/drm/i915/intel_ringbuffer.c
include/drm/i915_drm.h