]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allocate the PCI resource for the MCHBAR
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Aug 2010 13:36:45 +0000 (14:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:14:18 +0000 (11:14 +0100)
commit70b70e1880eb1495bcb9d802a560e4e52b232d40
treeb625e7d5e23911e6511629dba461c0073e68cbac
parent36b202f4743e6799353ecf3bf8a2117a48fc2cb2
drm/i915: Allocate the PCI resource for the MCHBAR

We were failing when trying to allocate the resource for MMIO of the
MCHBAR because we forgot to specify what type of resource we wanted.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: stable@kernel.org
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_dma.c