Tomi Valkeinen 49ea86f3fa 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>
2011-07-25 10:22:07 +03:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:43:59 -07:00
2011-03-31 11:26:23 -03:00
2009-12-16 07:20:04 -08:00
2010-05-03 15:42:58 +02:00
2011-03-31 11:26:23 -03:00
2009-05-06 16:36:10 -07:00
2011-05-14 10:28:54 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 16:18:51 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-06 15:48:13 +09:00
2010-05-25 08:07:09 -07:00
2011-03-22 16:07:32 +09:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2011-04-10 17:01:05 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-12-21 01:05:43 +09:00
2010-05-25 08:07:09 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-16 18:05:05 +02:00
2011-05-24 16:11:18 +09:00
2010-02-27 18:31:13 +01:00
2010-02-27 18:31:13 +01:00
2010-05-25 08:07:08 -07:00
2011-03-31 11:26:23 -03:00