aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_modeset_lock.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2021-10-02 11:45:27 -0400
committerSean Paul <seanpaul@chromium.org>2021-10-04 09:34:55 -0400
commit294a0d9524b1b814499140d79b9127fb581acc9c (patch)
tree1e8c7843bf3d7c7f0bb78ec50780127767b35ac2 /include/drm/drm_modeset_lock.h
parentdrm/gud: Add GUD_PIXEL_FORMAT_RGB888 (diff)
downloadlinux-dev-294a0d9524b1b814499140d79b9127fb581acc9c.tar.xz
linux-dev-294a0d9524b1b814499140d79b9127fb581acc9c.zip
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/drm_modeset_lock.h')
-rw-r--r--include/drm/drm_modeset_lock.h2
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,