Add UAPI to get/set GEM objects' debug name.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -114,6 +114,8 @@ struct drm_msm_gem_new { · 113 unmodified lines | ||
| 114 | 114 | */ |
| 115 | 115 | #define MSM_INFO_GET_OFFSET 0x00 /* get mmap() offset, returned by value */ |
| 116 | 116 | #define MSM_INFO_GET_IOVA 0x01 /* get iova, returned by value */ |
| 117 | +#define MSM_INFO_SET_NAME 0x02 /* set the debug name (by pointer) */ | |
| 118 | +#define MSM_INFO_GET_NAME 0x03 /* get debug name, returned by pointer */ | |
| 117 | 119 | |
| 118 | 120 | struct drm_msm_gem_info { |
| 119 | 121 | __u32 handle; /* in */ |