summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-02-14 09:37:09 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-02-28 12:35:42 +0200
commit9229b5165bf0c49a7576dababa116f1634988e77 (patch)
tree114e9a66fbf08890a11c49790e5f319d3c1054ea /include/video
parent622f7c9b9a27acce6cd9ec33f80c682e1a84b86e (diff)
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 'include/video')
0 files changed, 0 insertions, 0 deletions