aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-06-01 15:54:06 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-07-25 10:22:07 +0300
commit49ea86f3fae21dd0334668b621e9c88f43a73c86 (patch)
treec1940d9d5f9de067c0474448848f54318cbfcefd /drivers/video/omap2/dss/dss.c
parentOMAP: DSS2: Remove ctx loss count from dss.c (diff)
downloadlinux-dev-49ea86f3fae21dd0334668b621e9c88f43a73c86.tar.xz
linux-dev-49ea86f3fae21dd0334668b621e9c88f43a73c86.zip
OMAP: DSS2: DISPC: Fix context save/restore
The current method of saving and restoring the context could cause a restore before saving, effectively "restoring" zero values to registers. Add ctx_valid field to indicate if the saved context is valid and can be restored. Also restructure the code to save the ctx_loss_count in save_context(), which makes more sense than the previous method of storing new ctx_loss_count in dispc_need_ctx_restore. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.c')
0 files changed, 0 insertions, 0 deletions