Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef27351a authored by Jesse Barnes's avatar Jesse Barnes Committed by Dave Airlie
Browse files

drm: document drm_mode_set structure



This is a core mode setting structure that deserves a little verbiage.

Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 72252548
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -646,7 +646,15 @@ struct drm_plane {
};

/**
 * struct drm_mode_set
 * drm_mode_set - new values for a CRTC config change
 * @head: list management
 * @fb: framebuffer to use for new config
 * @crtc: CRTC whose configuration we're about to change
 * @mode: mode timings to use
 * @x: position of this CRTC relative to @fb
 * @y: position of this CRTC relative to @fb
 * @connectors: array of connectors to drive with this CRTC if possible
 * @num_connectors: size of @connectors array
 *
 * Represents a single crtc the connectors that it drives with what mode
 * and from which framebuffer it scans out from.