]> git.baikalelectronics.ru Git - kernel.git/commit
video: mx3fb: Allow blocking during framebuffer allocation
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 19 Dec 2013 08:23:08 +0000 (09:23 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 17 Jan 2014 08:57:44 +0000 (10:57 +0200)
commit907adb2e5a38564d53fc8ef934ea38cdb4306df3
treeb88e43c8803ee6748dc200079bf6b04448559014
parent1eb2f84e4e8ab28c892f3f0fd722ec9aaa0efd78
video: mx3fb: Allow blocking during framebuffer allocation

No need to allocate the framebuffer from the atomic pool, we are not
in interrupt context. Adding GFP_KERNEL to the framebuffer allocation
allows to use the much bigger CMA pool to allocate the framebuffer.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/mx3fb.c