diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-17 16:06:40 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-04-14 11:53:11 +0300 |
commit | 970003de19a9cf7caa68a136b3bfa7334c8e7132 (patch) | |
tree | 696ac5da7d00c62a2a60fb1f9f0ed52485be177d /tools/perf/scripts/python/gecko.py | |
parent | fb10144ba426b88080c6abcede5f1332bebc3c60 (diff) | |
download | linux-970003de19a9cf7caa68a136b3bfa7334c8e7132.tar.xz |
drm/etnaviv: 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: Lucas Stach <l.stach@pengutronix.de>
Cc: Russell King <linux+etnaviv@armlinux.org.uk>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: etnaviv@lists.freedesktop.org
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://lore.kernel.org/r/20250317131923.238374-3-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions