]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/gpu/drm/drm_plane_helper.c
drm: convert crtc and connection_mutex to ww_mutex (v5)
[linux-beck.git] / drivers / gpu / drm / drm_plane_helper.c
index f3e0a23abf4e064188e436803d9e6fd1bb3a36da..1b15643b45869414e53ba853d476e4bc97c0ef69 100644 (file)
@@ -60,7 +60,7 @@ static int get_connectors_for_crtc(struct drm_crtc *crtc,
         * need to grab the connection_mutex here to be able to make these
         * checks.
         */
-       WARN_ON(!mutex_is_locked(&dev->mode_config.connection_mutex));
+       WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex));
 
        list_for_each_entry(connector, &dev->mode_config.connector_list, head)
                if (connector->encoder && connector->encoder->crtc == crtc) {