summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/psb_drv.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-16 20:52:45 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-16 20:20:33 +0400
commit166973e506231c496b4427760bcb5a9860422850 (patch)
treeba09cdbe84f3ab072addf95834e3971317d99b7f /drivers/gpu/drm/gma500/psb_drv.c
parentf507598b06ab00fb46495ccdeeb3ef9c1dc43dee (diff)
downloadlinux-166973e506231c496b4427760bcb5a9860422850.tar.xz
gma500: move the ASLE enable
Otherwise we end up getting the masks wrong, can get events before we are doing power control and other ungood things. Again this is a regression fix where the ordering of handling was disturbed by other work, and the user experience on some boxes is a blank screen. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_drv.c')
-rw-r--r--drivers/gpu/drm/gma500/psb_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c
index caba6e08693c..a8858a907f47 100644
--- a/drivers/gpu/drm/gma500/psb_drv.c
+++ b/drivers/gpu/drm/gma500/psb_drv.c
@@ -374,6 +374,7 @@ static int psb_driver_load(struct drm_device *dev, unsigned long chipset)
if (ret)
return ret;
+ psb_intel_opregion_enable_asle(dev);
#if 0
/*enable runtime pm at last*/
pm_runtime_enable(&dev->pdev->dev);