From: Chris Wilson Date: Tue, 23 Nov 2010 12:09:30 +0000 (+0000) Subject: drm/i915: Compute physical addresses from base of stolen memory X-Git-Tag: v2.6.38-rc1~419^2~23^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe669bf88e9108b96a847385df08c9b1e98c1420;p=pandora-kernel.git drm/i915: Compute physical addresses from base of stolen memory The GATT is a write-only set of registers, reading from them in the manner of i915_gtt_to_phys() is supposed to be undefined. However a simple solution exists as we allocate linear memory from the stolen area, we can simply add the block offset to the base register. As a side-effect we recover all the unused stolen GTT entries and so enlarge our aperture. Signed-off-by: Chris Wilson --- Reading git-diff-tree failed