drm/i915: eliminate dead domain clearing on reset
authorBen Widawsky <ben@bwidawsk.net>
Mon, 5 Aug 2013 16:46:44 +0000 (09:46 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Aug 2013 17:12:25 +0000 (19:12 +0200)
commit637efacf8fcf112a188dd005c816e2b0f39894f0
treed9eb50c11980d5adbd24fe768e22e29854203e3e
parent37126462a4feadeb3ff08c4b308a28e4db8c83a7
drm/i915: eliminate dead domain clearing on reset

The code itself is no longer accurate without updating once we have
multiple address space since clearing the domains of every object
requires scanning the inactive list for all VMs.

"This code is dead. Just remove it rather than port it to vma." - Chris
Wilson

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