aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-09-14 11:57:46 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-09-20 14:23:07 +0200
commit934d6086ea6b165af9218e8dcc2a9e69e1850743 (patch)
tree43539f5b87365c5573b6cabbfaa3a90e897c16fa /drivers/char/agp
parentac6ae347a50bfb4667438272c0d48f4fd41154db (diff)
drm/i915: Limit the ioremap of the PCI bar to the registers
In the future we may like to experiment with using a WC map of the GTT portion. However, that will conflict with i915.ko mapping the entire bar as UC in order to access the GPU registers. Instead we can shrink the register ioremap to only map the register block. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Tested-by (IVB): Ben Widawsky <ben@bwidawsk.net> Acked-by: Ben Widawsky <ben@bwidawsk.net> [danvet: Squashed-in follow-up fix for gen2/3 registers file size from Chris Wilson.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/char/agp')
0 files changed, 0 insertions, 0 deletions