summaryrefslogtreecommitdiff
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2018-05-29 19:33:41 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-06-15 20:20:31 +0300
commitbaca30fabdc9ba2712481e1b9e14ded1de6cfa3a (patch)
treec861d833a53c1aa89003b3d8f8f22c7a834a9d00 /Documentation/gpu
parent99fa7ce3a82bf8047b6104682da6ae276beb22d8 (diff)
downloadlinux-baca30fabdc9ba2712481e1b9e14ded1de6cfa3a.tar.xz
drm/amdgpu: Add documentation for PRIME related code
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'Documentation/gpu')
-rw-r--r--Documentation/gpu/amdgpu.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/gpu/amdgpu.rst b/Documentation/gpu/amdgpu.rst
index 41a14e4aa4ac..f557866f6788 100644
--- a/Documentation/gpu/amdgpu.rst
+++ b/Documentation/gpu/amdgpu.rst
@@ -4,3 +4,17 @@
The drm/amdgpu driver supports all AMD Radeon GPUs based on the Graphics Core
Next (GCN) architecture.
+
+Core Driver Infrastructure
+==========================
+
+This section covers core driver infrastructure.
+
+PRIME Buffer Sharing
+--------------------
+
+.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
+ :doc: PRIME Buffer Sharing
+
+.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
+ :internal: