]> git.baikalelectronics.ru Git - kernel.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)
commitd31da5cd43e11661f594084f19dd88f7de78e750
tree3686e8c7a03de39feafd395126d3105e0ef365c3
parent667e860d1af0093b905a3d059256ecfc83343d5e
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