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 | #define MSM_INFO_GET_OFFSET 0x00 /* get mmap() offset, returned by value */ | 115 | #define MSM_INFO_GET_OFFSET 0x00 /* get mmap() offset, returned by value */ |
| 116 | #define MSM_INFO_GET_IOVA 0x01 /* get iova, returned by value */ | 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 | struct drm_msm_gem_info { | 120 | struct drm_msm_gem_info { |
| 119 | __u32 handle; /* in */ | 121 | __u32 handle; /* in */ |