[PATCH v3 1/3] drm: add drm_of_encoder_active_endpoint helpers

2015-08-28 Thread Philipp Zabel
Hi Daniel, Am Donnerstag, den 27.08.2015, 16:22 +0200 schrieb Daniel Vetter: [...] > > +/* > > + * drm_of_encoder_active_endpoint - return the active encoder endpoint > > + * @node: device tree node containing encoder input ports > > + * @encoder: drm_encoder > > + * > > + * Given an encoder devic

[PATCH v3 1/3] drm: add drm_of_encoder_active_endpoint helpers

2015-08-27 Thread Daniel Vetter
On Thu, Aug 27, 2015 at 12:56:05PM +0200, Philipp Zabel wrote: > This patch adds a helper to parse the encoder endpoint connected to the > encoder's crtc and two helpers to return its id and port id. > > This can be used to determine input mux setting from endpoint or port ids. > > Suggested-by:

[PATCH v3 1/3] drm: add drm_of_encoder_active_endpoint helpers

2015-08-27 Thread Philipp Zabel
This patch adds a helper to parse the encoder endpoint connected to the encoder's crtc and two helpers to return its id and port id. This can be used to determine input mux setting from endpoint or port ids. Suggested-by: Daniel Kurtz Reviewed-by: Daniel Kurtz Signed-off-by: Philipp Zabel ---