drm/amd: cleanup: drm_modeset_lock_all() --> DRM_MODESET_LOCK_ALL_BEGIN()
authorFernando Ramos <greenfoo@u92.eu>
Fri, 24 Sep 2021 06:43:22 +0000 (08:43 +0200)
committerSean Paul <seanpaul@chromium.org>
Fri, 1 Oct 2021 17:00:57 +0000 (13:00 -0400)
commit299f040e855b69c29522cde446777902381a07f5
tree8e3cf016038e5781ba12ea5dd6d57c9fb03d238c
parent4f9e860e6ad65ff4ea8ce165a1407d96ff1b2211
drm/amd: cleanup: drm_modeset_lock_all() --> DRM_MODESET_LOCK_ALL_BEGIN()

As requested in Documentation/gpu/todo.rst, replace driver calls to
drm_modeset_lock_all() with DRM_MODESET_LOCK_ALL_BEGIN() and
DRM_MODESET_LOCK_ALL_END()

Signed-off-by: Fernando Ramos <greenfoo@u92.eu>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210924064324.229457-16-greenfoo@u92.eu
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c