projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1c1c1
)
drm/i915: Enable ASLE if present
author
Matthew Garrett
<mjg59@srcf.ucam.org>
Wed, 1 Apr 2009 18:53:33 +0000
(19:53 +0100)
committer
Eric Anholt
<eric@anholt.net>
Fri, 17 Apr 2009 20:31:09 +0000
(13:31 -0700)
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>
drivers/gpu/drm/i915/i915_opregion.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_opregion.c
b/drivers/gpu/drm/i915/i915_opregion.c
index 3eceefe3475f4fe01cc48543b0125d6c3960c1f2..dc425e74a268e0c59d9f008cb3d791e1b83c8751 100644
(file)
--- 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)