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

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

drm: document and cleanup drm_mode_config_funcs



Just fix the wrapping mostly.

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 ef27351a
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -676,10 +676,17 @@ struct drm_mode_set {
};

/**
 * struct drm_mode_config_funcs - configure CRTCs for a given screen layout
 * struct drm_mode_config_funcs - basic driver provided mode setting functions
 * @fb_create: create a new framebuffer object
 * @output_poll_changed: function to handle output configuration changes
 *
 * Some global (i.e. not per-CRTC, connector, etc) mode setting functions that
 * involve drivers.
 */
struct drm_mode_config_funcs {
	struct drm_framebuffer *(*fb_create)(struct drm_device *dev, struct drm_file *file_priv, struct drm_mode_fb_cmd2 *mode_cmd);
	struct drm_framebuffer *(*fb_create)(struct drm_device *dev,
					     struct drm_file *file_priv,
					     struct drm_mode_fb_cmd2 *mode_cmd);
	void (*output_poll_changed)(struct drm_device *dev);
};