mbox series

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

Message ID cover.1589468282.git.rohan.garg@collabora.com (mailing list archive)
Headers show
Series Introducing IOCTL's to set/get label's for a buffer object | expand

Message

Rohan Garg May 14, 2020, 3:05 p.m. UTC
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(-)