Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7a1aafd authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/modeset_lock: document trylock_only in kerneldoc



I've forgotten to do this in:

commit cb597bb3
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun Jul 27 19:09:33 2014 +0200

    drm: trylock modest locking for fbdev panics

Oops, fix this asap.

In my defense kerneldoc is really awful and there's no way it can pick
up structured comments per struct member. Which means we need both
since people won't scroll up even a few lines.

Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 2c0c33d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -33,6 +33,7 @@ struct drm_modeset_lock;
 * @ww_ctx: base acquire ctx
 * @ww_ctx: base acquire ctx
 * @contended: used internally for -EDEADLK handling
 * @contended: used internally for -EDEADLK handling
 * @locked: list of held locks
 * @locked: list of held locks
 * @trylock_only: trylock mode used in atomic contexts/panic notifiers
 *
 *
 * Each thread competing for a set of locks must use one acquire
 * Each thread competing for a set of locks must use one acquire
 * ctx.  And if any lock fxn returns -EDEADLK, it must backoff and
 * ctx.  And if any lock fxn returns -EDEADLK, it must backoff and