cmd_list: The number of entries is the number of ints.

This commit is contained in:
Jules Blok 2018-06-12 13:41:18 +02:00 committed by fincs
parent 3a750138c5
commit 9ce884f29e

View File

@ -28,7 +28,7 @@ iova_t nvCmdListGetGpuAddr(NvCmdList* c) {
}
u64 nvCmdListGetListSize(NvCmdList* c) {
return c->num_cmds * 4;
return c->num_cmds;
}
u32* nvCmdListInsert(NvCmdList* c, size_t num_cmds)