drm_atomic_helper_connector_dpms
Prev | Atomic Modeset Helper Functions Reference | Next

## Name

drm_atomic_helper_connector_dpms — connector dpms helper implementation

## Synopsis

`int drm_atomic_helper_connector_dpms (` | struct drm_connector * connector,
| int mode`)`;

## Arguments

`connector`

  affected connector

`mode`

  DPMS mode

## Description

This is the main helper function provided by the atomic helper framework for implementing the legacy DPMS connector interface. It computes the new desired ->active state for the corresponding CRTC (if the connector is enabled) and updates it.

## Returns

Returns 0 on success, negative errno numbers on failure.

Prev | Up | Next
drm_atomic_helper_page_flip | Home | drm_atomic_helper_crtc_reset