drm/i915: enable MCHBAR if needed
authorJesse Barnes <jbarnes at virtuousgeek.org>
Fri, 5 Jun 2009 14:41:29 +0000 (14:41 +0000)
committerEric Anholt <eric@anholt.net>
Tue, 9 Jun 2009 18:15:07 +0000 (11:15 -0700)
commitd765898970f35acef960581f678b9da9d5c779fa
tree07465dd7221dfef8624c9f2982e3cd2c01bf4775
parent1b8e69662e1a086878bf930a6042daf7f8a076cc
drm/i915: enable MCHBAR if needed

Using the new PNP resource checking code, this patch allows the i915
driver to allocate MCHBAR space if needed and use the BAR to determine
current memory settings.

[apw@canonical.com: moved to the new generic PNP resource interface]
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
failure to update-index after git-am --reject to hand-apply

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_tiling.c