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

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

drm: add drm_encoder comments



Just some basic comments about the place and function of the structure
and fields.

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 6c3db920
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -456,6 +456,18 @@ struct drm_encoder_funcs {

/**
 * drm_encoder - central DRM encoder structure
 * @dev: parent DRM device
 * @head: list management
 * @base: base KMS object
 * @encoder_type: one of the %DRM_MODE_ENCODER_<foo> types in drm_mode.h
 * @possible_crtcs: bitmask of potential CRTC bindings
 * @possible_clones: bitmask of potential sibling encoders for cloning
 * @crtc: currently bound CRTC
 * @funcs: control functions
 * @helper_private: mid-layer private data
 *
 * CRTCs drive pixels to encoders, which convert them into signals
 * appropriate for a given connector or set of connectors.
 */
struct drm_encoder {
	struct drm_device *dev;