diff options
author | Matthew Garrett <mjg59@srcf.ucam.org> | 2009-04-01 14:53:33 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-17 16:31:09 -0400 |
commit | 44ab43155e8071fbf037513e57de9a79044edf56 (patch) | |
tree | 1b6198835d348203411c49a87a0e6f2ab64973b4 /drivers/gpu/drm | |
parent | 3b1c1c1118880921da1188b7245e0470742802f8 (diff) |
drm/i915: Enable ASLE if present
The changes to opregion initialisation order meant that the ASLE setup
code might not be run at the correct time. Ensure that the interrupts are
set up.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/i915_opregion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_opregion.c b/drivers/gpu/drm/i915/i915_opregion.c index 3eceefe3475..dc425e74a26 100644 --- a/drivers/gpu/drm/i915/i915_opregion.c +++ b/drivers/gpu/drm/i915/i915_opregion.c | |||
@@ -386,6 +386,7 @@ int intel_opregion_init(struct drm_device *dev, int resume) | |||
386 | if (mboxes & MBOX_ASLE) { | 386 | if (mboxes & MBOX_ASLE) { |
387 | DRM_DEBUG("ASLE supported\n"); | 387 | DRM_DEBUG("ASLE supported\n"); |
388 | opregion->asle = base + OPREGION_ASLE_OFFSET; | 388 | opregion->asle = base + OPREGION_ASLE_OFFSET; |
389 | opregion_enable_asle(dev); | ||
389 | } | 390 | } |
390 | 391 | ||
391 | if (!resume) | 392 | if (!resume) |