summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-02-06 14:21:54 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2026-03-03 09:28:31 +0100
commite0afbfe321d5131c56005f56fbf5d548340da749 (patch)
tree7050eefba30e570690e60a07e93a93265b7b975d /include
parentb8eb97ead862de7a321dd55a901542a372f8f1cd (diff)
downloadlinux-e0afbfe321d5131c56005f56fbf5d548340da749.tar.gz
linux-e0afbfe321d5131c56005f56fbf5d548340da749.zip
drm/client: Export drm_client_buffer_create()
The helper drm_client_buffer_create() will be required by various drivers for fbdev emulation. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Link: https://patch.msgid.link/20260206133458.226467-2-tzimmermann@suse.de
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_client.h b/include/drm/drm_client.h
index c972a8a3385b..49a21f3dcb36 100644
--- a/include/drm/drm_client.h
+++ b/include/drm/drm_client.h
@@ -196,6 +196,9 @@ struct drm_client_buffer {
};
struct drm_client_buffer *
+drm_client_buffer_create(struct drm_client_dev *client, u32 width, u32 height,
+ u32 format, u32 handle, u32 pitch);
+struct drm_client_buffer *
drm_client_buffer_create_dumb(struct drm_client_dev *client, u32 width, u32 height, u32 format);
void drm_client_buffer_delete(struct drm_client_buffer *buffer);
int drm_client_buffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect);