[PATCH v2 2/2] drm: add overview diagram for drm stack

Abdulrasaq Lawani abdulrasaqolawani at gmail.com
Fri May 23 19:52:26 UTC 2025


Put overview diagram into a literal block
and set its section title to a higher order
---
 Documentation/gpu/introduction.rst | 72 ++++++++++++++++++++------------------
 1 file changed, 37 insertions(+), 35 deletions(-)

diff --git a/Documentation/gpu/introduction.rst b/Documentation/gpu/introduction.rst
index 91bb0efc96d69921a122c5265b1431fa18110a7a..2653048ad4bb0ecbc2b676295440442dddbabae6 100644
--- a/Documentation/gpu/introduction.rst
+++ b/Documentation/gpu/introduction.rst
@@ -15,41 +15,43 @@ and the new vblank internals, in addition to all the regular features
 found in current kernels.
 
 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 |
-+----------------+     +-------------------+
+======================================
+::
+
+        +-----------------------------+
+        |     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

-- 
2.43.0



More information about the dri-devel mailing list