diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2016-05-11 12:09:18 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-05-11 12:48:10 -0400 |
commit | 02da16d0fbe2cde3d7befb8a907c167c4a79a681 (patch) | |
tree | ad7cc778ae4523d2eaae1517e52a12dc50c96ff2 | |
parent | 2dad551cfb72f85c4f08b0c06e777f23a4df2f33 (diff) |
drm/fb-cma-helper: Hook up to DocBook and fix some docs
Hook up fb_cma_helper to DocBook. Remove mention of
CONFIG_FB_DEFERRED_IO in the docs, which was forgotten in the latest
version of the deferred_io patch.
Use & when referencing drm_mode_config_funcs in docs.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1462982962-10530-3-git-send-email-noralf@tronnes.org
-rw-r--r-- | Documentation/DocBook/gpu.tmpl | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_fb_cma_helper.c | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/DocBook/gpu.tmpl b/Documentation/DocBook/gpu.tmpl index 9dd48f7490df..4a0c599b6a6d 100644 --- a/Documentation/DocBook/gpu.tmpl +++ b/Documentation/DocBook/gpu.tmpl | |||
@@ -1617,6 +1617,11 @@ void intel_crt_init(struct drm_device *dev) | |||
1617 | !Iinclude/drm/drm_fb_helper.h | 1617 | !Iinclude/drm/drm_fb_helper.h |
1618 | </sect2> | 1618 | </sect2> |
1619 | <sect2> | 1619 | <sect2> |
1620 | <title>Framebuffer CMA Helper Functions Reference</title> | ||
1621 | !Pdrivers/gpu/drm/drm_fb_cma_helper.c framebuffer cma helper functions | ||
1622 | !Edrivers/gpu/drm/drm_fb_cma_helper.c | ||
1623 | </sect2> | ||
1624 | <sect2> | ||
1620 | <title>Display Port Helper Functions Reference</title> | 1625 | <title>Display Port Helper Functions Reference</title> |
1621 | !Pdrivers/gpu/drm/drm_dp_helper.c dp helpers | 1626 | !Pdrivers/gpu/drm/drm_dp_helper.c dp helpers |
1622 | !Iinclude/drm/drm_dp_helper.h | 1627 | !Iinclude/drm/drm_dp_helper.h |
diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c index 086f600a975a..3165ac0e93e5 100644 --- a/drivers/gpu/drm/drm_fb_cma_helper.c +++ b/drivers/gpu/drm/drm_fb_cma_helper.c | |||
@@ -43,14 +43,12 @@ struct drm_fbdev_cma { | |||
43 | * Provides helper functions for creating a cma (contiguous memory allocator) | 43 | * Provides helper functions for creating a cma (contiguous memory allocator) |
44 | * backed framebuffer. | 44 | * backed framebuffer. |
45 | * | 45 | * |
46 | * drm_fb_cma_create() is used in the | 46 | * drm_fb_cma_create() is used in the &drm_mode_config_funcs ->fb_create |
47 | * (struct drm_mode_config_funcs *)->fb_create callback function to create the | 47 | * callback function to create a cma backed framebuffer. |
48 | * cma backed framebuffer. | ||
49 | * | 48 | * |
50 | * An fbdev framebuffer backed by cma is also available by calling | 49 | * An fbdev framebuffer backed by cma is also available by calling |
51 | * drm_fbdev_cma_init(). drm_fbdev_cma_fini() tears it down. | 50 | * drm_fbdev_cma_init(). drm_fbdev_cma_fini() tears it down. |
52 | * If CONFIG_FB_DEFERRED_IO is enabled and the callback | 51 | * If the &drm_framebuffer_funcs ->dirty callback is set, fb_deferred_io |
53 | * (struct drm_framebuffer_funcs)->dirty is set, fb_deferred_io | ||
54 | * will be set up automatically. dirty() is called by | 52 | * will be set up automatically. dirty() is called by |
55 | * drm_fb_helper_deferred_io() in process context (struct delayed_work). | 53 | * drm_fb_helper_deferred_io() in process context (struct delayed_work). |
56 | * | 54 | * |