drm/i915: enable lazy global-gtt binding
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Feb 2012 22:50:24 +0000 (23:50 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Mar 2012 20:55:16 +0000 (21:55 +0100)
commit0ebb98299357e1dbeeea470eec29241263c8f244
tree2afbfba89799fa6bb1fc7f38a0ef2a9a02c25190
parent149c84077fe717af883bae459623ef1cebd86388
drm/i915: enable lazy global-gtt binding

Now that everything is in place, only bind to the global gtt
when actually required. Patch split-up suggested by Chris Wilson.

Reviewed-and-tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c