From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH 2/2 v16] drm/bridge: Add I2C based driver for ps8640 bridge Date: Thu, 4 Aug 2016 13:23:29 +0100 Message-ID: <20160804122329.GT1041@n2100.armlinux.org.uk> References: <1464861445-11086-1-git-send-email-jitao.shi@mediatek.com> <1464861445-11086-2-git-send-email-jitao.shi@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Daniel Vetter Cc: Mark Rutland , stonea168-9Onoh4P/yGk@public.gmane.org, ML dri-devel , Ajay Kumar , Vincent Palatin , cawa cheng , Yingjoe Chen , Thierry Reding , devicetree , Jitao Shi , Pawel Moll , Ian Campbell , Rob Herring , "moderated list:ARM/Mediatek SoC support" , Matthias Brugger , Eddie Huang =?utf-8?B?KOm7g+aZuuWCkSk=?= , LAKML , Rahul Sharma , srv_heupstream , Emil Velikov , Linux-Kernel@Vger. Kerne List-Id: devicetree@vger.kernel.org On Tue, Jul 12, 2016 at 12:13:52PM +0200, Daniel Vetter wrote: > Might be better to just do a request_firmware on driver load, and > simply proceed if it's not there. That is almost never a good idea - if the driver is built-in, then the request_firmware call happens before the real rootfs is mounted, which makes it complicated to get the firmware delivered to the driver. Sure, it works nicely if the drivers are built as modules, but not everyone wants to deal with modules and initramfs images. If we're wanting to just update the firmware, that should be an explicit administrative decision requiring an explicit action by the system administrator, and not done by placing a file in some magic location so that request_firmware() can find it, which then gets picked up at boot time/driver load time. Consider what could happen if linux-firmware picks up the file and places it in the appropriate location by default. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.