diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-04-08 13:31:26 +0200 |
|---|---|---|
| committer | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2025-04-10 15:13:24 +0200 |
| commit | dca4ee84a8bb6ec7cb2a1463f14983c2e0d614a7 (patch) | |
| tree | bc1306c2d80c2fc83f0e0aaa3a0b328c3261426d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6c4a3fa26799785c1873aacabcfd9b2d27e8dc97 (diff) | |
accel/ivpu: 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: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://lore.kernel.org/r/20250408113247.418007-1-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
