Query: drm_helper_probe_single_connector_modes
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DRM_HELPER_PROBE_SIN(9) DRM Internals DRM_HELPER_PROBE_SIN(9)NAMEdrm_helper_probe_single_connector_modes - get complete set of display modesSYNOPSISint drm_helper_probe_single_connector_modes(struct drm_connector * connector, uint32_t maxX, uint32_t maxY);ARGUMENTSconnector connector to probe maxX max width for modes maxY max height for modesLOCKINGCaller must hold mode config lock. Based on the helper callbacks implemented by connector try to detect all valid modes. Modes will first be added to the connector's probed_modes list, then culled (based on validity and the maxX, maxY parameters) and put into the normal modes list. Intended to be use as a generic implementation of the ->probeconnector callback for drivers that use the crtc helpers for output mode filtering and detection.RETURNSNumber of modes found on connector.AUTHORSJesse Barnes <jesse.barnes@intel.com> Intel Corporation, Initial version Laurent Pinchart <laurent.pinchart@ideasonboard.com> Ideas on board SPRL, Driver internalsCOPYRIGHTKernel Hackers Manual 3.10 June 2014 DRM_HELPER_PROBE_SIN(9)