drm/panfrost: Add BO labelling to Panfrost
authorAdrián Larumbe <adrian.larumbe@collabora.com>
Tue, 20 May 2025 17:43:58 +0000 (18:43 +0100)
committerSteven Price <steven.price@arm.com>
Mon, 2 Jun 2025 12:51:14 +0000 (13:51 +0100)
commite0e33f9bbbd635e18003cf8590c978beb9ce9045
tree19c8f9a70e3774b90be8376e2f7e9be10d8ac612
parent8395204aeb84ef6eacbebf2c94be0ce9381d7981
drm/panfrost: Add BO labelling to Panfrost

Functions for labelling UM-exposed an internal BOs are provided. An
example of the latter would be the Perfcnt sample buffer.

This commit is done in preparation of a following one that will allow
UM to set BO labels through a new ioctl().

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