summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_client.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2020-02-04 16:01:44 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-02-11 15:03:08 +0100
commitc368ec194dd0e86e7516bc61ae1df584dec73e90 (patch)
tree76a7cd30ca473ea2f5ff1bf002dc45ed4ff46fbe /include/drm/drm_client.h
parent64914da24ea95d2b2f7017d014d74c26005d8780 (diff)
downloadlinux-stable-c368ec194dd0e86e7516bc61ae1df584dec73e90.tar.gz
linux-stable-c368ec194dd0e86e7516bc61ae1df584dec73e90.tar.bz2
linux-stable-c368ec194dd0e86e7516bc61ae1df584dec73e90.zip
drm/client: Rename _force to _locked
Plus extend the kerneldoc a bit to explain how this should be used. With the previous patch to drop the force restore the main user of this function is not emphasis on the "I hold the internal master lock already" aspect, so rename the function to match. Suggested by Noralf. Cc: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Noralf Trønnes <noralf@tronnes.org> Tested-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200204150146.2006481-4-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm/drm_client.h')
-rw-r--r--include/drm/drm_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_client.h b/include/drm/drm_client.h
index d01d311023ac..3ed5dee899fd 100644
--- a/include/drm/drm_client.h
+++ b/include/drm/drm_client.h
@@ -161,7 +161,7 @@ int drm_client_modeset_create(struct drm_client_dev *client);
void drm_client_modeset_free(struct drm_client_dev *client);
int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, unsigned int height);
bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation);
-int drm_client_modeset_commit_force(struct drm_client_dev *client);
+int drm_client_modeset_commit_locked(struct drm_client_dev *client);
int drm_client_modeset_commit(struct drm_client_dev *client);
int drm_client_modeset_dpms(struct drm_client_dev *client, int mode);