The min_page_size is useful information to ensure alignment and it is an API actually in use. However max_page_size doesn't bring any useful information to the userspace hence being not used at all. So, let's remove and only bring it back if that ever gets used.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -174,10 +174,6 @@ struct drm_xe_query_mem_region { · 173 unmodified lines | ||
| 174 | 174 | * kernel. |
| 175 | 175 | */ |
| 176 | 176 | __u32 min_page_size; |
| 177 | − /** | |
| 178 | − * @max_page_size: Max page-size in bytes for this region. | |
| 179 | − */ | |
| 180 | − __u32 max_page_size; | |
| 181 | 177 | /** |
| 182 | 178 | * @total_size: The usable size in bytes for this region. |
| 183 | 179 | */ |