From: Damien Lespiau Subject: Generate raw batches for unit testing the decoder Date: Fri, 13 Dec 2013 18:15:45 +0000 Message-ID: <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 mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id A4475FB378 for ; Fri, 13 Dec 2013 10:16:12 -0800 (PST) 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 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