]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow the application to choose the constant addressing mode
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 19 Dec 2010 11:42:05 +0000 (11:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Dec 2010 09:41:36 +0000 (09:41 +0000)
commita0ebed38a4aff1f61949063190e0be5f803817a5
treeff1af345701389b7c6b3c8cffa4c6d704f0ccdab
parent97fae8b54428288b0e67c3960429003e2c63c80a
drm/i915: Allow the application to choose the constant addressing mode

The relative-to-general state default is useless as it means having to
rewrite the streaming kernels for each batch. Relative-to-surface is
more useful, as that stream usually needs to be rewritten for each
batch. And absolute addressing mode, vital if you start streaming
state, is also only available by adjusting the register...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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_execbuffer.c
include/drm/i915_drm.h