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.