[Intel-gfx] [PATCH] drm/i915: Allocate the PCI resource for the MCHBAR

2010-08-20 Thread Chris Wilson
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 Cc: Jesse Barnes --- drivers/gpu/drm/i915/i915_dma.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions

[Intel-gfx] [PATCH] drm/i915: Use the VBT from OpRegion when available

2010-08-20 Thread Chris Wilson
It is recommended that we use the Video BIOS tables that were copied into the OpRegion during POST when initialising the driver. This saves us from having to furtle around inside the ROM ourselves and possibly allows the vBIOS to adjust the tables prior to initialisation. On some systems, such as

[Intel-gfx] [PATCH] drm/i915: Remove the random SyncFlush during initialisation

2010-08-20 Thread Chris Wilson
We have no idea why we request a SyncFlush via INSTPM at that point in time -- we certainly never check for its completion... Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_dma.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_dm