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.