intel-gtt: adjust overhead entries in intel_gtt_stolen_entries
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Aug 2010 15:12:41 +0000 (17:12 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 20:20:12 +0000 (21:20 +0100)
agp/intel_gtt.c and drm/i915/i915_dma.c don't calculate this the same
way: The intel-gtt code seems to use the actual gtt size, the drm
module just the mappable. Go with the logic from the drm module because
that's the more conservative choice.

But conserve the original code in intel_gtt_total_size for later use.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

No differences found