In some cases crosvm needs a way to query the cache flags to communicate them to the guest kernel for guest userspace mapping.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -138,6 +138,7 @@ struct drm_msm_gem_new { · 137 unmodified lines | ||
| 138 | 138 | #define MSM_INFO_SET_NAME 0x02 /* set the debug name (by pointer) */ |
| 139 | 139 | #define MSM_INFO_GET_NAME 0x03 /* get debug name, returned by pointer */ |
| 140 | 140 | #define MSM_INFO_SET_IOVA 0x04 /* set the iova, passed by value */ |
| 141 | +#define MSM_INFO_GET_FLAGS 0x05 /* get the MSM_BO_x flags */ | |
| 141 | 142 | |
| 142 | 143 | struct drm_msm_gem_info { |
| 143 | 144 | __u32 handle; /* in */ |