diff options
author | Sean Paul <seanpaul@chromium.org> | 2021-10-02 11:45:27 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2021-10-04 09:34:55 -0400 |
commit | 294a0d9524b1b814499140d79b9127fb581acc9c (patch) | |
tree | 1e8c7843bf3d7c7f0bb78ec50780127767b35ac2 /include/drm | |
parent | 83d7b6d54b8e8a3a487c8a4066e33e6bdd255c3d (diff) |
Revert "drm: cleanup: remove drm_modeset_(un)lock_all()"
This reverts commit 8d813d1a535c8c7503a5f4061654a73026be8c5e.
This patchset breaks on intel platforms and was previously NACK'd by
Ville.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Fernando Ramos <greenfoo@u92.eu>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211002154542.15800-1-sean@poorly.run
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_modeset_lock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_modeset_lock.h b/include/drm/drm_modeset_lock.h index 865e64bcc4cb..aafd07388eb7 100644 --- a/include/drm/drm_modeset_lock.h +++ b/include/drm/drm_modeset_lock.h @@ -132,6 +132,8 @@ struct drm_device; struct drm_crtc; struct drm_plane; +void drm_modeset_lock_all(struct drm_device *dev); +void drm_modeset_unlock_all(struct drm_device *dev); void drm_warn_on_modeset_not_all_locked(struct drm_device *dev); int drm_modeset_lock_all_ctx(struct drm_device *dev, |