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
673 * Bitfield of supported PRIME sharing capabilities. See &DRM_PRIME_CAP_IMPORT673 * Bitfield of supported PRIME sharing capabilities. See &DRM_PRIME_CAP_IMPORT
674 * and &DRM_PRIME_CAP_EXPORT.674 * and &DRM_PRIME_CAP_EXPORT.
675 *675 *
676 * PRIME buffers are exposed as dma-buf file descriptors. See676 * PRIME buffers are exposed as dma-buf file descriptors.
677 * Documentation/gpu/drm-mm.rst, section "PRIME Buffer Sharing".677 * See :ref:`prime_buffer_sharing`.
678 */678 */
679#define DRM_CAP_PRIME 0x5679#define DRM_CAP_PRIME 0x5
680/**680/**
@@ -756,15 +756,14 @@ struct drm_gem_open { · 75 unmodified lines
756/**756/**
757 * DRM_CAP_SYNCOBJ757 * DRM_CAP_SYNCOBJ
758 *758 *
759 * If set to 1, the driver supports sync objects. See759 * If set to 1, the driver supports sync objects. See :ref:`drm_sync_objects`.
760 * Documentation/gpu/drm-mm.rst, section "DRM Sync Objects".
761 */760 */
762#define DRM_CAP_SYNCOBJ 0x13761#define DRM_CAP_SYNCOBJ 0x13
763/**762/**
764 * DRM_CAP_SYNCOBJ_TIMELINE763 * DRM_CAP_SYNCOBJ_TIMELINE
765 *764 *
766 * If set to 1, the driver supports timeline operations on sync objects. See765 * 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`.
768 */767 */
769#define DRM_CAP_SYNCOBJ_TIMELINE 0x14768#define DRM_CAP_SYNCOBJ_TIMELINE 0x14
770 769

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