Fix Android system memory requirements
authorIlkka Saarelainen <ilkka.saarelainen@siru.fi>
Tue, 27 Jul 2021 11:31:06 +0000 (14:31 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 13 Aug 2021 08:15:54 +0000 (08:15 +0000)
commite692ea7f7c2527971af0cb9d882764467ca397bf
treeec5f7eb66eb2ac67ab5a59e2d51839ea0120e46c
parentcb2cea9a5986211d3622b2704ad61ea99899b49d
Fix Android system memory requirements

This CL changes how the available system memory is defined in Android.
The actual available system memory size is now used instead of
determining the available system memory by the CDD.

Affects:

dEQP-VK.api.buffer.suballocation.*
dEQP-VK.api.buffer.dedicated_alloc.*
dEQP-VK.api.object_management.*
dEQP-VK.memory.allocation.*
dEQP-VK.memory.device_group_allocation.*
dEQP-VK.pipeline.render_to_image.*.small.*
dEQP-VK.pipeline.render_to_image.*.huge.*

Components: Framework, Vulkan

VK-GL-CTS issue: 2621

Change-Id: I92fd157ec3928313ac92c29e6cbb3413c64a5096
framework/platform/android/tcuAndroidPlatform.cpp
framework/platform/android/tcuAndroidUtil.cpp
framework/platform/android/tcuAndroidUtil.hpp