aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_atomic_helper.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-29 15:48:26 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-30 07:34:59 -0500
commitea0dd85a75f15174cc2bf75f805e378391995931 (patch)
treee2dc904067a98bec44e04ca870b46d4e4434de9e /drivers/gpu/drm/drm_atomic_helper.c
parente9b4d7b56f293ed4de9ff7d16759d33492f83180 (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_helper.c')
-rw-r--r--drivers/gpu/drm/drm_atomic_helper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index 799c1564a4f8..8eab8944c736 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -56,9 +56,9 @@
56 * implement these functions themselves but must use the provided helpers. 56 * implement these functions themselves but must use the provided helpers.
57 * 57 *
58 * The atomic helper uses the same function table structures as all other 58 * The atomic helper uses the same function table structures as all other
59 * modesetting helpers. See the documentation for struct &drm_crtc_helper_funcs, 59 * modesetting helpers. See the documentation for &struct drm_crtc_helper_funcs,
60 * struct &drm_encoder_helper_funcs and struct &drm_connector_helper_funcs. It 60 * struct &drm_encoder_helper_funcs and &struct drm_connector_helper_funcs. It
61 * also shares the struct &drm_plane_helper_funcs function table with the plane 61 * also shares the &struct drm_plane_helper_funcs function table with the plane
62 * helpers. 62 * helpers.
63 */ 63 */
64static void 64static void
@@ -1369,7 +1369,7 @@ static int stall_checks(struct drm_crtc *crtc, bool nonblock)
1369 * actually committing the hardware state, and for nonblocking commits this call 1369 * actually committing the hardware state, and for nonblocking commits this call
1370 * must be placed in the async worker. See also drm_atomic_helper_swap_state() 1370 * must be placed in the async worker. See also drm_atomic_helper_swap_state()
1371 * and it's stall parameter, for when a driver's commit hooks look at the 1371 * and it's stall parameter, for when a driver's commit hooks look at the
1372 * ->state pointers of struct &drm_crtc, &drm_plane or &drm_connector directly. 1372 * ->state pointers of &struct drm_crtc, &drm_plane or &drm_connector directly.
1373 * 1373 *
1374 * Completion of the hardware commit step must be signalled using 1374 * Completion of the hardware commit step must be signalled using
1375 * drm_atomic_helper_commit_hw_done(). After this step the driver is not allowed 1375 * drm_atomic_helper_commit_hw_done(). After this step the driver is not allowed