Line 1,454:
Line 1,454:
Allocates gpfifo entries with additional parameters. Exclusive to the Switch.
Allocates gpfifo entries with additional parameters. Exclusive to the Switch.
−
struct {
+
struct fence {
−
__in u32 num_entries;
+
u32 syncpt_id;
−
__in u32 flags;
+
u32 syncpt_value;
−
__in u32 unk0;
+
};
−
__in u32 unk1;
+
−
__in u32 unk2;
+
struct {
−
__in u32 unk3;
+
__in u32 num_entries;
−
__in u32 unk4;
+
__in u32 num_jobs;
−
__in u32 unk5;
+
__in u32 flags;
−
};
+
__out struct fence fence_out; // returned new fence object for others to wait on
+
__in u32 reserved[3]; // ignored
+
};
=== NVGPU_IOCTL_CHANNEL_SUBMIT_GPFIFO_RETRY ===
=== NVGPU_IOCTL_CHANNEL_SUBMIT_GPFIFO_RETRY ===