commit | bf1a10923920f56da23a118de2511a72af341d61 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sat Aug 07 11:01:20 2010 +0100 |
committer | Eric Anholt <eric@anholt.net> | Mon Aug 09 11:24:32 2010 -0700 |
tree | 32d01acfdc89a6e29c436b16b79ef319decc5a45 | |
parent | 6ef3d4278034982c13df87c4a51e0445f762d316 [diff] |
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>