diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-09-22 16:09:40 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-09-27 11:24:47 +0300 |
commit | 7bfa5c7b28d66d89daf0808bf36ab7fe0e9e93a1 (patch) | |
tree | 92b9f5fffb99a430a7f653b8d9d833684afa55f3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c7bcc1056cff6d99d173d4707057f3dba94d32d9 (diff) | |
download | linux-7bfa5c7b28d66d89daf0808bf36ab7fe0e9e93a1.tar.xz |
drm/simpledrm: Compute linestride with drm_format_info_min_pitch()
If not given, compute the stride with drm_format_info_min_pitch(). It's
the standard helper for this purpose.
Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Fixes: fd9e3169e42b ("drm/simpledrm: Compute framebuffer stride if not set")
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220922130944.27138-2-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions