commit | 3727d55e4d85836aa6cb759a965daaef88074150 | [log] [tgz] |
---|---|---|
author | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed May 08 10:45:14 2013 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri May 10 21:56:37 2013 +0200 |
tree | b07b6410282d0d81efcd1c8b6641a5927df693c2 | |
parent | c9cddffc669408a361c62353a36dd40b469dd9c2 [diff] |
drm/i915: allow stolen, pre-allocated objects to avoid GTT allocation v2 In some cases, we may not need GTT address space allocated to a stolen object, so allow passing -1 to the preallocated function to indicate as much. v2: remove BUG_ON(gtt_offset & 4095) now that -1 is allowed (Ville) Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>