summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/msm_drm.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2018-11-29 10:27:22 -0500
committerRob Clark <robdclark@gmail.com>2018-12-11 13:07:05 -0500
commitf05c83e7746088e6ada6ce83fd7840b4b7b52ffe (patch)
treebe32cf3e9de934d0cfb7993626cc355c486ea083 /include/uapi/drm/msm_drm.h
parent789d2e5a772ce312a7a2b81ffaf304946195beb5 (diff)
downloadlinux-f05c83e7746088e6ada6ce83fd7840b4b7b52ffe.tar.bz2
drm/msm: add uapi to get/set debug name
Add UAPI to get/set GEM objects' debug name. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'include/uapi/drm/msm_drm.h')
-rw-r--r--include/uapi/drm/msm_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index 7b372c1bcc7d..91a16b333c69 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -114,6 +114,8 @@ struct drm_msm_gem_new {
*/
#define MSM_INFO_GET_OFFSET 0x00 /* get mmap() offset, returned by value */
#define MSM_INFO_GET_IOVA 0x01 /* get iova, returned by value */
+#define MSM_INFO_SET_NAME 0x02 /* set the debug name (by pointer) */
+#define MSM_INFO_GET_NAME 0x03 /* get debug name, returned by pointer */
struct drm_msm_gem_info {
__u32 handle; /* in */