[all] move defines for LGMP_QUEUE_*_LEN into KVMFR.h

This commit is contained in:
Geoffrey McRae
2020-10-30 18:48:41 +11:00
parent c0acfd1228
commit 0badf2a84c
3 changed files with 4 additions and 5 deletions

View File

@@ -375,8 +375,7 @@ static int frameThread(void * unused)
size_t dataSize;
LG_RendererFormat lgrFormat;
//FIXME: Should use LGMP_Q_FRAME_LEN
struct DMAFrameInfo dmaInfo[2] = {0};
struct DMAFrameInfo dmaInfo[LGMP_Q_FRAME_LEN] = {0};
const bool useDMA =
params.allowDMA &&
ivshmemHasDMA(&state.shm) &&