linux/drivers/video/omap2/dss
Tomi Valkeinen 48664b21ae OMAPDSS: DISPC: set irq_safe for runtime PM
We have a bug with omapdrm, where omapdrm calls dispc's pm_runtime
function in atomic context, and dispc's pm_runtime is not marked as
irq_safe:

BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:952

Dispc's runtime PM callbacks are irq safe, so we can just set the
irq_safe flag to fix the issue.

However, in the long term, I'd rather have omapdrm manage the runtime PM
calls in a better way. Calling get/put for every small operation that
touches the dispc registers is very inefficient. It'd be better and
cleaner to have clear "in-use" and "not-in-use" states for dispc, so
that we don't need to do register context restore for small operations,
only to turn dispc off right afterwards.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2013-09-19 13:29:40 +03:00
..
apply.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00
core.c OMAP specific fbdev changes for 3.12: 2013-09-05 09:44:03 -07:00
dispc_coefs.c OMAPDSS: DISPC: Fix FIR coefficients 2012-03-06 14:08:23 +02:00
dispc-compat.c OMAPDSS: gracefully disable overlay at error 2013-06-17 14:00:56 +03:00
dispc-compat.h OMAPDSS: move irq handling to dispc-compat 2012-12-07 17:05:57 +02:00
dispc.c OMAPDSS: DISPC: set irq_safe for runtime PM 2013-09-19 13:29:40 +03:00
dispc.h OMAPDSS: DISPC: Revert to older DISPC Smart Standby mechanism for OMAP5 2013-04-10 15:02:53 +03:00
display-sysfs.c OMAPDSS: Add panel dev pointer to dssdev 2013-06-17 14:00:50 +03:00
display.c OMAPDSS: add OMAP_DISPLAY_TYPE_DVI 2013-06-17 14:00:58 +03:00
dpi.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00
dsi.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00
dss_features.c OMAPDSS: HDMI clean up hpd_gpio 2013-06-17 14:00:54 +03:00
dss_features.h OMAPDSS: export dss_feat functions 2012-12-07 17:05:59 +02:00
dss.c OMAPDSS: fix dss_get_ctx_loss_count for DT 2013-06-17 14:00:41 +03:00
dss.h OMAPDSS: DSS: remove legacy dss bus support 2013-08-30 08:51:10 +03:00
hdmi.c fbdev changes for 3.12: 2013-09-05 09:49:32 -07:00
Kconfig OMAPDSS: RFBI: Mark RFBI as broken 2013-08-29 16:21:51 +03:00
Makefile OMAPDSS: VENC: remove code related to old panel model 2013-08-29 16:21:53 +03:00
manager-sysfs.c OMAPDSS: fix WARN_ON in 'alpha_blending_enabled' sysfs file 2013-08-29 16:43:47 +03:00
manager.c OMAPDSS: split overlay manager creation 2013-06-17 14:00:42 +03:00
output.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00
overlay-sysfs.c OMAPDSS: split overlay sysfs code 2012-09-07 20:02:10 +03:00
overlay.c OMAPDSS: move ovl function setup to apply.c 2012-12-07 17:05:54 +02:00
rfbi.c OMAPDSS: RFBI: remove code related to old panel model 2013-08-29 16:21:53 +03:00
sdi.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00
ti_hdmi_4xxx_ip.c OMAPDSS: HDMI: Fix AVI infoframe bug 2013-08-06 14:55:06 +03:00
ti_hdmi_4xxx_ip.h OMAPDSS: HDMI: clean up PHY power handling 2013-06-17 14:00:54 +03:00
ti_hdmi.h OMAPDSS: HDMI clean up hpd_gpio 2013-06-17 14:00:54 +03:00
venc_panel.c OMAPDSS: Add panel dev pointer to dssdev 2013-06-17 14:00:50 +03:00
venc.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00