summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/psb_drv.h
diff options
context:
space:
mode:
authorPatrik Jakobsson2014-03-11 18:51:20 +0100
committerPatrik Jakobsson2014-03-17 20:12:04 +0100
commit778e26dee5e6b3be4611b1f99f8359cb64b27ce9 (patch)
treeb2776e555ac3588a97952d281a7c09db7b978203 /drivers/gpu/drm/gma500/psb_drv.h
parentdrm/gma500: Remove dead code (diff)
downloadkernel-qcow2-linux-778e26dee5e6b3be4611b1f99f8359cb64b27ce9.tar.gz
kernel-qcow2-linux-778e26dee5e6b3be4611b1f99f8359cb64b27ce9.tar.xz
kernel-qcow2-linux-778e26dee5e6b3be4611b1f99f8359cb64b27ce9.zip
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 {