drm: add overview diagram for drm stack
Subsystems (3)
PATCH v3 1/1 drm: add overview diagram for drm stack
revert promotion of overview diagram title to that of previous commit in introduction.rst
---
Changes in v3:
- revert the promotion of the overview diagram header
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Update the overview diagram to display correctly by putting in a literal block.
- Also update the overview section diagram to a higher order.
- Ensured docs are successfully rendering by building for htmldocs and pdfdocs.
- Rendered pages are okay on html and pdf.
- Link to v1: https://lore.kernel.org/r/[email protected]
--- Documentation/gpu/introduction.rst | 40 +++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-)
Documentation/gpu/introduction.rst +39 -1
@@ -14,7 +14,45 @@ including the TTM memory manager, output configuration and mode setting, and the new vblank internals, in addition to all the regular features found in current kernels. -[Insert diagram of typical DRM stack here] +Overview of the Linux DRM Architecture +-------------------------------------- +:: + + +-----------------------------+ + | User-space Apps | + | (Games, Browsers, ML, etc.) | + +-----------------------------+ + | + v + +---------------------------------------+ + | Graphics APIs | Compute APIs | + | (OpenGL, Vulkan) | (OpenCL, CUDA) | + +---------------------------------------+ + | | + v v + +---------------------+ +-----------------------+ + | User-space Driver | | Compute Runtime | + | (Mesa, AMD/NVIDIA) | | (OpenCL, CUDA, ROCm) | + +---------------------+ +-----------------------+ + | | + +--------+----------+ + | + v + +-----------------------+ + | libdrm (DRM API) | + +-----------------------+ + | + v + +-------------------------------------------+ + | Kernel DRM/KMS Driver (i915, amdgpu, | + | nouveau, etc.) | + +-------------------------------------------+ + | | + v v + +----------------+ +-------------------+ + | GPU Display HW | | GPU Compute Units | + +----------------+ +-------------------+ + Style Guidelines ================
---
base-commit: 4d07f5440d7afee27dada528aaf5230e760531cb
change-id: 20250522-drm-doc-updates-3686f6d48122
Best regards,
Signature · 1 line
Abdulrasaq Lawani <[email protected]>
Quoted 3 lines · Abdulrasaq Lawani
revert promotion of overview diagram title to that of previous commit in
introduction.rst
The patch description doesn't really describe the diff below, which is to add overview diagram instead. Maybe you can replace that with from your v1?
Quoted 42 lines
Documentation/gpu/introduction.rst +32
-1@@ -14,7 +14,45 @@ including the TTM memory manager, output configuration and mode setting, and the new vblank internals, in addition to all the regular features found in current kernels. -[Insert diagram of typical DRM stack here] +Overview of the Linux DRM Architecture +-------------------------------------- +:: + + +-----------------------------+ + | User-space Apps | + | (Games, Browsers, ML, etc.) | + +-----------------------------+ + | + v + +---------------------------------------+ + | Graphics APIs | Compute APIs | + | (OpenGL, Vulkan) | (OpenCL, CUDA) | + +---------------------------------------+ + | | + v v + +---------------------+ +-----------------------+ + | User-space Driver | | Compute Runtime | + | (Mesa, AMD/NVIDIA) | | (OpenCL, CUDA, ROCm) | + +---------------------+ +-----------------------+ + | | + +--------+----------+ + | + v + +-----------------------+ + | libdrm (DRM API) | + +-----------------------+ + | + v + +-------------------------------------------+ + | Kernel DRM/KMS Driver (i915, amdgpu, | + | nouveau, etc.) |
Documentation/gpu/introduction.rst including the TTM memory manager, output configuration and mode setting, · line 58
Quoted 10 lines
Documentation/gpu/introduction.rst +7
-0+ +-------------------------------------------+ + | | + v v + +----------------+ +-------------------+ + | GPU Display HW | | GPU Compute Units | + +----------------+ +-------------------+ + Style Guidelines ================
The diff itself looks good.
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara