Skip to content

Commit

Permalink
drm/i915: Enable ASLE if present
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Garrett authored and Eric Anholt committed Apr 17, 2009
1 parent 3b1c1c1 commit 44ab431
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/i915_opregion.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 44ab431

Please sign in to comment.