atomisp: use GFP_KERNEL on CTP when ISP allocates memory
authorTuukka Toivonen <tuukka.toivonen@intel.com>
Mon, 26 Mar 2012 08:18:48 +0000 (11:18 +0300)
committerbuildbot <buildbot@intel.com>
Tue, 27 Mar 2012 19:14:40 +0000 (12:14 -0700)
commit0a978a3166274a7ba53408199e85f0a49e566582
tree0b14a0431246d7cf711c8e0d037ace5cfd6216fc
parentfe980e0fcb244fa3fbcfb2f2910dc57b8a4428f2
atomisp: use GFP_KERNEL on CTP when ISP allocates memory

BZ: 27472

On CTP platform, ISP easily runs out of memory. Use GFP flags on
allocation on CTP which allow kernel to wait for other drivers to free
up memory before failing.

Change-Id: I4f12ccfd85f7318db92b199daffe115c8789621e
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/40731
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Laakso, Antti <antti.laakso@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/media/video/atomisp/hmm/hmm_bo.c