From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [Intel-gfx] [PATCH 1/2] drm/doc: fix duplicate declaration warning
Date: Wed, 21 Jun 2023 15:31:55 +0300 [thread overview]
Message-ID: <20230621123156.14907-1-jani.nikula@intel.com> (raw)
We have duplicate kernel-doc directives for the same struct, leading to:
/home/jani/src/linux/Documentation/gpu/driver-uapi.rst:2279: WARNING: Duplicate C declaration, also defined at rfc/i915_scheduler:3.
Declaration is '.. c:struct:: i915_context_engines_parallel_submit'.
Use the Sphinx C domain namespace for the rfc document to fix this.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
Documentation/gpu/rfc/i915_scheduler.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/gpu/rfc/i915_scheduler.rst b/Documentation/gpu/rfc/i915_scheduler.rst
index d630f15ab795..ec086e7a43ff 100644
--- a/Documentation/gpu/rfc/i915_scheduler.rst
+++ b/Documentation/gpu/rfc/i915_scheduler.rst
@@ -135,9 +135,13 @@ Add I915_CONTEXT_ENGINES_EXT_PARALLEL_SUBMIT and
drm_i915_context_engines_parallel_submit to the uAPI to implement this
extension.
+.. c:namespace-push:: rfc
+
.. kernel-doc:: include/uapi/drm/i915_drm.h
:functions: i915_context_engines_parallel_submit
+.. c:namespace-pop::
+
Extend execbuf2 IOCTL to support submitting N BBs in a single IOCTL
-------------------------------------------------------------------
Contexts that have been configured with the 'set_parallel' extension can only
--
2.39.2
next reply other threads:[~2023-06-21 12:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-21 12:31 Jani Nikula [this message]
2023-06-21 12:31 ` [Intel-gfx] [PATCH 2/2] drm/i915: fix Sphinx indentation warning Jani Nikula
2023-06-26 12:05 ` Luca Coelho
2023-06-21 21:13 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/doc: fix duplicate declaration warning Patchwork
2023-06-21 21:31 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-06-26 9:24 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/doc: fix duplicate declaration warning (rev2) Patchwork
2023-06-26 9:35 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-06-26 12:05 ` [Intel-gfx] [PATCH 1/2] drm/doc: fix duplicate declaration warning Luca Coelho
2023-06-26 17:18 ` Jani Nikula
2023-06-26 16:02 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/doc: fix duplicate declaration warning (rev2) Patchwork
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=20230621123156.14907-1-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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