summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-02-14 08:37:09 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-02-28 11:35:42 +0100
commit9229b5165bf0c49a7576dababa116f1634988e77 (patch)
tree114e9a66fbf08890a11c49790e5f319d3c1054ea /drivers/video/omap2/dss/dss.c
parentvideo: da8xx-fb: Use "SIMPLE_DEV_PM_OPS" macro (diff)
downloadlinux-9229b5165bf0c49a7576dababa116f1634988e77.tar.xz
linux-9229b5165bf0c49a7576dababa116f1634988e77.zip
OMAPDSS: use DISPC register to detect context loss
Instead of relying on the OMAP specific omap_pm_get_dev_context_loss_count() to detect register context loss, we can achieve the same in a much simpler way by just observing the DISPC registers. We always set DISPC's load mode to LOAD_FRAME_ONLY, which is not the reset value. Thus we can just observe the load mode to see if we have lost register context. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.c')
0 files changed, 0 insertions, 0 deletions