From: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 2/2] tests/gem_render_copy: Add option to test resource streamer
Date: Tue, 6 May 2014 22:48:03 +0300 [thread overview]
Message-ID: <1399405683-27409-3-git-send-email-abdiel.janulgue@linux.intel.com> (raw)
In-Reply-To: <1399405683-27409-1-git-send-email-abdiel.janulgue@linux.intel.com>
Add option in basic test for the render_copy to test and toggle
hw-generated binding tables feature.
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
---
tests/gem_render_copy.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/gem_render_copy.c b/tests/gem_render_copy.c
index 331b7ce..c9dfba0 100644
--- a/tests/gem_render_copy.c
+++ b/tests/gem_render_copy.c
@@ -131,14 +131,19 @@ int main(int argc, char **argv)
int opt;
int opt_dump_png = false;
int opt_dump_aub = igt_aub_dump_enabled();
+ int opt_use_rs = false;
igt_simple_init();
- while ((opt = getopt(argc, argv, "d")) != -1) {
+ while ((opt = getopt(argc, argv, "d:r")) != -1) {
switch (opt) {
case 'd':
opt_dump_png = true;
break;
+ case 'r':
+ printf("Use resource streamer\n");
+ opt_use_rs = true;
+ break;
default:
break;
}
@@ -156,6 +161,7 @@ int main(int argc, char **argv)
"no render-copy function\n");
batch = intel_batchbuffer_alloc(data.bufmgr, data.devid);
+ batch->use_resource_streamer = opt_use_rs;
igt_assert(batch);
}
--
1.7.9.5
next prev parent reply other threads:[~2014-05-06 19:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 19:48 igt tests/rendercopy: Add option to test resource streamer functionality Abdiel Janulgue
2014-05-06 19:48 ` [PATCH 1/2] rendercopy/bdw: Enable hw-generated binding tables Abdiel Janulgue
2014-05-06 21:38 ` Ville Syrjälä
2014-05-06 22:09 ` Abdiel Janulgue
2014-05-07 11:49 ` Ville Syrjälä
2014-05-07 11:55 ` Chris Wilson
2014-05-07 20:59 ` Abdiel Janulgue
2014-05-08 9:54 ` Ville Syrjälä
2014-05-08 10:18 ` Ville Syrjälä
2014-05-12 16:40 ` Daniel Vetter
2014-05-16 11:36 ` Chris Wilson
2014-05-16 14:27 ` Daniel Vetter
2014-05-16 14:45 ` Chris Wilson
2014-05-16 15:07 ` Daniel Vetter
2014-05-06 19:48 ` Abdiel Janulgue [this message]
2014-05-06 20:19 ` igt tests/rendercopy: Add option to test resource streamer functionality Daniel Vetter
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=1399405683-27409-3-git-send-email-abdiel.janulgue@linux.intel.com \
--to=abdiel.janulgue@linux.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