]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panthor: Test for imported buffers with drm_gem_is_imported()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 27 Feb 2026 13:31:07 +0000 (14:31 +0100)
committerSteven Price <steven.price@arm.com>
Mon, 2 Mar 2026 11:51:48 +0000 (11:51 +0000)
commit0dd7a23da214279cfb77b0eb03c38614867524d7
treec50f72dfec517f7dd60a2e35f4aa941e23af3e97
parent6618c0fd0cb7dbe6cd99f8c3d7f4673f73ea2019
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 test itself does not change.

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: Steven Price <steven.price@arm.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patch.msgid.link/20260227133113.235940-8-tzimmermann@suse.de
drivers/gpu/drm/panthor/panthor_gem.c