]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't check for NEEDS_GTT when deciding the address space
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Dec 2013 16:46:18 +0000 (17:46 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Dec 2013 16:50:40 +0000 (17:50 +0100)
commit3964c22f86212c56343c41ee8cd119dda354c17c
treebfc001dff52d7c05881ee203b91a267d1e902e4b
parentde355de75a62a251679fb6f9f563d3c50ea72eaa
drm/i915: Don't check for NEEDS_GTT when deciding the address space

This means something different and is only relevant for gen6 and the
reason why we cant use anything else than aliasing ppgtt there.

Note that the currently implemented logic for secure batches is
broken: Userspace wants the buffer both in ppgtt (for self-referencing
relocations) and in ggtt (for priveledge operations).

This is the same issue the command parser is also facing.
Unfortunately our coverage for corner-cases of self-referencing
batches is spotty.

Note that this will break vsync'ed Xv and DRI2 copies.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c