]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
OMAP: DSS2: Remove ctx loss count from dss.c
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 May 2011 11:54:05 +0000 (14:54 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 25 Jul 2011 07:22:06 +0000 (10:22 +0300)
commit39020710e707a01d80ea6c9e55dad4de93bb4730
tree3686e8c7a03de39feafd395126d3105e0ef365c3
parent6d9f29dd62142a173b54c0a5645fbdfb296f1316
OMAP: DSS2: Remove ctx loss count from dss.c

dss.c only saves 1 register (3 in OMAP3) so the extra overhead from
need_ctx_restore & co. is probably bigger than the time spent saving and
restoring those few registers every time.

So remove the code from dss.c and restore context every time dss has
been off.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c