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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -673,8 +673,8 @@ struct drm_gem_open { · 672 unmodified lines | ||
| 673 | 673 | * Bitfield of supported PRIME sharing capabilities. See &DRM_PRIME_CAP_IMPORT |
| 674 | 674 | * and &DRM_PRIME_CAP_EXPORT. |
| 675 | 675 | * |
| 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`. | |
| 678 | 678 | */ |
| 679 | 679 | #define DRM_CAP_PRIME 0x5 |
| 680 | 680 | /** |
| @@ -756,15 +756,14 @@ struct drm_gem_open { · 75 unmodified lines | ||
| 756 | 756 | /** |
| 757 | 757 | * DRM_CAP_SYNCOBJ |
| 758 | 758 | * |
| 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`. | |
| 761 | 760 | */ |
| 762 | 761 | #define DRM_CAP_SYNCOBJ 0x13 |
| 763 | 762 | /** |
| 764 | 763 | * DRM_CAP_SYNCOBJ_TIMELINE |
| 765 | 764 | * |
| 766 | 765 | * 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 | 768 | #define DRM_CAP_SYNCOBJ_TIMELINE 0x14 |
| 770 | 769 | |