d5855c1658
1. As we cannot ganrantee that 100% apu vram are free to be allocated, limit the allocation size be no more than 3/4 of vram size. 2. Keep the old 1GB allocation limit for dGPU case. 3. Add the alignment check for alloc_size. Affected tests: rocrtstStress.Memory_Concurrent_Allocate_Test rocrtstStress.Memory_Concurrent_Free_Test Change-Id: Id0023de132024d02f80980ae4237d9d74d9e27d3 Signed-off-by: Mengbing Wang <mengbing.wang@amd.com>