]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Append the object onto the inactive list on binding.
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Aug 2010 10:01:20 +0000 (11:01 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 9 Aug 2010 18:24:32 +0000 (11:24 -0700)
commit4c06f64ac7edb6882f2c3f61cb9a248f5fa317e1
tree32d01acfdc89a6e29c436b16b79ef319decc5a45
parent2ce3a810a6c1a59685affe79e509e4612cedf8b0
drm/i915: Append the object onto the inactive list on binding.

In order to properly track bound objects, they need to exist on one of
the inactive/active lists or be pinned. As this is a requirement, do the
work inside i915_gem_bind_to_gtt() rather than dotted around the
callsites.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c