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 | * Bitfield of supported PRIME sharing capabilities. See &DRM_PRIME_CAP_IMPORT | 673 | * 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. See | 676 | * 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 0x5 | 679 | #define DRM_CAP_PRIME 0x5 |
| 680 | /** | 680 | /** |
| @@ -756,15 +756,14 @@ struct drm_gem_open { · 75 unmodified lines | |||
| 756 | /** | 756 | /** |
| 757 | * DRM_CAP_SYNCOBJ | 757 | * DRM_CAP_SYNCOBJ |
| 758 | * | 758 | * |
| 759 | * If set to 1, the driver supports sync objects. See | 759 | * 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 0x13 | 761 | #define DRM_CAP_SYNCOBJ 0x13 |
| 763 | /** | 762 | /** |
| 764 | * DRM_CAP_SYNCOBJ_TIMELINE | 763 | * DRM_CAP_SYNCOBJ_TIMELINE |
| 765 | * | 764 | * |
| 766 | * If set to 1, the driver supports timeline operations on sync objects. See | 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 | #define DRM_CAP_SYNCOBJ_TIMELINE 0x14 | 768 | #define DRM_CAP_SYNCOBJ_TIMELINE 0x14 |
| 770 | 769 | ||