[Intel-gfx] Generate raw batches for unit testing the decoder

Damien Lespiau damien.lespiau at intel.com
Mon Dec 16 11:53:22 CET 2013


On Fri, Dec 13, 2013 at 06:15:45PM +0000, Damien Lespiau wrote:
> 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.

Chris noted that it's weird to have those in igt to test code in libdrm.
While this is true, I didn't want to create yet another copy of the
command definitions we'd have to synchronize by hand (lacking a better
solution).

I don't mind keeping them in a branch, so let's just discard those.

-- 
Damien



More information about the Intel-gfx mailing list