Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1250814

Re: [RFC PATCH v3 1/4] drm: Introduce generic probe function for component based masters.

From Russell King - ARM Linux <linux@arm.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v3 1/4] drm: Introduce generic probe function for component based masters.
Date 2015-10-19 17:20 +0200
Message-ID <qlkob-8eL-27@gated-at.bofh.it> (permalink)
References <qlkeu-82E-13@gated-at.bofh.it> <qlkeu-82E-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Oct 19, 2015 at 04:07:47PM +0100, Liviu Dudau wrote:
> 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.

Thanks, this now looks perfect.

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps 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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH v3 0/4] drm: Cleanup probe function for component based masters. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-10-19 17:10 +0200
  [RFC PATCH v3 2/4] drm/imx: Convert the probe function to the generic drm_of_component_probe() Liviu Dudau <Liviu.Dudau@arm.com> - 2015-10-19 17:10 +0200
    Re: [RFC PATCH v3 2/4] drm/imx: Convert the probe function to the  generic drm_of_component_probe() Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-10-19 17:20 +0200
  [RFC PATCH v3 1/4] drm: Introduce generic probe function for component based masters. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-10-19 17:10 +0200
    Re: [RFC PATCH v3 1/4] drm: Introduce generic probe function for  component based masters. Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-10-19 17:20 +0200
    Re: [RFC PATCH v3 1/4] drm: Introduce generic probe function for component based masters. Eric Anholt <eric@anholt.net> - 2015-10-20 11:50 +0200
  [RFC PATCH v3 3/4] drm/rockchip: Convert the probe function to the generic drm_of_component_probe() Liviu Dudau <Liviu.Dudau@arm.com> - 2015-10-19 17:10 +0200

csiph-web