summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/compat_ioctl.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-11-23 12:09:30 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-23 15:42:56 +0000
commitfe669bf88e9108b96a847385df08c9b1e98c1420 (patch)
treebd8c391717f031ea9d763fe669beb9eaf929ca75 /drivers/char/agp/compat_ioctl.h
parent0b0b053a3949f5c467c3b3ba135d4c161f9fbd00 (diff)
downloadop-kernel-dev-fe669bf88e9108b96a847385df08c9b1e98c1420.zip
op-kernel-dev-fe669bf88e9108b96a847385df08c9b1e98c1420.tar.gz
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/char/agp/compat_ioctl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud