diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-17 16:06:51 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-04-14 11:53:11 +0300 |
commit | 5a80b00d0d10b920397b9cbd4102b1c07ba6583a (patch) | |
tree | 00706fc8d88c993507baa7140aeb23e3f2f9e5b6 /tools/perf/scripts/python/gecko.py | |
parent | 266ab86ac1f5c05a91bd1a73929c590bfeb3c491 (diff) | |
download | linux-5a80b00d0d10b920397b9cbd4102b1c07ba6583a.tar.xz |
drm/vmwgfx: 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: Zack Rusin <zack.rusin@broadcom.com>
Cc: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
Reviewed-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://lore.kernel.org/r/20250317131923.238374-14-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions