other versions
- jessie 3.16.56-1+deb8u1
OF_GET_DRM_DISPLAY_M(9) | DRM Core | OF_GET_DRM_DISPLAY_M(9) |
NAME¶
of_get_drm_display_mode - get a drm_display_mode from devicetreeSYNOPSIS¶
int
of_get_drm_display_mode(struct device_node * np,
struct drm_display_mode * dmode,
int index);
ARGUMENTS¶
npdevice_node with the timing specification
dmode
will be set to the return value
index
index into the list of display timings in
devicetree
DESCRIPTION¶
This function is expensive and should only be used, if only one mode is to be read from DT. To get multiple modes start with of_get_display_timings and work with that instead.RETURNS¶
0 on success, a negative errno code when no of videomode node was found.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |