---
name: "drm_helper_probe_single_connector_modes"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_helper_probe_single_connector_modes"
---

# drm\_helper\_probe\_single\_connector\_modes(9)

get complete set of display modes

## NAME

drm\_helper\_probe\_single\_connector\_modes - get complete set of display modes

## SYNOPSIS

**int drm\_helper\_probe\_single\_connector\_modes(struct drm\_connector \*** *connector***, uint32\_t** *maxX***, uint32\_t** *maxY***);**

## ARGUMENTS

*connector*

connector to probe

*maxX*

max width for modes

*maxY*

max height for modes

## DESCRIPTION

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 -\>**fill\_modes***connector* vfunc for drivers that use the crtc helpers for output mode filtering and detection.

## RETURNS

The number of modes found on *connector*.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
