summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-10-27 15:09:12 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2025-10-30 23:01:12 +0300
commitdce4657ff526b65007fe8d5c92968a933cc7c9da (patch)
tree9e5cc25103edd34957c846d997e13efa85d5e47a /include
parente4d82d7e90e77ff398fa589a2817ae09f1278ff5 (diff)
downloadlinux-dce4657ff526b65007fe8d5c92968a933cc7c9da.tar.xz
drm/client: Remove pitch from struct drm_client_buffer
Only the client-buffer setup uses the pitch field from struct drm_client_buffer. Remove the field and pass the value among setup helpers. Clients that need the pitch should rather look at the framebuffer's pitches[0] directly. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Tested-by: Francesco Valla <francesco@valla.it> Link: https://patch.msgid.link/20251027121042.143588-2-tzimmermann@suse.de
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_client.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/drm/drm_client.h b/include/drm/drm_client.h
index 715b422952ee..c674464f7e74 100644
--- a/include/drm/drm_client.h
+++ b/include/drm/drm_client.h
@@ -174,11 +174,6 @@ struct drm_client_buffer {
struct drm_client_dev *client;
/**
- * @pitch: Buffer pitch
- */
- u32 pitch;
-
- /**
* @gem: GEM object backing this buffer
*
* FIXME: The dependency on GEM here isn't required, we could