diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-17 14:43:33 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-17 14:43:33 +0100 |
commit | a535cdedfbd280c5e07be1c2445e09973836509a (patch) | |
tree | 22239380a3016c00a09249c9d4c5c0f32bf16055 /lib/igt_aux.h | |
parent | aa63fc740c510ed44c1a8dc0fc00f0c92c0581a2 (diff) |
lib/os: Pust igt_require into memory check function
More in line with the usual igt pattern and simplifies the code -
every called just wrapped it in igt_require.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r-- | lib/igt_aux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h index 7bca11c4..6c83c53e 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -82,7 +82,7 @@ uint64_t intel_get_avail_ram_mb(void); uint64_t intel_get_total_ram_mb(void); uint64_t intel_get_total_swap_mb(void); -bool intel_check_memory(uint32_t count, uint32_t size, unsigned mode); +void intel_require_memory(uint32_t count, uint32_t size, unsigned mode); #define CHECK_RAM 0x1 #define CHECK_SWAP 0x2 |