Re: [PATCH 1/2] OMAPDSS: use DISPC register to detect context loss

2014-02-18 Thread Archit Taneja
On Friday 14 February 2014 01:59 PM, Tomi Valkeinen wrote: 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_FR

[PATCH 1/2] OMAPDSS: use DISPC register to detect context loss

2014-02-14 Thread Tomi Valkeinen
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 obse