aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_modeset_lock.h
diff options
context:
space:
mode:
authorDanilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>2015-08-21 15:46:14 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-09-08 07:45:48 -0400
commitfe8660acd8853ad9f95b94a04cce384949ddecfe (patch)
treec106d464f1e8d30eb8295aa5db0ccd4b84351869 /include/drm/drm_modeset_lock.h
parentbbda9c1f170e4b31f5d827372ee9a3fb8389f7fa (diff)
drm/doc: Fixing xml documentation warning
"/**" should be used for kernel-doc documentation only. It causes a warning with the new "in struct body" format. Signed-off-by: Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Stephan Mueller <smueller@chronox.de> Cc: Michal Marek <mmarek@suse.cz> Cc: linux-kernel@vger.kernel.org Cc: linux-doc@vger.kernel.org Cc: intel-gfx <intel-gfx@lists.freedesktop.org> Cc: dri-devel <dri-devel@lists.freedesktop.org> Cc: Graham Whaley <graham.whaley@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_modeset_lock.h')
-rw-r--r--include/drm/drm_modeset_lock.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/drm/drm_modeset_lock.h b/include/drm/drm_modeset_lock.h
index 5dd18bfdf601..94938d89347c 100644
--- a/include/drm/drm_modeset_lock.h
+++ b/include/drm/drm_modeset_lock.h
@@ -43,19 +43,19 @@ struct drm_modeset_acquire_ctx {
43 43
44 struct ww_acquire_ctx ww_ctx; 44 struct ww_acquire_ctx ww_ctx;
45 45
46 /** 46 /*
47 * Contended lock: if a lock is contended you should only call 47 * Contended lock: if a lock is contended you should only call
48 * drm_modeset_backoff() which drops locks and slow-locks the 48 * drm_modeset_backoff() which drops locks and slow-locks the
49 * contended lock. 49 * contended lock.
50 */ 50 */
51 struct drm_modeset_lock *contended; 51 struct drm_modeset_lock *contended;
52 52
53 /** 53 /*
54 * list of held locks (drm_modeset_lock) 54 * list of held locks (drm_modeset_lock)
55 */ 55 */
56 struct list_head locked; 56 struct list_head locked;
57 57
58 /** 58 /*
59 * Trylock mode, use only for panic handlers! 59 * Trylock mode, use only for panic handlers!
60 */ 60 */
61 bool trylock_only; 61 bool trylock_only;
@@ -70,12 +70,12 @@ struct drm_modeset_acquire_ctx {
70 * Used for locking CRTCs and other modeset resources. 70 * Used for locking CRTCs and other modeset resources.
71 */ 71 */
72struct drm_modeset_lock { 72struct drm_modeset_lock {
73 /** 73 /*
74 * modeset lock 74 * modeset lock
75 */ 75 */
76 struct ww_mutex mutex; 76 struct ww_mutex mutex;
77 77
78 /** 78 /*
79 * Resources that are locked as part of an atomic update are added 79 * Resources that are locked as part of an atomic update are added
80 * to a list (so we know what to unlock at the end). 80 * to a list (so we know what to unlock at the end).
81 */ 81 */