]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panthor: Introduce BO labeling
authorAdrián Larumbe <adrian.larumbe@collabora.com>
Wed, 23 Apr 2025 02:12:31 +0000 (03:12 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 23 Apr 2025 08:35:35 +0000 (10:35 +0200)
commitdb49d7f1ccdb1599154af263ef55ac282bccb6a4
treeba5e47bd28365a06df2638d9e196dda817053855
parentb848cd418aebdb313364b4843f41fae82281a823
drm/panthor: Introduce BO labeling

Add a new character string Panthor BO field, and a function that allows
setting it from within the driver.

Driver takes care of freeing the string when it's replaced or no longer
needed at object destruction time, but allocating it is the responsibility
of callers.

Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250423021238.1639175-2-adrian.larumbe@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/gpu/drm/panthor/panthor_gem.c
drivers/gpu/drm/panthor/panthor_gem.h