summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/opregion.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-16 17:52:45 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-16 09:20:33 -0700
commit166973e506231c496b4427760bcb5a9860422850 (patch)
treeba09cdbe84f3ab072addf95834e3971317d99b7f /drivers/gpu/drm/gma500/opregion.h
parentf507598b06ab00fb46495ccdeeb3ef9c1dc43dee (diff)
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/opregion.h')
-rw-r--r--drivers/gpu/drm/gma500/opregion.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/opregion.h b/drivers/gpu/drm/gma500/opregion.h
index 72dc6b921265..4a90f8b0e16c 100644
--- a/drivers/gpu/drm/gma500/opregion.h
+++ b/drivers/gpu/drm/gma500/opregion.h
@@ -27,6 +27,7 @@ extern void psb_intel_opregion_asle_intr(struct drm_device *dev);
extern void psb_intel_opregion_init(struct drm_device *dev);
extern void psb_intel_opregion_fini(struct drm_device *dev);
extern int psb_intel_opregion_setup(struct drm_device *dev);
+extern void psb_intel_opregion_enable_asle(struct drm_device *dev);
#else
@@ -46,4 +47,8 @@ extern inline int psb_intel_opregion_setup(struct drm_device *dev)
{
return 0;
}
+
+extern inline void psb_intel_opregion_enable_asle(struct drm_device *dev)
+{
+}
#endif