mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 11:40:19 -04:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user