* [PATCH] drm/doc: internals: remove section on PCI legacy support
@ 2024-01-12 5:17 Randy Dunlap
2024-01-12 12:58 ` Daniel Vetter
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2024-01-12 5:17 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Thomas Zimmermann, David Airlie, Daniel Vetter,
dri-devel, Jonathan Corbet, linux-doc
The functions that were described in this section of
drm-internals.rst were removed in NOV-2023, along with all of the
kernel-doc comments in the source file. This now causes a
docs build warning, so remove that section of the documentation also.
drivers/gpu/drm/drm_pci.c:1: warning: no structured comments found
Fixes: 2504c7ec728b ("drm: Remove source code for non-KMS drivers")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
---
Documentation/gpu/drm-internals.rst | 12 ------------
1 file changed, 12 deletions(-)
diff -- a/Documentation/gpu/drm-internals.rst b/Documentation/gpu/drm-internals.rst
--- a/Documentation/gpu/drm-internals.rst
+++ b/Documentation/gpu/drm-internals.rst
@@ -153,18 +153,6 @@ Managed Resources
.. kernel-doc:: include/drm/drm_managed.h
:internal:
-Bus-specific Device Registration and PCI Support
-------------------------------------------------
-
-A number of functions are provided to help with device registration. The
-functions deal with PCI and platform devices respectively and are only
-provided for historical reasons. These are all deprecated and shouldn't
-be used in new drivers. Besides that there's a few helpers for pci
-drivers.
-
-.. kernel-doc:: drivers/gpu/drm/drm_pci.c
- :export:
-
Open/Close, File Operations and IOCTLs
======================================
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] drm/doc: internals: remove section on PCI legacy support
2024-01-12 5:17 [PATCH] drm/doc: internals: remove section on PCI legacy support Randy Dunlap
@ 2024-01-12 12:58 ` Daniel Vetter
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2024-01-12 12:58 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Thomas Zimmermann, David Airlie, Daniel Vetter,
dri-devel, Jonathan Corbet, linux-doc
On Thu, Jan 11, 2024 at 09:17:31PM -0800, Randy Dunlap wrote:
> The functions that were described in this section of
> drm-internals.rst were removed in NOV-2023, along with all of the
> kernel-doc comments in the source file. This now causes a
> docs build warning, so remove that section of the documentation also.
>
> drivers/gpu/drm/drm_pci.c:1: warning: no structured comments found
>
> Fixes: 2504c7ec728b ("drm: Remove source code for non-KMS drivers")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Thomas Zimmermann <tzimmermann@suse.de>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: dri-devel@lists.freedesktop.org
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
Applied to drm-misc-next, thanks!
-Sima
> ---
> Documentation/gpu/drm-internals.rst | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff -- a/Documentation/gpu/drm-internals.rst b/Documentation/gpu/drm-internals.rst
> --- a/Documentation/gpu/drm-internals.rst
> +++ b/Documentation/gpu/drm-internals.rst
> @@ -153,18 +153,6 @@ Managed Resources
> .. kernel-doc:: include/drm/drm_managed.h
> :internal:
>
> -Bus-specific Device Registration and PCI Support
> -------------------------------------------------
> -
> -A number of functions are provided to help with device registration. The
> -functions deal with PCI and platform devices respectively and are only
> -provided for historical reasons. These are all deprecated and shouldn't
> -be used in new drivers. Besides that there's a few helpers for pci
> -drivers.
> -
> -.. kernel-doc:: drivers/gpu/drm/drm_pci.c
> - :export:
> -
> Open/Close, File Operations and IOCTLs
> ======================================
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-12 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-12 5:17 [PATCH] drm/doc: internals: remove section on PCI legacy support Randy Dunlap
2024-01-12 12:58 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox