diff options
author | Len Brown <len.brown@intel.com> | 2009-04-05 01:40:06 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-05 01:40:06 -0400 |
commit | 12648810506eaa063dc23b66514fbb4796f34312 (patch) | |
tree | 4cd16290c9e1350d946a92ca8d5624cdd683b739 /drivers/gpu/drm/i915/i915_dma.c | |
parent | 7329e9356e5b46e11a1781dff2dc64c2e3284884 (diff) | |
parent | 03ae61dd5701092aabb60a8cae9929dbf8dc25c6 (diff) |
Merge branch 'video' into release
Conflicts:
drivers/acpi/video.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 6d21b9e48b8..638686904e0 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1144,8 +1144,6 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) if (!IS_I945G(dev) && !IS_I945GM(dev)) pci_enable_msi(dev->pdev); - intel_opregion_init(dev); - spin_lock_init(&dev_priv->user_irq_lock); dev_priv->user_irq_refcount = 0; @@ -1164,6 +1162,9 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) } } + /* Must be done after probing outputs */ + intel_opregion_init(dev, 0); + return 0; out_iomapfree: |