diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-29 15:48:26 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-30 07:34:59 -0500 |
commit | ea0dd85a75f15174cc2bf75f805e378391995931 (patch) | |
tree | e2dc904067a98bec44e04ca870b46d4e4434de9e /drivers/gpu/drm/drm_atomic.c | |
parent | e9b4d7b56f293ed4de9ff7d16759d33492f83180 (diff) |
drm/doc: use preferred struct reference in kernel-doc
sed -e 's/\( \* .*\)struct &\([_a-z]*\)/\1\&struct \2/' -i
Originally I wasnt a friend of this style because I thought a
line-break between the "&struct" and "foo" part would break it. But a
quick test shows that " * &struct \n * foo\n" works pefectly well with
current kernel-doc. So time to mass-apply these changes!
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-6-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_atomic.c')
-rw-r--r-- | drivers/gpu/drm/drm_atomic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index b1b54011a92c..681d5f97639d 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c | |||
@@ -1882,7 +1882,7 @@ EXPORT_SYMBOL(drm_atomic_clean_old_fb); | |||
1882 | * As a contrast, with implicit fencing the kernel keeps track of any | 1882 | * As a contrast, with implicit fencing the kernel keeps track of any |
1883 | * ongoing rendering, and automatically ensures that the atomic update waits | 1883 | * ongoing rendering, and automatically ensures that the atomic update waits |
1884 | * for any pending rendering to complete. For shared buffers represented with | 1884 | * for any pending rendering to complete. For shared buffers represented with |
1885 | * a struct &dma_buf this is tracked in &reservation_object structures. | 1885 | * a &struct dma_buf this is tracked in &reservation_object structures. |
1886 | * Implicit syncing is how Linux traditionally worked (e.g. DRI2/3 on X.org), | 1886 | * Implicit syncing is how Linux traditionally worked (e.g. DRI2/3 on X.org), |
1887 | * whereas explicit fencing is what Android wants. | 1887 | * whereas explicit fencing is what Android wants. |
1888 | * | 1888 | * |
@@ -1898,7 +1898,7 @@ EXPORT_SYMBOL(drm_atomic_clean_old_fb); | |||
1898 | * it will only check if the Sync File is a valid one. | 1898 | * it will only check if the Sync File is a valid one. |
1899 | * | 1899 | * |
1900 | * On the driver side the fence is stored on the @fence parameter of | 1900 | * On the driver side the fence is stored on the @fence parameter of |
1901 | * struct &drm_plane_state. Drivers which also support implicit fencing | 1901 | * &struct drm_plane_state. Drivers which also support implicit fencing |
1902 | * should set the implicit fence using drm_atomic_set_fence_for_plane(), | 1902 | * should set the implicit fence using drm_atomic_set_fence_for_plane(), |
1903 | * to make sure there's consistent behaviour between drivers in precedence | 1903 | * to make sure there's consistent behaviour between drivers in precedence |
1904 | * of implicit vs. explicit fencing. | 1904 | * of implicit vs. explicit fencing. |
@@ -1917,7 +1917,7 @@ EXPORT_SYMBOL(drm_atomic_clean_old_fb); | |||
1917 | * DRM_MODE_ATOMIC_TEST_ONLY flag the out fence will also be set to -1. | 1917 | * DRM_MODE_ATOMIC_TEST_ONLY flag the out fence will also be set to -1. |
1918 | * | 1918 | * |
1919 | * Note that out-fences don't have a special interface to drivers and are | 1919 | * Note that out-fences don't have a special interface to drivers and are |
1920 | * internally represented by a struct &drm_pending_vblank_event in struct | 1920 | * internally represented by a &struct drm_pending_vblank_event in struct |
1921 | * &drm_crtc_state, which is also used by the nonblocking atomic commit | 1921 | * &drm_crtc_state, which is also used by the nonblocking atomic commit |
1922 | * helpers and for the DRM event handling for existing userspace. | 1922 | * helpers and for the DRM event handling for existing userspace. |
1923 | */ | 1923 | */ |