mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
gpu: reserved 32k for GPU's memory to avoid access error memory.
This commit is contained in:
@@ -831,7 +831,8 @@ gckVIDMEM_AllocateLinear(
|
||||
gcmkONERROR(gcvSTATUS_OUT_OF_MEMORY);
|
||||
}
|
||||
|
||||
if (Bytes > Memory->freeBytes)
|
||||
// dkm: <20><>Ԥ<EFBFBD><D4A4>32K<32>Ŀռ䣬<D5BC><E4A3AC><EFBFBD><EFBFBD>GPU<50><55><EFBFBD>з<EFBFBD><D0B7>ʷǷ<CAB7><C7B7><EFBFBD>ַ<EFBFBD>ķ<EFBFBD><C4B7><EFBFBD>
|
||||
if (Bytes + (32 << 10) > Memory->freeBytes)
|
||||
{
|
||||
/* Not enough memory. */
|
||||
gcmkONERROR(gcvSTATUS_OUT_OF_MEMORY);
|
||||
|
||||
Reference in New Issue
Block a user