drm/cirrus: Move drm_dev_{enter, exit}() into DRM helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 15 Feb 2023 16:15:04 +0000 (17:15 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 13 Mar 2023 09:36:03 +0000 (10:36 +0100)
commit2fb82d5a42bb0e69547a2d31340c50bbd3a3d276
tree7fa232c32a7e9c14379a53a586eda75a045e9741
parentcc158d0e9b0866d3626a81c13542d3be8f1477a5
drm/cirrus: Move drm_dev_{enter, exit}() into DRM helpers

Call drm_dev_enter() and drm_dev_exit() immediately after entering
cirrus' DRM helper functions. Remove these calls from other functions.
Each enter/exit block in the DRM helpers covers the full hardware
update. No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230215161517.5113-5-tzimmermann@suse.de
drivers/gpu/drm/tiny/cirrus.c