File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -334,6 +334,8 @@ struct drm_asahi_attachment {
334334#define ASAHI_RENDER_PROCESS_EMPTY_TILES (1UL << 3)
335335#define ASAHI_RENDER_NO_VERTEX_CLUSTERING (1UL << 4)
336336#define ASAHI_RENDER_MSAA_ZS (1UL << 5)
337+ /* XXX check */
338+ #define ASAHI_RENDER_NO_PREEMPTION (1UL << 6)
337339
338340struct drm_asahi_cmd_render {
339341 /** @extensions: Pointer to the first extension struct, if any */
@@ -348,6 +350,11 @@ struct drm_asahi_cmd_render {
348350 __u32 vertex_attachment_count ;
349351 __u32 fragment_attachment_count ;
350352
353+ __u32 vertex_helper_program ;
354+ __u32 fragment_helper_program ;
355+ __u64 vertex_helper_arg ;
356+ __u64 fragment_helper_arg ;
357+
351358 __u64 depth_buffer_load ;
352359 __u64 depth_buffer_store ;
353360 __u64 depth_buffer_partial ;
@@ -479,6 +486,9 @@ struct drm_asahi_cmd_render_unknowns {
479486 __u64 vtx_unk_mask ;
480487};
481488
489+ /* XXX check */
490+ #define ASAHI_COMPUTE_NO_PREEMPTION (1UL << 0)
491+
482492struct drm_asahi_cmd_compute {
483493 __u64 flags ;
484494
@@ -489,10 +499,9 @@ struct drm_asahi_cmd_compute {
489499 __u32 attachment_count ;
490500 __u32 pad ;
491501
492- __u64 helper_arg ;
493-
494- __u32 buffer_descriptor_size ; /* ? */
495502 __u32 helper_program ;
503+ __u32 helper_unk ; /* ? */
504+ __u64 helper_arg ;
496505
497506 __u32 encoder_id ;
498507 __u32 cmd_id ;
You can’t perform that action at this time.
0 commit comments