From: tim.gore@intel.com
To: intel-gfx@lists.freedesktop.org
Cc: daniel.vetter@ffwll.ch
Subject: [PATCH] intel-gpu-tools: skip gem_mmap_offset_exhaustion on Android
Date: Fri, 25 Jul 2014 10:00:19 +0100 [thread overview]
Message-ID: <1406278819-8464-1-git-send-email-tim.gore@intel.com> (raw)
From: Tim Gore <tim.gore@intel.com>
gem_mmap_offset_exhaustion relies on purgeable memory
allocations getting swapped out, freeing up physical
memory for further allocations. On Android we have no
swap partition so this cannot happen and the test gets
killed by the low memory killer before mmap offset
exhaustion can happen, thus defeating the tests purpose.
Signed-off-by: Tim Gore <tim.gore@intel.com>
---
tests/gem_mmap_offset_exhaustion.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/gem_mmap_offset_exhaustion.c b/tests/gem_mmap_offset_exhaustion.c
index 914fe6e..016143d 100644
--- a/tests/gem_mmap_offset_exhaustion.c
+++ b/tests/gem_mmap_offset_exhaustion.c
@@ -77,6 +77,10 @@ igt_simple_main
{
int fd, i;
+#ifdef ANDROID
+ igt_skip("Test not valid on Android\n");
+#endif
+
igt_skip_on_simulation();
fd = drm_open_any();
--
1.9.2
next reply other threads:[~2014-07-25 9:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-25 9:00 tim.gore [this message]
2014-07-25 9:06 ` [PATCH] intel-gpu-tools: skip gem_mmap_offset_exhaustion on Android Daniel Vetter
2014-07-25 9:14 ` Gore, Tim
2014-07-25 9:39 ` Daniel Vetter
2014-07-25 9:17 ` Chris Wilson
2014-07-25 9:37 ` Daniel Vetter
2014-07-25 9:56 ` Tvrtko Ursulin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1406278819-8464-1-git-send-email-tim.gore@intel.com \
--to=tim.gore@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox