mirror of
https://github.com/switchbrew/libnx.git
synced 2025-12-08 21:25:14 +01:00
18 lines
420 B
C
18 lines
420 B
C
typedef struct NvGpu NvGpu;
|
|
|
|
typedef struct {
|
|
NvBuffer buffer;
|
|
size_t num_cmds;
|
|
size_t max_cmds;
|
|
NvGpu* parent;
|
|
iova_t gpu_addr;
|
|
} NvCmdList;
|
|
|
|
Result nvCmdListCreate(NvCmdList* c, NvGpu* parent, size_t max_cmds);
|
|
void nvCmdListClose(NvCmdList* c);
|
|
|
|
iova_t nvCmdListGetGpuAddr(NvCmdList* c);
|
|
u64 nvCmdListGetListSize(NvCmdList* c);
|
|
|
|
u32* nvCmdListInsert(NvCmdList* c, size_t num_cmds);
|