From: Imre Deak <imre.deak@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH] tests/gem_storedw_batches_loop: add subtest for cached mappings
Date: Mon, 8 Jun 2015 19:29:30 +0300 [thread overview]
Message-ID: <1433780970-7840-1-git-send-email-imre.deak@intel.com> (raw)
Signed-off-by: Imre Deak <imre.deak@intel.com>
---
tests/gem_storedw_batches_loop.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/gem_storedw_batches_loop.c b/tests/gem_storedw_batches_loop.c
index dcc11a5..8706b80 100644
--- a/tests/gem_storedw_batches_loop.c
+++ b/tests/gem_storedw_batches_loop.c
@@ -169,6 +169,14 @@ igt_main
store_dword_loop(5, SECURE_DISPATCH);
}
+ igt_subtest("cached-mapping") {
+ gem_set_caching(fd, target_bo->handle, 1);
+ store_dword_loop(1, 0);
+ store_dword_loop(2, 0);
+ store_dword_loop(3, 0);
+ store_dword_loop(5, 0);
+ }
+
igt_fixture {
drm_intel_bo_unreference(target_bo);
drm_intel_bufmgr_destroy(bufmgr);
--
2.1.4
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2015-06-08 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-08 16:29 Imre Deak [this message]
2015-06-08 16:34 ` [PATCH] tests/gem_storedw_batches_loop: add subtest for cached mappings Chris Wilson
2015-06-08 17:07 ` [PATCH v2] " Imre Deak
2015-06-08 17:09 ` Chris Wilson
2015-06-08 17:17 ` Imre Deak
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=1433780970-7840-1-git-send-email-imre.deak@intel.com \
--to=imre.deak@intel.com \
--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