---
name: "drm_crtc_helper_set_config"
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_crtc_helper_set_config"
---

# drm\_crtc\_helper\_set\_config(9)

set a new config from userspace

## NAME

drm\_crtc\_helper\_set\_config - set a new config from userspace

## SYNOPSIS

**int drm\_crtc\_helper\_set\_config(struct drm\_mode\_set \*** *set***);**

## ARGUMENTS

*set*

mode set configuration

## DESCRIPTION

Setup a new configuration, provided by the upper layers (either an ioctl call from userspace or internally e.g. from the fbdev support code) in *set*, and enable it. This is the main helper functions for drivers that implement kernel mode setting with the crtc helper functions and the assorted -\>**prepare**, -\>**modeset** and -\>**commit** helper callbacks.

## RETURNS

Returns 0 on success, negative errno numbers on failure.

## 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
