OSDN Git Service

drm/msm: cleanup: drm_modeset_lock_all_ctx() --> DRM_MODESET_LOCK_ALL_BEGIN()
authorFernando Ramos <greenfoo@u92.eu>
Fri, 24 Sep 2021 06:43:10 +0000 (08:43 +0200)
committerSean Paul <seanpaul@chromium.org>
Fri, 1 Oct 2021 16:59:49 +0000 (12:59 -0400)
commit4c048437ef7adb2d81fe4ddc5c04179126eefcf2
treeffc0f31124fd400008903283bd257a9716b8b8f1
parent399190e70816886e2bca1f3f3bc3d9c544af88e7
drm/msm: cleanup: drm_modeset_lock_all_ctx() --> DRM_MODESET_LOCK_ALL_BEGIN()

As requested in Documentation/gpu/todo.rst, replace the boilerplate code
surrounding drm_modeset_lock_all_ctx() with DRM_MODESET_LOCK_ALL_BEGIN()
and DRM_MODESET_LOCK_ALL_END()

Signed-off-by: Fernando Ramos <greenfoo@u92.eu>
Reviewed-by: Sean Paul <sean@poorly.run>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210924064324.229457-4-greenfoo@u92.eu
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c