diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-17 16:06:47 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-04-14 11:53:11 +0300 |
commit | 266ab86ac1f5c05a91bd1a73929c590bfeb3c491 (patch) | |
tree | 600dd81115bf66a1dfeea08ab390c35807002a38 /tools/perf/scripts/python/gecko.py | |
parent | 64e21b80ded95e919060a2043c52f58ecb281aac (diff) | |
download | linux-266ab86ac1f5c05a91bd1a73929c590bfeb3c491.tar.xz |
drm/panthor: 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>
Cc: Boris Brezillon <boris.brezillon@collabora.com>
Cc: Steven Price <steven.price@arm.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250317131923.238374-10-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions