Searched refs:CmdBufferPool (Results 1 – 6 of 6) sorted by relevance
248 GENOS_ZeroMemory(&pOsContext->CmdBufferPool, in Ctx_InitCmdBufferPool()250 pOsContext->CmdBufferPool.iFetch = 0; in Ctx_InitCmdBufferPool()267 cmd_bo = pOsContext->CmdBufferPool.pCmd_bo[index]; in Ctx_WaitAndReleaseCmdBuffer()271 pOsContext->CmdBufferPool.pCmd_bo[index] = NULL; in Ctx_WaitAndReleaseCmdBuffer()304 index = pOsContext->CmdBufferPool.iFetch; in Ctx_WaitForAvailableCmdBo()322 index = pOsContext->CmdBufferPool.iFetch; in Ctx_InsertCmdBufferToPool()324 pOsContext->CmdBufferPool.pCmd_bo[index] = bo; in Ctx_InsertCmdBufferToPool()326 pOsContext->CmdBufferPool.iFetch++; in Ctx_InsertCmdBufferToPool()327 if (pOsContext->CmdBufferPool.iFetch >= MAX_CMD_BUF_NUM) { in Ctx_InsertCmdBufferToPool()328 pOsContext->CmdBufferPool.iFetch = 0; in Ctx_InsertCmdBufferToPool()
369 CMD_BUFFER_BO_POOL CmdBufferPool; member
381 MOS_ZeroMemory(&pOsContext->CmdBufferPool, sizeof(CMD_BUFFER_BO_POOL)); in Linux_InitCmdBufferPool()382 pOsContext->CmdBufferPool.iFetch = 0; in Linux_InitCmdBufferPool()418 cmd_bo = pOsContext->CmdBufferPool.pCmd_bo[index]; in Linux_WaitAndReleaseCmdBuffer()423 pOsContext->CmdBufferPool.pCmd_bo[index] = nullptr; in Linux_WaitAndReleaseCmdBuffer()478 index = pOsContext->CmdBufferPool.iFetch; in Linux_WaitForAvailableCmdBo()510 index = pOsContext->CmdBufferPool.iFetch; in Linux_InsertCmdBufferToPool()512 pOsContext->CmdBufferPool.pCmd_bo[index] = pCmdBuffer->OsResource.bo; in Linux_InsertCmdBufferToPool()515 pOsContext->CmdBufferPool.iFetch++; in Linux_InsertCmdBufferToPool()516 if (pOsContext->CmdBufferPool.iFetch >= MAX_CMD_BUF_NUM) in Linux_InsertCmdBufferToPool()518 pOsContext->CmdBufferPool.iFetch = 0; in Linux_InsertCmdBufferToPool()
528 CMD_BUFFER_BO_POOL CmdBufferPool; member
403 MOS_ZeroMemory(&pOsContext->CmdBufferPool, sizeof(CMD_BUFFER_BO_POOL)); in Linux_InitCmdBufferPool()404 pOsContext->CmdBufferPool.iFetch = 0; in Linux_InitCmdBufferPool()440 cmd_bo = pOsContext->CmdBufferPool.pCmd_bo[index]; in Linux_WaitAndReleaseCmdBuffer()445 pOsContext->CmdBufferPool.pCmd_bo[index] = nullptr; in Linux_WaitAndReleaseCmdBuffer()500 index = pOsContext->CmdBufferPool.iFetch; in Linux_WaitForAvailableCmdBo()532 index = pOsContext->CmdBufferPool.iFetch; in Linux_InsertCmdBufferToPool()534 pOsContext->CmdBufferPool.pCmd_bo[index] = pCmdBuffer->OsResource.bo; in Linux_InsertCmdBufferToPool()537 pOsContext->CmdBufferPool.iFetch++; in Linux_InsertCmdBufferToPool()538 if (pOsContext->CmdBufferPool.iFetch >= MAX_CMD_BUF_NUM) in Linux_InsertCmdBufferToPool()540 pOsContext->CmdBufferPool.iFetch = 0; in Linux_InsertCmdBufferToPool()
535 CMD_BUFFER_BO_POOL CmdBufferPool; member