drm/i915: Use the agp_size determined from the GTT
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Oct 2010 17:46:52 +0000 (18:46 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Oct 2010 22:31:09 +0000 (23:31 +0100)
commit71e9339c3389de6a685ecb26261a81b8a583aa1c
treecb1a74484176b0bbd830d7f1327af611f2eae405
parentda761a6edf5c12ba2e7566c5e6bc98899d46ff12
drm/i915: Use the agp_size determined from the GTT

This is the same value as before, but it just makes the code slightly
more readable to use the local variable than converting the aperture
size into bytes every time.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c