From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: Re: [PATCH 3/4] ARM: OMAP: Remove calls to SRAM allocations for framebuffer Date: Thu, 06 Oct 2011 11:38:04 +0300 Message-ID: <1317890284.1945.38.camel@deskari> References: <20111005004339.26980.31149.stgit@kaulin.local> <20111005004544.26980.35612.stgit@kaulin.local> <1317797128.2631.2.camel@deskari> <20111005224141.GF6324@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from na3sys009aog121.obsmtp.com ([74.125.149.145]:37648 "EHLO na3sys009aog121.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932384Ab1JFIiK (ORCPT ); Thu, 6 Oct 2011 04:38:10 -0400 Received: by bkbzt19 with SMTP id zt19so3617194bkb.23 for ; Thu, 06 Oct 2011 01:38:08 -0700 (PDT) In-Reply-To: <20111005224141.GF6324@atomide.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tony Lindgren , Paul Walmsley Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org On Wed, 2011-10-05 at 15:41 -0700, Tony Lindgren wrote: > * Tomi Valkeinen [111004 23:11]: > > On Tue, 2011-10-04 at 17:45 -0700, Tony Lindgren wrote: > > > This assumes fixed mappings which will not work once we move > > > to use ioremap_exec(). It seems that these are currently > > > not in use, or in use for some out of tree corner cases. > > > > > > If SRAM support for framebuffer is wanted, it should be done > > > with ioremap in the driver. > > > > > > Note that further removal of the code can now be done, > > > but that can be done seprately by the driver maintainers. > > > > > > Cc: Tomi Valkeinen > > > Signed-off-by: Tony Lindgren > > > > Looks good to me. I have similar changes in my working branch for omapfb > > cleanup. > > > > Acked-by: Tomi Valkeinen > > Thanks. FYI, looks like there's a warning in display.c: > > arch/arm/mach-omap2/display.c: In function 'omap_display_init': > arch/arm/mach-omap2/display.c:93: warning: assignment from incompatible pointer type > > Do you have a patch for that already? Paul should have a patch for that in queue ("OMAP: change get_context_loss_count ret value to int"). DSS is already using the new style function pointer, which uses int for return value (versus the current function which returns u32). Tomi