summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/psb_drv.h
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2014-03-11 21:51:20 +0400
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2014-03-17 23:12:04 +0400
commit778e26dee5e6b3be4611b1f99f8359cb64b27ce9 (patch)
treeb2776e555ac3588a97952d281a7c09db7b978203 /drivers/gpu/drm/gma500/psb_drv.h
parentc7829b29e9fd66f4e5cdd411feb28a22acdd1936 (diff)
downloadlinux-778e26dee5e6b3be4611b1f99f8359cb64b27ce9.tar.xz
drm/gma500: Move asle interrupt work into a work task
Previously the backlight code was called from IRQ context which isn't allowed. This patch moves all the asle work into a work task which takes care of the locking bug reported by users. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64221 Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_drv.h')
-rw-r--r--drivers/gpu/drm/gma500/psb_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
index 77bd7aba8298..d5421c072b6b 100644
--- a/drivers/gpu/drm/gma500/psb_drv.h
+++ b/drivers/gpu/drm/gma500/psb_drv.h
@@ -266,6 +266,7 @@ struct psb_intel_opregion {
struct opregion_asle *asle;
void *vbt;
u32 __iomem *lid_state;
+ struct work_struct asle_work;
};
struct sdvo_device_mapping {