]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc11fa8cbe08dd6ae892202e92326d1b7edc81e02
treeeae71707935fb4833772d539762d1cc7496b052b
parent27b68b4b568873f90005d924fbdba7fc24563760
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