drm/fb-helper: add headerdoc for drm_fb_helper
authorRob Clark <robdclark@gmail.com>
Tue, 25 Aug 2015 19:35:57 +0000 (15:35 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Sep 2015 18:36:04 +0000 (11:36 -0700)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drm_fb_helper.h

index 67de1f10008e6b38d9d1dcfaeae28cde02bc28dd..62541363f747a53637fc4de710c225ad8bdd6211 100644 (file)
@@ -104,6 +104,20 @@ struct drm_fb_helper_connector {
        struct drm_connector *connector;
 };
 
+/**
+ * struct drm_fb_helper - helper to emulate fbdev on top of kms
+ * @fb:  Scanout framebuffer object
+ * @dev:  DRM device
+ * @crtc_count: number of possible CRTCs
+ * @crtc_info: per-CRTC helper state (mode, x/y offset, etc)
+ * @connector_count: number of connected connectors
+ * @connector_info_alloc_count: size of connector_info
+ * @funcs: driver callbacks for fb helper
+ * @fbdev: emulated fbdev device info struct
+ * @pseudo_palette: fake palette of 16 colors
+ * @kernel_fb_list: list_head in kernel_fb_helper_list
+ * @delayed_hotplug: was there a hotplug while kms master active?
+ */
 struct drm_fb_helper {
        struct drm_framebuffer *fb;
        struct drm_device *dev;