Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753180AbbLYNg2 (ORCPT ); Fri, 25 Dec 2015 08:36:28 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35894 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751283AbbLYNg0 (ORCPT ); Fri, 25 Dec 2015 08:36:26 -0500 Subject: Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator To: tomi.valkeinen@ti.com References: <52A062A0.3070005@ti.com> <1388013159-3036-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Cc: tony@atomide.com, linux@arm.linux.org.uk, pali.rohar@gmail.com, pavel@ucw.cz, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Ivaylo Dimitrov From: Ivaylo Dimitrov Message-ID: <567D4657.1070505@gmail.com> Date: Fri, 25 Dec 2015 15:36:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1388013159-3036-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 971 Lines: 24 On 26.12.2013 01:12, Ivaylo Dimitrov wrote: > From: Ivaylo Dimitrov > > On memory limited devices, CMA fails easily when asked to allocate big > chunks of memory like framebuffer memory needed for video playback. > > Add boot parameter "omapfb_memsize" which allocates memory to be used > as dma coherent memory, so dma_alloc_attrs won't hit CMA allocator when > trying to allocate memory for the framebuffers > > Signed-off-by: Ivaylo Dimitrov > --- > arch/arm/mach-omap2/common.c | 1 + > arch/arm/mach-omap2/common.h | 2 + > arch/arm/mach-omap2/fb.c | 46 +++++++++++++++++++++++++++++++++++++++++- > 3 files changed, 48 insertions(+), 1 deletions(-) > ping -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/