NV services: Difference between revisions

Line 1,488: Line 1,488:


=== NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX2 ===
=== NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX2 ===
Allocates gpfifo entries with additional parameters and returns a fence. Exclusive to the Switch.
Same as [[#NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX|NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX]].
 
  struct fence {
    u32 syncpt_id;
    u32 syncpt_value;
  };
 
  struct {
    __in    u32 num_entries;
    __in    u32 flags;
    __in    u32 unk0;
    __inout struct fence fence_out;          // returned new fence object for others to wait on
    __in    u32 unk1;
    __in    u32 unk2;
    __in    u32 unk3;
  };


=== NVGPU_IOCTL_CHANNEL_SUBMIT_GPFIFO_EX ===
=== NVGPU_IOCTL_CHANNEL_SUBMIT_GPFIFO_EX ===