intel-gtt: sane variable names for intel_gtt_stolen_entries
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Aug 2010 14:13:52 +0000 (16:13 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 20:20:10 +0000 (21:20 +0100)
commitd8d9abcd35aeebd633cba2e99c384f4e004ccb84
treef3b4fa8f70112fcacf710fe1654b9ee514aa5e0d
parent3e921f980fdd5b972efb7f368b2a847a01804184
intel-gtt: sane variable names for intel_gtt_stolen_entries

This somewhat aligns it with the version in drm/i915/i915_dma.c.
Changes:
- s/gtt_entries/stolen_size
- track overhead entries in a seperate var (the effective gtt size
  calculation will be extracted later on).
- subtract the overhead at the end instead of in each clause.

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