kernel-ark/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
dispc-compat.c
dispc-compat.h
dispc.c OMAPDSS: DISPC: set irq_safe for runtime PM 2013-09-19 13:29:40 +03:00
dispc.h
display-sysfs.c
display.c
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
dss_features.h
dss.c
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
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
output.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00
overlay-sysfs.c
overlay.c
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
ti_hdmi_4xxx_ip.h
ti_hdmi.h
venc_panel.c
venc.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00