From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751613AbcABMjg (ORCPT ); Sat, 2 Jan 2016 07:39:36 -0500 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:35799 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751321AbcABMjd (ORCPT ); Sat, 2 Jan 2016 07:39:33 -0500 Date: Sat, 2 Jan 2016 12:39:19 +0000 From: Russell King - ARM Linux To: Rongjun Ying Cc: Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] video: ARM CLCD: Add the framebuffer parameters setting in probe Message-ID: <20160102123919.GY8644@n2100.arm.linux.org.uk> References: <1451435928-22903-1-git-send-email-rjying@aliyun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1451435928-22903-1-git-send-email-rjying@aliyun.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 Wed, Dec 30, 2015 at 08:38:48AM +0800, Rongjun Ying wrote: > This patch fixes the user space applications can't get the framebuffer > parameters, if disable the fb console feature. > > Signed-off-by: Rongjun Ying I think this behaviour is intentional: userspace is expected to set the initial mode for non-console frame buffers by using FBIOPUT_VSCREENINFO. Otherwise, register_fb() would always set an initial mode on all framebuffers. I remember this being discussed years ago (more than a decade) when the FB layer was relatively new. -- RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.