diff options
author | Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> | 2015-11-25 12:07:55 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-15 04:22:26 -0500 |
commit | f03d8ede7a901d2425da5c21a91f6a76fe16b47f (patch) | |
tree | 7f6416f78a7913f069b9628dd4c069814b1b3284 /drivers/gpu/drm/drm_modes.c | |
parent | 51bce5bc38bdb79c0f7ab33f1fe91a68ef1afa77 (diff) |
drm/doc: Convert to markdown
DRM Docbook is now Markdown ready. This means its doc is able to
use markdown text on it.
* Documentation/DocBook/drm.tmpl: Contains a table duplicated from
drivers/gpu/drm/i915/i915_reg.h. This is not needed anymore
* drivers/gpu/drm/drm_modeset_lock.c: had a code example that used
to look pretty bad on html. Fixed by using proper code markup.
* drivers/gpu/drm/drm_prime.c: Remove spaces between lines to make
a proper markup list.
* drivers/gpu/drm/i915/i915_reg.h: Altought pandoc supports tables,
it doesn't support table cell spanning. But we can use fixed-width
for those special cases.
* include/drm/drm_vma_manager.h: Another code example that should be
proper indented with four spaces.
v2 (Daniel): Adjust name to gpu.xml due to rename.
v3 (Daniel):
Split out the actual enabling in the Makefile - this way we can merge
the conversion, while just keeping the enabling in a drm-private tree.
Signed-off-by: Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> (v1)
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Stephan Mueller <smueller@chronox.de>
Cc: Michal Marek <mmarek@suse.cz>
Cc: linux-kernel@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1448471279-19748-2-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
-rw-r--r-- | drivers/gpu/drm/drm_modes.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index 5a8a78d5e960..20775c05235a 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c | |||
@@ -553,10 +553,10 @@ EXPORT_SYMBOL(drm_gtf_mode_complex); | |||
553 | * drivers/video/fbmon.c | 553 | * drivers/video/fbmon.c |
554 | * | 554 | * |
555 | * Standard GTF parameters: | 555 | * Standard GTF parameters: |
556 | * M = 600 | 556 | * M = 600 |
557 | * C = 40 | 557 | * C = 40 |
558 | * K = 128 | 558 | * K = 128 |
559 | * J = 20 | 559 | * J = 20 |
560 | * | 560 | * |
561 | * Returns: | 561 | * Returns: |
562 | * The modeline based on the GTF algorithm stored in a drm_display_mode object. | 562 | * The modeline based on the GTF algorithm stored in a drm_display_mode object. |
@@ -1244,7 +1244,7 @@ EXPORT_SYMBOL(drm_mode_connector_list_update); | |||
1244 | * This uses the same parameters as the fb modedb.c, except for an extra | 1244 | * This uses the same parameters as the fb modedb.c, except for an extra |
1245 | * force-enable, force-enable-digital and force-disable bit at the end: | 1245 | * force-enable, force-enable-digital and force-disable bit at the end: |
1246 | * | 1246 | * |
1247 | * <xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd] | 1247 | * <xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd] |
1248 | * | 1248 | * |
1249 | * The intermediate drm_cmdline_mode structure is required to store additional | 1249 | * The intermediate drm_cmdline_mode structure is required to store additional |
1250 | * options from the command line modline like the force-enable/disable flag. | 1250 | * options from the command line modline like the force-enable/disable flag. |
@@ -1523,4 +1523,4 @@ int drm_mode_convert_umode(struct drm_display_mode *out, | |||
1523 | 1523 | ||
1524 | out: | 1524 | out: |
1525 | return ret; | 1525 | return ret; |
1526 | } \ No newline at end of file | 1526 | } |