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


Groups > linux.kernel > #1251540

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

From Eric Anholt <eric@anholt.net>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v3 1/4] drm: Introduce generic probe function for component based masters.
Date 2015-10-20 11:50 +0200
Message-ID <qlBIn-8jI-25@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


[Multipart message — attachments visible in raw view] - view raw

Liviu Dudau <Liviu.Dudau@arm.com> 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 <airlied@linux.ie>
> Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>

Acked-by: Eric Anholt <eric@anholt.net>

I'm unimpressed with of-graph, but this will really help me in trying it
out for vc4.

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