Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932536AbaLJRji (ORCPT ); Wed, 10 Dec 2014 12:39:38 -0500 Received: from gw-1.arm.linux.org.uk ([78.32.30.217]:50049 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932261AbaLJRjg (ORCPT ); Wed, 10 Dec 2014 12:39:36 -0500 Date: Wed, 10 Dec 2014 17:39:18 +0000 From: Russell King - ARM Linux To: A H Cc: Marek Szyprowski , "open list:DRM PANEL DRIVERS" , Mike Turquette , Rob Herring , "open list:GPIO SUBSYSTEM" , Alexandre Courbot , Kishon Vijay Abraham I , "moderated list:ARM/S5P EXYNOS AR..." , "moderated list:ARM/CLKDEV SUPPORT" , "open list:OPEN FIRMWARE AND..." , Liam Girdwood , Mark Brown , Greg Kroah-Hartman , open list , Andrzej Hajda , Grant Likely Subject: Re: [RFC 00/15] Resource tracking/allocation framework Message-ID: <20141210173918.GN11285@n2100.arm.linux.org.uk> References: <1418226513-14105-1-git-send-email-a.hajda@samsung.com> <20141210161620.GM11285@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 10, 2014 at 06:23:49PM +0100, A H wrote: > 10 gru 2014 17:16 "Russell King - ARM Linux" > napisaƂ(a): > > > > On Wed, Dec 10, 2014 at 04:48:18PM +0100, Andrzej Hajda wrote: > > > 3. There are drivers which can work without specific resource, but if > > > the resource becomes available/unavailable it can do some additional > stuff. > > > An example of such driver is DRM driver (more precisely > drm_connector) - > > > it can start without attached drm_panel, but if the panel becomes > available it > > > can react by generating HPD event and start using it. > > > > Bad example, and actually incorrect. DRM connectors are referenced in > > userspace by an IDR number, which can be re-used in the case of a > > connector appearing, disappearing, and then a different connector > > re-appearing. > > But it is not about reappearing of drm_connector, it is about reappearing > of drm_panel which is fortunately not a part of drm driver. Connector here > is only consumer of drm_panel which should have possibility to receive > notifications on panel (dis-)appearance. Okay, so that's exactly like a panel being "hotplugged" to the connector, which should be fine. -- FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/