drm/i915,agp/intel: Do not clear stolen entries
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jan 2011 10:54:32 +0000 (10:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 18:26:25 +0000 (18:26 +0000)
commitbee4a186c16bed0d7e91425ca9356c2e8c015f8d
tree66d01e18c48fb0dfd9970c169d0f5baa0adaa0fe
parent934f992c763ae1e5eefcce8af769c16444085df7
drm/i915,agp/intel: Do not clear stolen entries

We can only utilize the stolen portion of the GTT if we are in sole
charge of the hardware. This is only true if using GEM and KMS,
otherwise VESA continues to access stolen memory.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
Tested-by: Jiri Olsa <jolsa@redhat.com>
Tested-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-gtt.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_gtt.c