From: Tomi Valkeinen Date: Fri, 14 Feb 2014 07:37:09 +0000 (+0200) Subject: OMAPDSS: use DISPC register to detect context loss X-Git-Tag: v3.15-rc1~63^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9229b5165bf0c49a7576dababa116f1634988e77;p=pandora-kernel.git 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 Reviewed-by: Archit Taneja --- Reading git-diff-tree failed