Name

drm_atomic_set_mode_for_crtc — set mode for CRTC

Synopsis

int drm_atomic_set_mode_for_crtc (struct drm_crtc_state * state,
 struct drm_display_mode * mode);
 

Arguments

state

the CRTC whose incoming state to update

mode

kernel-internal mode to use for the CRTC, or NULL to disable

Description

Set a mode (originating from the kernel) on the desired CRTC state. Does not change any other state properties, including enable, active, or mode_changed.

RETURNS

Zero on success, error code on failure. Cannot return -EDEADLK.