[PATCH RFC] drm: add of_graph endpoint helper to find possible CRTCs

2014-07-09 Thread Russell King - ARM Linux
On Wed, Jul 09, 2014 at 02:11:18PM -0400, Rob Clark wrote: > On Wed, Jul 9, 2014 at 11:16 AM, Russell King - ARM Linux > wrote: > > Warning(.../include/drm/drm_flip_work.h:68): No description found for > > parameter ')' > > Warning(.../include/drm/drm_flip_work.h:68): Excess > > struct/union/enu

[PATCH RFC] drm: add of_graph endpoint helper to find possible CRTCs

2014-07-09 Thread Russell King - ARM Linux
On Thu, Jul 03, 2014 at 06:36:47PM -0400, Rob Clark wrote: > On Thu, Jul 3, 2014 at 12:49 PM, Russell King > wrote: > > Add a helper to allow encoders to find their possible CRTCs from the > > OF graph without having to re-implement this functionality. We add a > > device_node to drm_crtc which c

[PATCH RFC] drm: add of_graph endpoint helper to find possible CRTCs

2014-07-09 Thread Rob Clark
On Wed, Jul 9, 2014 at 11:16 AM, Russell King - ARM Linux wrote: > On Thu, Jul 03, 2014 at 06:36:47PM -0400, Rob Clark wrote: >> On Thu, Jul 3, 2014 at 12:49 PM, Russell King >> wrote: >> > Add a helper to allow encoders to find their possible CRTCs from the >> > OF graph without having to re-imp

[PATCH RFC] drm: add of_graph endpoint helper to find possible CRTCs

2014-07-05 Thread Rob Clark
On Thu, Jul 3, 2014 at 6:41 PM, Russell King - ARM Linux wrote: > On Thu, Jul 03, 2014 at 06:17:24PM -0400, Rob Clark wrote: >> On Thu, Jul 3, 2014 at 12:49 PM, Russell King >> wrote: >> > Add a helper to allow encoders to find their possible CRTCs from the >> > OF graph without having to re-impl

[PATCH RFC] drm: add of_graph endpoint helper to find possible CRTCs

2014-07-03 Thread Russell King - ARM Linux
On Thu, Jul 03, 2014 at 06:17:24PM -0400, Rob Clark wrote: > On Thu, Jul 3, 2014 at 12:49 PM, Russell King > wrote: > > Add a helper to allow encoders to find their possible CRTCs from the > > OF graph without having to re-implement this functionality. We add a > > device_node to drm_crtc which c

[PATCH RFC] drm: add of_graph endpoint helper to find possible CRTCs

2014-07-03 Thread Rob Clark
On Thu, Jul 3, 2014 at 12:49 PM, Russell King wrote: > Add a helper to allow encoders to find their possible CRTCs from the > OF graph without having to re-implement this functionality. We add a > device_node to drm_crtc which corresponds with the port node in the > DT description of the CRTC dev

[PATCH RFC] drm: add of_graph endpoint helper to find possible CRTCs

2014-07-03 Thread Rob Clark
On Thu, Jul 3, 2014 at 12:49 PM, Russell King wrote: > Add a helper to allow encoders to find their possible CRTCs from the > OF graph without having to re-implement this functionality. We add a > device_node to drm_crtc which corresponds with the port node in the > DT description of the CRTC dev

[PATCH RFC] drm: add of_graph endpoint helper to find possible CRTCs

2014-07-03 Thread Russell King
Add a helper to allow encoders to find their possible CRTCs from the OF graph without having to re-implement this functionality. We add a device_node to drm_crtc which corresponds with the port node in the DT description of the CRTC device. We can then scan the DRM device list for CRTCs to find t