]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only perform set-to-gtt domain for objects bound to the global gtt
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 9 Aug 2014 16:37:22 +0000 (17:37 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 09:36:12 +0000 (11:36 +0200)
commit0b1c6eee9ecb34d588c04f164840ec3cae07e302
treef4d19d9b8118efbda0dcb21356fe91192abc58f9
parent5040531cc1cf1839bd6978f0011c60d433ff3353
drm/i915: Only perform set-to-gtt domain for objects bound to the global gtt

If an object is not bound into the global GTT, then it cannot be
accessed via the GTT. This restores the original code that was muddled
by ppGTT. In the process, we remove a WARN that had long outlived its
usefulness and was simply being coded around instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c