diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-10-27 15:09:12 +0300 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-10-30 23:01:12 +0300 |
| commit | dce4657ff526b65007fe8d5c92968a933cc7c9da (patch) | |
| tree | 9e5cc25103edd34957c846d997e13efa85d5e47a /include | |
| parent | e4d82d7e90e77ff398fa589a2817ae09f1278ff5 (diff) | |
| download | linux-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.h | 5 |
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 |
