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)
commita25c25c2a2aa55e609099a9f74453c518aec29a6
treeb625e7d5e23911e6511629dba461c0073e68cbac
parent4f7f7b7eb94bd37c449f06932459bbed78826f8d
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