drm/i915: Add buffer to inactive list immediately during fault
commit485571eb15c87439d56c4bd6ace25ee63d432726
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Sep 2009 15:50:25 +0000 (14 16:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:32:07 +0000 (5 09:32 -0700)
treeb38d5a7271a4998227813d15e02b7c856dcc1fc9
parenta0cea65ea326b6a87487349e04d1b6dd513b9c3b
drm/i915: Add buffer to inactive list immediately during fault

commit 4960aaca14010b9ff92e5726dd178cbd6805d412 upstream.

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

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_gem.c