From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Lespiau Subject: Re: Generate raw batches for unit testing the decoder Date: Mon, 16 Dec 2013 10:53:22 +0000 Message-ID: <20131216105322.GA26921@strange.amr.corp.intel.com> References: <1386958547-11068-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 24734FB032 for ; Mon, 16 Dec 2013 02:53:50 -0800 (PST) Content-Disposition: inline In-Reply-To: <1386958547-11068-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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