diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-10-09 16:06:33 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-11-14 10:17:22 +0100 |
commit | 58b184dcb3f4c52c15b6ff4fa2fa0d69d1e1313f (patch) | |
tree | 095b3f0e19401760e994ce607a2baaf9e1a19465 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4cd24d4b1a9548f42cdb7f449edc6f869a8ae730 (diff) |
drm/ofdrm: Preallocate format-conversion buffer in atomic_check
Preallocate the format-conversion state's storage in the plane's
atomic_check function if a format conversion is necessary. Allows
the update to fail if no memory is available. Avoids the same
allocation within atomic_update, which may not fail.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231009141018.11291-5-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions