intel-gtt: i965: use detected gtt size for mapping
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 28 Aug 2010 14:14:32 +0000 (16:14 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 20:20:15 +0000 (21:20 +0100)
commit210b23c2f7b9721afb0a57459b7dbac3b094862e
tree1294b7eff22f03bc10c2a8ffa64333fe56895b7a
parentccc4e67be5ac1bd38c4bfd61aca38366597e8afb
intel-gtt: i965: use detected gtt size for mapping

Also move the Sandybdridge size detection into gtt_total_entries, like
the rest.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-gtt.c