From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [RFC] Initial attempt to make ARM use LMB Date: Mon, 17 May 2010 10:44:21 +0100 Message-ID: <20100517094421.GG23118@n2100.arm.linux.org.uk> References: <20100505150209.GC2606@n2100.arm.linux.org.uk> <20100513174023.GB13001@n2100.arm.linux.org.uk> <20100513211951.GH3428@atomide.com> <20100513215825.GC13001@n2100.arm.linux.org.uk> <20100513220139.GO3428@atomide.com> <20100513221229.GD13001@n2100.arm.linux.org.uk> <20100514101615.GF10339@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:39362 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999Ab0EQJoo (ORCPT ); Mon, 17 May 2010 05:44:44 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Grazvydas Ignotas Cc: "Shilimkar, Santosh" , Tony Lindgren , "linux-arm-kernel@lists.infradead.org" , "linux-omap@vger.kernel.org" , Tomi Valkeinen On Mon, May 17, 2010 at 12:38:55PM +0300, Grazvydas Ignotas wrote: > On Fri, May 14, 2010 at 1:16 PM, Russell King - ARM Linux > wrote: > >> because it also uses reserve_bootmem() in > >> drivers/video/omap2/vram.c and later ioremap on RAM. Perhaps LMB can > >> be used to fix that too? > > > > WTF is reserve_bootmem doing in a driver? > > IIRC Tony refused any new fb related code in arch/arm/*omap* so it > ended up there (or maybe because of something else, not that I had > anything to do with this). Can someone please answer these questions: 1. why does the framebuffer need to _reserve_ a set of specific sections of SDRAM rather than _allocate_ a set of sections? 2. what range of sizes of SDRAM does the framebuffer driver need?