diff options
author | Matthew Garrett <mjg59@srcf.ucam.org> | 2009-04-01 19:53:33 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-17 13:31:09 -0700 |
commit | 44ab43155e8071fbf037513e57de9a79044edf56 (patch) | |
tree | 1b6198835d348203411c49a87a0e6f2ab64973b4 /drivers/gpu/drm/i915/i915_opregion.c | |
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/i915/i915_opregion.c')
-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) if (mboxes & MBOX_ASLE) { DRM_DEBUG("ASLE supported\n"); opregion->asle = base + OPREGION_ASLE_OFFSET; + opregion_enable_asle(dev); } if (!resume) |