NV services: Difference between revisions
No edit summary |
|||
Line 904: | Line 904: | ||
__in u16 kind; | __in u16 kind; | ||
__in u32 nvmap_handle; | __in u32 nvmap_handle; | ||
__in u32 | __in u32 reserved; | ||
__in u32 offset; // (alloc_space_offset >> 0x10) | __in u32 offset; // (alloc_space_offset >> 0x10) | ||
__in u32 pages; // alloc_space_pages | __in u32 pages; // alloc_space_pages | ||
Line 1,303: | Line 1,303: | ||
struct { | struct { | ||
__in u32 num_handles; // number of nvmap handles to map | __in u32 num_handles; // number of nvmap handles to map | ||
__in u32 | __in u32 reserved; // ignored | ||
__in u8 is_compr; // memory to map is compressed | __in u8 is_compr; // memory to map is compressed | ||
__in u8 padding[3]; // ignored | __in u8 padding[3]; // ignored | ||
Line 1,314: | Line 1,314: | ||
struct handle { | struct handle { | ||
u32 handle_id_in; // nvmap handle to unmap | u32 handle_id_in; // nvmap handle to unmap | ||
u32 | u32 reserved; // ignored | ||
}; | }; | ||
struct { | struct { | ||
__in u32 num_handles; // number of nvmap handles to unmap | __in u32 num_handles; // number of nvmap handles to unmap | ||
__in u32 | __in u32 reserved; // ignored | ||
__in u8 is_compr; // memory to unmap is compressed | __in u8 is_compr; // memory to unmap is compressed | ||
__in u8 padding[3]; // ignored | __in u8 padding[3]; // ignored | ||
Line 1,399: | Line 1,399: | ||
__in u64 gpu_va; | __in u64 gpu_va; | ||
__in u32 mode; // 0=global, 1=no_ctxsw, 2=separate_buffer, 3=part_of_regular_buf | __in u32 mode; // 0=global, 1=no_ctxsw, 2=separate_buffer, 3=part_of_regular_buf | ||
__in u32 | __in u32 reserved; | ||
}; | }; | ||
Line 1,406: | Line 1,406: | ||
struct { | struct { | ||
__in u64 offset; | __in u64 offset; // ignored | ||
__in u64 size; | __in u64 size; // ignored | ||
__in u32 mem; | __in u32 mem; // must be non-zero to initialize, zero to de-initialize | ||
__in u32 | __in u32 reserved; // ignored | ||
}; | }; | ||