aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fb_helper.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-01 09:45:17 -0400
committerDave Airlie <airlied@redhat.com>2012-11-28 05:26:52 -0500
commitd0ddc0338af8265e65bd5e4ca72e3d8e61e41d8d (patch)
tree05ca94f9d25b1eee29abbc5e2259c14c264a80c1 /drivers/gpu/drm/drm_fb_helper.c
parent0d4ed4c8f937a0b1aa1cb60e16a41e2f7b0123ca (diff)
drm/doc: integrate fb helper reference into docs
Again only minimal changes to make kerneldoc no longer shout. Plus a little introduction in the form of a inline DOC: section to quickly explain what this is all about. v2: Fixup spelling fail. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c19
1 files changed, 15 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 2c44af691e98..05e623a5d095 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -45,6 +45,15 @@ MODULE_LICENSE("GPL and additional rights");
45 45
46static LIST_HEAD(kernel_fb_helper_list); 46static LIST_HEAD(kernel_fb_helper_list);
47 47
48/**
49 * DOC: fbdev helpers
50 *
51 * The fb helper functions are useful to provide an fbdev on top of a drm kernel
52 * mode setting driver. They can be used mostly independantely from the crtc
53 * helper functions used by many drivers to implement the kernel mode setting
54 * interfaces.
55 */
56
48/* simple single crtc case helper function */ 57/* simple single crtc case helper function */
49int drm_fb_helper_single_add_all_connectors(struct drm_fb_helper *fb_helper) 58int drm_fb_helper_single_add_all_connectors(struct drm_fb_helper *fb_helper)
50{ 59{
@@ -1302,12 +1311,14 @@ out:
1302 1311
1303/** 1312/**
1304 * drm_helper_initial_config - setup a sane initial connector configuration 1313 * drm_helper_initial_config - setup a sane initial connector configuration
1305 * @dev: DRM device 1314 * @fb_helper: fb_helper device struct
1315 * @bpp_sel: bpp value to use for the framebuffer configuration
1306 * 1316 *
1307 * LOCKING: 1317 * LOCKING:
1308 * Called at init time, must take mode config lock. 1318 * Called at init time by the driver to set up the @fb_helper initial
1319 * configuration, must take the mode config lock.
1309 * 1320 *
1310 * Scan the CRTCs and connectors and try to put together an initial setup. 1321 * Scans the CRTCs and connectors and tries to put together an initial setup.
1311 * At the moment, this is a cloned configuration across all heads with 1322 * At the moment, this is a cloned configuration across all heads with
1312 * a new framebuffer object as the backing store. 1323 * a new framebuffer object as the backing store.
1313 * 1324 *
@@ -1341,7 +1352,7 @@ EXPORT_SYMBOL(drm_fb_helper_initial_config);
1341 1352
1342/** 1353/**
1343 * drm_fb_helper_hotplug_event - respond to a hotplug notification by 1354 * drm_fb_helper_hotplug_event - respond to a hotplug notification by
1344 * probing all the outputs attached to the fb. 1355 * probing all the outputs attached to the fb
1345 * @fb_helper: the drm_fb_helper 1356 * @fb_helper: the drm_fb_helper
1346 * 1357 *
1347 * LOCKING: 1358 * LOCKING: