]> 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)
commit73ddc28527038b7e5bb36c5addb9f902dcb447ca
treef4d19d9b8118efbda0dcb21356fe91192abc58f9
parenta9bea1de933982692af8543c097c41727e9c6685
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