drm/i915: Use consistent mappings for OpRegion between ACPI and i915
commitb705120e4198315f4ae043de06c62f65e0851fd3
authorMichael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Sun, 23 Jan 2011 18:17:17 +0000 (23 18:17 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 18:28:08 +0000 (24 18:28 +0000)
treed10bd8c952fa5ab18c9aacafeda37c72eb675c44
parent8a327f23e23fa509e6e3c2263ae1cc0a67dec387
drm/i915: Use consistent mappings for OpRegion between ACPI and i915

The opregion is a shared memory region between ACPI and the graphics
driver. As the ACPI mapping has been changed to cachable in commit
6d5bbf00d251cc73223a71422d69e069dc2e0b8d, mapping the intel opregion
non-cachable now fails. As no bus-master hardware is involved in the
opregion, cachable map should do no harm.

Tested on a Fujitsu Lifebook P8010.

Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
[ickle: convert to acpi_os_ioremap for consistency]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_opregion.c