From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753429AbbJTJpk (ORCPT ); Tue, 20 Oct 2015 05:45:40 -0400 Received: from gabe.freedesktop.org ([131.252.210.177]:58543 "EHLO gabe.freedesktop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752523AbbJTJpi (ORCPT ); Tue, 20 Oct 2015 05:45:38 -0400 From: Eric Anholt To: Liviu Dudau , David Airlie , Daniel Vetter , Philipp Zabel , Mark Yao , Heiko Stuebner , Russell King Cc: linux-rockchip , LAKML , dri-devel , LKML Subject: Re: [RFC PATCH v3 1/4] drm: Introduce generic probe function for component based masters. In-Reply-To: <1445267270-23126-2-git-send-email-Liviu.Dudau@arm.com> References: <1445267270-23126-1-git-send-email-Liviu.Dudau@arm.com> <1445267270-23126-2-git-send-email-Liviu.Dudau@arm.com> User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Tue, 20 Oct 2015 10:45:24 +0100 Message-ID: <87zizdj2kr.fsf@eliezer.anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Liviu Dudau writes: > A lot of component based DRM drivers use a variant of the same code > as the probe function. They bind the crtc ports in the first iteration > and then scan through the child nodes and bind the encoders attached > to the remote endpoints. Factor the common code into a separate > function called drm_of_component_probe() in order to increase code > reuse. > > Cc: David Airlie > Signed-off-by: Liviu Dudau Acked-by: Eric Anholt I'm unimpressed with of-graph, but this will really help me in trying it out for vc4. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWJg01AAoJELXWKTbR/J7ocnoP/24fSj0z/2B5y44x5eMyFwG2 61FVHM+jW2pOn7/+PkCczSqdk3u6bhhyJOyWNIou5bZqlHrlXE+FCsOM5Ic8HG64 cZRabMiN/NdQB1CB8abr2mnhcGLZkmP7HtFM3CfcEawUgwmgeCPhHcW/KjAplQrh M2c2RBN8NhUb4iZ3o5PQCZkNyZQH0/Fh06FdlLdanFUHQ0X84BsqcBL+r4cJ5uXy IbXfEgY55pEtJflW/ZizlXEJnNhdac+iqAxr9icTxJqTrhLwQ59sHVJ0KXD242ld OKPc7oHHgOv6WkOZGYVv6TDfc1DI8+sKRszTx9cescIFAeqr7n89coYz4ROZ4JGR hz23SQu3rjABKLpzPNzbRCHvIJzt2r/pIsIQ18iM3VyEgIPpwhEWhp7iBpjc7KCZ oBFuE94M6iXKytrQfTSTOsCm8fiG5zUiFiTXX3pXyRoCa5WwDva1gX7A9rbtF6uE w4k6lqYnKUhfqrxzDDM66pff7oqDAMLYAmlG1ZGI+hMdNBa5C+6c9fJrjsQw/n+O UjeA6SwGWCgZMrVuibqh1tQHR7oXtTipkgdJHbldae99shVwvis854X1qU2HVqkb vXsqekaEeLli2Ldcw05ufdN1UfxYC4mX24KHU9oc78St2EezpHtIHDJ8+hx+zXz4 1fl9G2Fv8M24CLRBRKb2 =7zMl -----END PGP SIGNATURE----- --=-=-=--