drm/i915: Use pci_iomap for remapping the MMIO registers.
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Oct 2010 10:26:06 +0000 (11:26 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Oct 2010 10:26:06 +0000 (11:26 +0100)
commitb4ce0f85159f77f208a62930f67b4e548576a5a3
treeeae71707935fb4833772d539762d1cc7496b052b
parentf406839f094ef24bb201c9574fdb9ce8e799a975
drm/i915: Use pci_iomap for remapping the MMIO registers.

Play safe and use the common routines which take care of the cachability
of the memory when setting up the iomapping for the PCI registers.
Whilst they should be cacheable for the current generations, actually
honouring what the device requires is a better long term strategy.

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