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:
parent
ce27972ecb
commit
13b3c46966
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue