OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:50 +0000 (13:36 -0700)
commit3eef1e7f9a6569add20ce16afdf52aca42661997
tree13fbd72f95e371cfd8313406e3adbc8227f81e18
parent1c6fd63ca08484ee60853bd17ba18dd24bd21616
drm/i915: Allocate the PCI resource for the MCHBAR

commit a25c25c2a2aa55e609099a9f74453c518aec29a6 upstream.

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>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_dma.c