drm/i915: Add buffer to inactive list immediately during fault
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Sep 2009 15:50:25 +0000 (16:50 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 21:43:28 +0000 (14:43 -0700)
commit4960aaca14010b9ff92e5726dd178cbd6805d412
tree7795fc2e101ff49d9ad99386c1d6a8d0c1263bae
parentc1a1cdc159e211f045290f61ac95092e9708f5bc
drm/i915: Add buffer to inactive list immediately during fault

If we failed to set the domain, the buffer was no longer being tracked
on any list.

Cc: stable@kernel.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_gem.c