From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755528AbbCBQLp (ORCPT ); Mon, 2 Mar 2015 11:11:45 -0500 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:45244 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755101AbbCBQLn (ORCPT ); Mon, 2 Mar 2015 11:11:43 -0500 Date: Mon, 2 Mar 2015 16:11:22 +0000 From: Russell King - ARM Linux To: Pawel Moll Cc: Arun Ramamurthy , Rob Herring , Mark Rutland , Ian Campbell , Kumar Gala , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-fbdev@vger.kernel.org" , Dmitry Torokhov , Anatol Pomazau , Jonathan Richardson , Scott Branden , Ray Jui , "bcm-kernel-feedback-list@broadcom.com" Subject: Re: [PATCH] video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution Message-ID: <20150302161122.GP8656@n2100.arm.linux.org.uk> References: <1424898082-1522-1-git-send-email-arun.ramamurthy@broadcom.com> <1424898082-1522-2-git-send-email-arun.ramamurthy@broadcom.com> <1425312509.3092.7.camel@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425312509.3092.7.camel@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 02, 2015 at 04:08:29PM +0000, Pawel Moll wrote: > I'm not sure about this... The word "virtual" never works well with > device tree nodes defined as "hardware description". > > I understand what you're doing, but adding this property to the display > controller's node doesn't sound right. How does this describe hardware? > If anywhere, it's more like a job for the panel node? A better description (and implementation) would be to describe the size of the RAM available for video purposes. The driver can then use the requested virtual X resolution to limit (and/or compute) the virtual Y resolution to allow Y panning/wrapping of the display. This would match some hardware where the video RAM is indeed a separate physical set of RAM (such as the IM-PD/1). -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net.