linux/drivers/video/omap2/dss
Archit Taneja bdb736abfa OMAPDSS: Use only "omapdss_dss" platform device to get context lost count
When enabling a hwmod, omap_hwmod refers to the register mentioned in the
hwmod struct's member 'prcm.omap4.context_offs' to see whether context was
lost or not. It increments the context lost count for the hwmod and then clears
the register.

All the DSS hwmods have the same register(RM_DSS_DSS_CONTEXT) as context_offs.
When DSS is enabled, the first hwmod to be enabled is the "dss_core" hwmod since
it's corresponding platform device is the parent platform device("omapdss_dss").
The dss_core hwmod updates it's context lost count correctly and clears the
register. When the hwmods corresponding to the children platform devices are
enabled, they see that the register is clear, and don't increment their context
lost count. Therefore, all the children platform devices never report a loss in
context.

The DISPC driver currently gets the context lost count for DSS power domain from
it's corresponding platform device instance("omapdss_dispc"). The DISPC platform
device is one of the child devices, and it's corresponding hwmod("dss_dispc")
doesn't report the context lost count correctly.

Modify dss_get_ctx_loss_count() such that it always takes the "omapdss_dss"
platform device as it's input, move the function to dss.c so that it has access
to that platform device.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-11-29 12:48:49 +02:00
..
apply.c OMAPDSS: APPLY: Remove unnecessary call to mg_clear_shadow_dirty 2012-11-12 13:52:59 +02:00
core.c OMAPDSS: Use only "omapdss_dss" platform device to get context lost count 2012-11-29 12:48:49 +02:00
dispc_coefs.c OMAPDSS: DISPC: Fix FIR coefficients 2012-03-06 14:08:23 +02:00
dispc.c OMAPDSS: Use only "omapdss_dss" platform device to get context lost count 2012-11-29 12:48:49 +02:00
dispc.h OMAPDSS: DISPC: Add writeback register offsets and dss features structs 2012-09-26 14:58:50 +03:00
display-sysfs.c OMAPDSS: create display-sysfs.c 2012-11-27 12:47:25 +02:00
display.c OMAPDSS: create display-sysfs.c 2012-11-27 12:47:25 +02:00
dpi.c OMAPDSS: DPI: fix crash with dpi_verify_dsi_pll() 2012-11-27 12:27:01 +02:00
dsi.c OMAPDSS: HACK: look for regulators with omap4 names 2012-11-07 10:34:09 +02:00
dss_features.c OMAPDSS: Add overlay manager width and height limits as a dispc feature 2012-11-20 16:52:16 +02:00
dss_features.h OMAPDSS: Add overlay manager width and height limits as a dispc feature 2012-11-20 16:52:16 +02:00
dss.c OMAPDSS: Use only "omapdss_dss" platform device to get context lost count 2012-11-29 12:48:49 +02:00
dss.h OMAPDSS: Use only "omapdss_dss" platform device to get context lost count 2012-11-29 12:48:49 +02:00
hdmi_panel.c OMAPDSS: HDMI: Make panel return dssdev register errors 2012-11-06 13:33:35 +02:00
hdmi.c Revert "OMAPDSS: HDMI: Create platform device for audio support" 2012-11-16 09:32:26 +02:00
Kconfig Merge branch '3.8/vram-conversion' of git://gitorious.org/linux-omap-dss2/linux 2012-11-16 11:42:46 +02:00
Makefile OMAPDSS: create display-sysfs.c 2012-11-27 12:47:25 +02:00
manager-sysfs.c OMAPDSS: MANAGER: Update display sysfs store 2012-09-26 14:58:37 +03:00
manager.c OMAPDSS: Remove old way of setting manager and device links 2012-09-26 14:58:38 +03:00
output.c OMAPDSS: Create links between managers, outputs and devices 2012-09-26 14:58:33 +03:00
overlay-sysfs.c OMAPDSS: split overlay sysfs code 2012-09-07 20:02:10 +03:00
overlay.c OMAPDSS: OVERLAY/MANAGER: Get device via output 2012-09-26 14:58:37 +03:00
rfbi.c OMAPDSS: export dss_get_def_display_name() 2012-10-29 12:40:46 +02:00
sdi.c OMAPDSS: export dss_get_def_display_name() 2012-10-29 12:40:46 +02:00
ti_hdmi_4xxx_ip.c OMAPDSS: HDMI: Add op to get audio DMA port address offset 2012-11-06 13:33:36 +02:00
ti_hdmi_4xxx_ip.h OMAPDSS: HDMI: Add an audio configuration function 2012-05-11 15:17:08 +03:00
ti_hdmi.h OMAPDSS: HDMI: Add op to get audio DMA port address offset 2012-11-06 13:33:36 +02:00
venc_panel.c OMAPDSS: remove omap_dss_device's suspend/resume 2012-10-24 08:46:23 +03:00
venc.c OMAPDSS: export dss_get_def_display_name() 2012-10-29 12:40:46 +02:00