History

drm/doc: use proper cross-references for sections

When I originally wrote these docs, I couldn't manage to insert a cross-reference to a section. Here's how it can be done.

Simon Ser committed 3 years ago

Commit 9a2eabf1 parent 1e8ea2e2 files · +6 −5Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/drm.h+4−5
@@ -673,8 +673,8 @@ struct drm_gem_open { · 672 unmodified lines
673673 * Bitfield of supported PRIME sharing capabilities. See &DRM_PRIME_CAP_IMPORT
674674 * and &DRM_PRIME_CAP_EXPORT.
675675 *
676− * PRIME buffers are exposed as dma-buf file descriptors. See
677− * Documentation/gpu/drm-mm.rst, section "PRIME Buffer Sharing".
676+ * PRIME buffers are exposed as dma-buf file descriptors.
677+ * See :ref:`prime_buffer_sharing`.
678678 */
679679 #define DRM_CAP_PRIME 0x5
680680 /**
@@ -756,15 +756,14 @@ struct drm_gem_open { · 75 unmodified lines
756756 /**
757757 * DRM_CAP_SYNCOBJ
758758 *
759− * If set to 1, the driver supports sync objects. See
760− * Documentation/gpu/drm-mm.rst, section "DRM Sync Objects".
759+ * If set to 1, the driver supports sync objects. See :ref:`drm_sync_objects`.
761760 */
762761 #define DRM_CAP_SYNCOBJ 0x13
763762 /**
764763 * DRM_CAP_SYNCOBJ_TIMELINE
765764 *
766765 * If set to 1, the driver supports timeline operations on sync objects. See
767− * Documentation/gpu/drm-mm.rst, section "DRM Sync Objects".
766+ * :ref:`drm_sync_objects`.
768767 */
769768 #define DRM_CAP_SYNCOBJ_TIMELINE 0x14
770769

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t