diff options
author | 2025-04-14 15:12:00 +0200 | |
---|---|---|
committer | 2025-04-16 10:05:03 +0300 | |
commit | 964f2a5c0e4f8fdf533bf8a287344a1aaadd0c92 (patch) | |
tree | 242c87820f16ab7b4d808c688642574fe531c971 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/imagination: Add support for TI AM68 GPU (diff) | |
download | wireguard-linux-964f2a5c0e4f8fdf533bf8a287344a1aaadd0c92.tar.xz wireguard-linux-964f2a5c0e4f8fdf533bf8a287344a1aaadd0c92.zip |
drm/virtio: Test for imported buffers with drm_gem_is_imported()
Instead of testing import_attach for imported GEM buffers, invoke
drm_gem_is_imported() to do the test. The helper tests the dma_buf
itself while import_attach is just an artifact of the import. Prepares
to make import_attach optional.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://lore.kernel.org/r/20250414131507.566072-2-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions