]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/client: Remove pitch from struct drm_client_buffer
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 27 Oct 2025 12:09:12 +0000 (13:09 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 30 Oct 2025 20:01:12 +0000 (21:01 +0100)
commitdce4657ff526b65007fe8d5c92968a933cc7c9da
tree9e5cc25103edd34957c846d997e13efa85d5e47a
parente4d82d7e90e77ff398fa589a2817ae09f1278ff5
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
drivers/gpu/drm/drm_client.c
include/drm/drm_client.h