MGS-6108-3 [#imx-2416] fix gcdENABLE_VG logic issue

enable asynchronous unlock even if define gcdENABLE_VG

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
This commit is contained in:
Xianzhong 2020-12-06 17:56:31 +08:00
parent ce27972ecb
commit 13b3c46966
1 changed files with 2 additions and 2 deletions

View File

@ -1834,7 +1834,7 @@ _BottomHalfUnlockVideoMemory(
gcmkONERROR(gckVIDMEM_NODE_Dereference(Kernel, nodeObject));
}
else
#else
#endif
{
/* Perform asynchronous unlock */
gcmkONERROR(gckEVENT_Unlock(Kernel->eventObj, gcvKERNEL_PIXEL, nodeObject));
@ -1842,7 +1842,7 @@ _BottomHalfUnlockVideoMemory(
/* Submit the event queue. */
gcmkONERROR(gckEVENT_Submit(Kernel->eventObj, gcvTRUE, gcvFALSE));
}
#endif
return gcvSTATUS_OK;
OnError: