NV services: Difference between revisions

ByLaws (talk | contribs)
NVHOST_IOCTL_CHANNEL_SUBMIT: Fix syncpoint struct sizing
ByLaws (talk | contribs)
Line 1,688: Line 1,688:
   };
   };
    
    
  struct fence {
 
    u32 id;
    u32 thresh;
  };
 
   struct {
   struct {
     __in    u32 num_cmdbufs;
     __in    u32 num_cmdbufs;
Line 1,702: Line 1,698:
     __in    struct reloc_shift reloc_shifts[];    // depends on num_relocs
     __in    struct reloc_shift reloc_shifts[];    // depends on num_relocs
     __in    struct syncpt_incr syncpt_incrs[];    // depends on num_syncpt_incrs
     __in    struct syncpt_incr syncpt_incrs[];    // depends on num_syncpt_incrs
     __out  struct fence fences[];                 // depends on num_fences
     __out  u32 syncpt_thresholds[];               // depends on num_fences
   };
   };