[PORT FROM R2] atomisp: add CSS support for atomic ISP restart
authorJozef Kruger <jozef.kruger@intel.com>
Tue, 15 Nov 2011 23:15:42 +0000 (15:15 -0800)
committerbuildbot <buildbot@intel.com>
Mon, 19 Dec 2011 13:32:11 +0000 (05:32 -0800)
commit3746aac473e90d48f3d32c4ca594d897d7df4902
tree522c5292974f49870b8696d0bbf5b6453bff8226
parent010e8ff495cb31666ed6896a3066b6671d47636d
[PORT FROM R2] atomisp: add CSS support for atomic ISP restart

BZ: 17272

This is a rework of patch 22895. The difference with that patch is that
I removed the moving of the css 3a statistics reading. This seems to cause
a strange kernel crash which seems only indirectly related to this patch.

This patch now includes:
1. Double buffering of 3A statistics inside CSS layer.
2. Functions to determine whether the next ISP binary can be
   started from an atomic context (the ISR).

Change-Id: Ic9a7a809c707d2e22ab07c4d373eea872c6132be
Orig-Change-Id: I6e633badc4f309cd8ea36548852b6fd8330daec3
Signed-off-by: Jozef Kruger <jozef.kruger@intel.com>
Reviewed-on: http://android.intel.com:8080/24166
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/28015
Reviewed-by: Tuominen, TeemuX <teemux.tuominen@intel.com>
drivers/media/video/atomisp/css/sh_css.c
drivers/media/video/atomisp/css/sh_css.h
drivers/media/video/atomisp/css/sh_css_internal.h
drivers/media/video/atomisp/css/sh_css_params.c