intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Damien Lespiau <damien.lespiau@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: Generate raw batches for unit testing the decoder
Date: Fri, 13 Dec 2013 18:15:45 +0000	[thread overview]
Message-ID: <1386958547-11068-1-git-send-email-damien.lespiau@intel.com> (raw)

libdrm has a way to unit-test the CS decoder: test_decode can decode a raw
batch and compare it to a reference output.

However, one still needs to genarate the raw, binary, batches to feed to
test_decode. This couple of patches do exactly that.

-- 
Damien

             reply	other threads:[~2013-12-13 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13 18:15 Damien Lespiau [this message]
2013-12-13 18:15 ` [PATCH 1/2] tests: Add a helper to generate raw batches Damien Lespiau
2013-12-13 18:15 ` [PATCH 2/2] generate_test_batches: Add a MI_LOAD_REGISTER_IMM test batch Damien Lespiau
2013-12-16 10:53 ` Generate raw batches for unit testing the decoder Damien Lespiau

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=1386958547-11068-1-git-send-email-damien.lespiau@intel.com \
    --to=damien.lespiau@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;
as well as URLs for NNTP newsgroup(s).