[PATCH v5 0/2] Introducing IOCTL's to set/get label's for a buffer object

Rohan Garg rohan.garg at collabora.com
Thu May 14 15:05:31 UTC 2020


Hi
I've been reworking these label'ing patches in conjunction
with their userspace usage that can be found here [1].

The intention is that these patches will be useful for driver
developers and application developers alike in conjuction with
something like the OpenGL Label'ing extension [2].

Cheers
Rohan Garg

[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2426/
[2] https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_debug_label.txt

Rohan Garg (2):
  drm/ioctl: Add a ioctl to set and get a label on GEM objects
  panfrost: Set default labeling helpers

 drivers/gpu/drm/drm_gem.c               | 54 ++++++++++++++++++
 drivers/gpu/drm/drm_internal.h          | 14 +++++
 drivers/gpu/drm/drm_ioctl.c             | 74 +++++++++++++++++++++++++
 drivers/gpu/drm/panfrost/panfrost_drv.c |  3 +
 include/drm/drm_drv.h                   | 32 +++++++++++
 include/drm/drm_gem.h                   | 16 +++++-
 include/uapi/drm/drm.h                  | 21 ++++++-
 7 files changed, 212 insertions(+), 2 deletions(-)

-- 
2.17.1



More information about the dri-devel mailing list