summaryrefslogtreecommitdiff
path: root/include/drm/drm_client.h
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2020-05-09 17:16:13 +0300
committerNoralf Trønnes <noralf@tronnes.org>2020-05-26 14:32:03 +0300
commit64593f2a6fc933bb9a410bc3f8c261f3e57a9601 (patch)
tree746ea9e405b2387c85b27c33cd53b7be8ffb5d46 /include/drm/drm_client.h
parentc9c03e3cf07299bf635e6fadad8d09106d26252f (diff)
downloadlinux-64593f2a6fc933bb9a410bc3f8c261f3e57a9601.tar.xz
drm/client: Add drm_client_modeset_check()
Add a way for client to check the configuration before comitting. v2: - Fix docs (Sam) Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200509141619.32970-5-noralf@tronnes.org
Diffstat (limited to 'include/drm/drm_client.h')
-rw-r--r--include/drm/drm_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_client.h b/include/drm/drm_client.h
index 565e83358d3c..7aaea665bfc2 100644
--- a/include/drm/drm_client.h
+++ b/include/drm/drm_client.h
@@ -162,6 +162,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_check(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);