Patch "drm/locking: fix drm_modeset_acquire_ctx kernel-doc" has been added to the 5.17-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/locking: fix drm_modeset_acquire_ctx kernel-doc

to the 5.17-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-locking-fix-drm_modeset_acquire_ctx-kernel-doc.patch
and it can be found in the queue-5.17 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit c919f9c4df3c71b7223bc0b8a5d73701bc600680
Author: Jani Nikula <jani.nikula@xxxxxxxxx>
Date:   Thu Jan 20 11:48:56 2022 +0200

    drm/locking: fix drm_modeset_acquire_ctx kernel-doc
    
    [ Upstream commit 6f043b5969a4d6d385ca429388ded37e30e0d179 ]
    
    The stack_depot member was added without kernel-doc, leading to below
    warning. Fix it.
    
    ./include/drm/drm_modeset_lock.h:74: warning: Function parameter or
    member 'stack_depot' not described in 'drm_modeset_acquire_ctx'
    
    Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
    Fixes: cd06ab2fd48f ("drm/locking: add backtrace for locking contended locks without backoff")
    Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
    Reviewed-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
    Tested-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20220120094856.3004147-1-jani.nikula@xxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/drm/drm_modeset_lock.h b/include/drm/drm_modeset_lock.h
index b84693fbd2b5..ec4f543c3d95 100644
--- a/include/drm/drm_modeset_lock.h
+++ b/include/drm/drm_modeset_lock.h
@@ -34,6 +34,7 @@ struct drm_modeset_lock;
  * struct drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx)
  * @ww_ctx: base acquire ctx
  * @contended: used internally for -EDEADLK handling
+ * @stack_depot: used internally for contention debugging
  * @locked: list of held locks
  * @trylock_only: trylock mode used in atomic contexts/panic notifiers
  * @interruptible: whether interruptible locking should be used.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux