git: drm - Fix drm_modeset_unlock() panic

Matthew Dillon dillon at
Sun Mar 14 21:38:24 PDT 2021

commit fae36b11104b8205e65c6683845a4be9902ff63f
Author: Matthew Dillon <dillon at>
Date:   Sun Mar 14 21:37:00 2021 -0700

    drm - Fix drm_modeset_unlock() panic
    * Fix a bug in drm_modeset_lock() which sometimes improperly returned
      success when the ww mutex actually failed.
    * This should fix a panic in the related drm_modeset_unlock() code
      that complains about unlocking a lock that isn't being held.

Summary of changes:
 sys/dev/drm/drm_modeset_lock.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list