From: Graham Whaley <graham.whaley@linux.intel.com>
To: daniel.vetter@intel.com, jani.nikula@linux.intel.com,
intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: Graham Whaley <graham.whaley@linux.intel.com>,
danilo.cesar@collabora.co.uk, corbet@lwn.net
Subject: [PATCH 3/5] Documentation: drm: Change <code> to <literal>
Date: Tue, 25 Aug 2015 10:26:43 +0100 [thread overview]
Message-ID: <1440494805-13325-4-git-send-email-graham.whaley@linux.intel.com> (raw)
In-Reply-To: <1440494805-13325-1-git-send-email-graham.whaley@linux.intel.com>
Fix pdfdocs errors such as:
jade:/Documentation/DocBook/drm.xml:10084:13:E: element "code" undefined
by changing <code> tags to <literal> tags.
It looks like <code> tags were introduced in DocBook v4.3, and kernel
DocBook is v4.1.2. I would have used <codelisting>, but that introduces
undesirable breaks into the paragraph flow.
Signed-off-by: Graham Whaley <graham.whaley@linux.intel.com>
---
Documentation/DocBook/drm.tmpl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 952eb78..2e05a79 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -1198,14 +1198,14 @@ int max_width, max_height;</synopsis>
<para>
Beside some lookup structures with their own locking (which is hidden
behind the interface functions) most of the modeset state is protected
- by the <code>dev-<mode_config.lock</code> mutex and additionally
+ by the <literal>dev-<mode_config.lock</literal> mutex and additionally
per-crtc locks to allow cursor updates, pageflips and similar operations
to occur concurrently with background tasks like output detection.
Operations which cross domains like a full modeset always grab all
locks. Drivers there need to protect resources shared between crtcs with
additional locking. They also need to be careful to always grab the
relevant crtc locks if a modset functions touches crtc state, e.g. for
- load detection (which does only grab the <code>mode_config.lock</code>
+ load detection (which does only grab the <literal>mode_config.lock</literal>
to allow concurrent screen updates on live crtcs).
</para>
</sect2>
@@ -1296,8 +1296,8 @@ int max_width, max_height;</synopsis>
</para>
<para>
If a page flip can be successfully scheduled the driver must set the
- <code>drm_crtc->fb</code> field to the new framebuffer pointed to
- by <code>fb</code>. This is important so that the reference counting
+ <literal>drm_crtc->fb</literal> field to the new framebuffer pointed to
+ by <literal>fb</literal>. This is important so that the reference counting
on framebuffers stays balanced.
</para>
<para>
--
2.4.3
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-08-25 9:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 9:26 [PATCH 0/5] Documentation: drm: Make drm.tmpl build as pdfdoc Graham Whaley
2015-08-25 9:26 ` [PATCH 1/5] Documentation: drm: Fix pdfdocs sect/title tags Graham Whaley
2015-08-25 11:34 ` Daniel Vetter
2015-08-25 14:42 ` Graham Whaley
2015-08-25 9:26 ` [PATCH 2/5] Documentation: drm: Fix pdfdocs listitem and abstract <para>s Graham Whaley
2015-08-25 9:26 ` Graham Whaley [this message]
2015-08-25 9:26 ` [PATCH 4/5] Documentation: drm: Convert KMS Properties HTML table to CALS Graham Whaley
2015-08-25 14:29 ` Daniel Vetter
2015-08-25 16:10 ` Graham Whaley
2015-08-26 9:32 ` [Intel-gfx] " Daniel Vetter
2015-09-01 17:56 ` Danilo Cesar Lemes de Paula
2015-09-02 9:22 ` Graham Whaley
2015-09-02 13:50 ` Graham Whaley
2015-08-25 9:26 ` [PATCH 5/5] Documentation: drm: Unify quoting methods Graham Whaley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1440494805-13325-4-git-send-email-graham.whaley@linux.intel.com \
--to=graham.whaley@linux.intel.com \
--cc=corbet@lwn.net \
--cc=daniel.vetter@intel.com \
--cc=danilo.cesar@collabora.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox