Просмотр исходного кода

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>
Matthew Garrett 16 лет назад
Родитель
Сommit
44ab43155e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      drivers/gpu/drm/i915/i915_opregion.c

+ 1 - 0
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) {
 	if (mboxes & MBOX_ASLE) {
 		DRM_DEBUG("ASLE supported\n");
 		DRM_DEBUG("ASLE supported\n");
 		opregion->asle = base + OPREGION_ASLE_OFFSET;
 		opregion->asle = base + OPREGION_ASLE_OFFSET;
+		opregion_enable_asle(dev);
 	}
 	}
 
 
 	if (!resume)
 	if (!resume)