File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616extern "C" {
1717#endif
1818
19- #define DRM_ASAHI_UNSTABLE_UABI_VERSION 10010
19+ #define DRM_ASAHI_UNSTABLE_UABI_VERSION 10011
2020
2121#define DRM_ASAHI_GET_PARAMS 0x00
2222#define DRM_ASAHI_VM_CREATE 0x01
@@ -55,8 +55,9 @@ struct drm_asahi_params_global {
5555 __u32 pad1 ;
5656 __u64 vm_user_start ;
5757 __u64 vm_user_end ;
58- __u64 vm_shader_start ;
59- __u64 vm_shader_end ;
58+ __u64 vm_usc_start ;
59+ __u64 vm_usc_end ;
60+ __u64 vm_kernel_min_size ;
6061
6162 __u32 max_syncs_per_submission ;
6263 __u32 max_commands_per_submission ;
@@ -104,6 +105,12 @@ struct drm_asahi_vm_create {
104105 /** @extensions: Pointer to the first extension struct, if any */
105106 __u64 extensions ;
106107
108+ /** @kernel_start: Start of the kernel-reserved address range */
109+ __u64 kernel_start ;
110+
111+ /** @kernel_end: End of the kernel-reserved address range */
112+ __u64 kernel_end ;
113+
107114 /** @value: Returned VM ID */
108115 __u32 vm_id ;
109116
@@ -344,6 +351,8 @@ struct drm_asahi_cmd_render {
344351 __u64 flags ;
345352
346353 __u64 encoder_ptr ;
354+ __u64 vertex_usc_base ;
355+ __u64 fragment_usc_base ;
347356
348357 __u64 vertex_attachments ;
349358 __u64 fragment_attachments ;
@@ -434,7 +443,6 @@ struct drm_asahi_cmd_render {
434443 __u32 depth_dimensions ;
435444 __u32 isp_bgobjdepth ;
436445 __u32 isp_bgobjvals ;
437-
438446};
439447
440448#define ASAHI_RENDER_UNK_UNK1 (1UL << 0)
@@ -508,6 +516,7 @@ struct drm_asahi_cmd_compute {
508516
509517 __u64 encoder_ptr ;
510518 __u64 encoder_end ;
519+ __u64 usc_base ;
511520
512521 __u64 attachments ;
513522 __u32 attachment_count ;
You can’t perform that action at this time.
0 commit comments