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

Commit da5335b8 authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/doc: Switch to sphinx/rst fixed-width quoting



Just fallout from switching from asciidoc to sphinx/rst.

v2: Found more. Also s/\//#/ in the vgpu ascii-art - sphinx treats
those as comments and switch to variable-width, which wreaks the
layout.

v3: Undo some of the hacks, rebasing onto latest version of Jani's
series fixed it.

Acked-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 00edbe19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
 * encoder chain.
 *
 * A bridge is always attached to a single &drm_encoder at a time, but can be
 * either connected to it directly, or through an intermediate bridge:
 * either connected to it directly, or through an intermediate bridge::
 *
 *     encoder ---> bridge B ---> bridge A
 *
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ struct drm_fbdev_cma {
 * will be set up automatically. dirty() is called by
 * drm_fb_helper_deferred_io() in process context (struct delayed_work).
 *
 * Example fbdev deferred io code:
 * Example fbdev deferred io code::
 *
 *     static int driver_fbdev_fb_dirty(struct drm_framebuffer *fb,
 *                                      struct drm_file *file_priv,
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ DEFINE_MUTEX(drm_global_mutex);
 * specific implementations. For GEM-based drivers this is drm_gem_mmap().
 *
 * No other file operations are supported by the DRM userspace API. Overall the
 * following is an example #file_operations structure:
 * following is an example #file_operations structure::
 *
 *     static const example_drm_fops = {
 *             .owner = THIS_MODULE,
+2 −1
Original line number Diff line number Diff line
@@ -553,7 +553,8 @@ EXPORT_SYMBOL(drm_gtf_mode_complex);
 * I also refer to the function of fb_get_mode in the file of
 * drivers/video/fbmon.c
 *
 * Standard GTF parameters:
 * Standard GTF parameters::
 *
 *     M = 600
 *     C = 40
 *     K = 128
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
 *
 * For basic principles of &ww_mutex, see: Documentation/locking/ww-mutex-design.txt
 *
 * The basic usage pattern is to:
 * The basic usage pattern is to::
 *
 *     drm_modeset_acquire_init(&ctx)
 *     retry:
Loading