From: Arun Siluvery Subject: [PATCH 0/2] Add test to verify BDW workarounds Date: Wed, 20 Aug 2014 15:52:10 +0100 Message-ID: <1408546332-27157-1-git-send-email-arun.siluvery@linux.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 60CFE6E1CA for ; Wed, 20 Aug 2014 07:52:44 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Currently in BDW, workarounds are initialized in init_clock_gating() but some of them are lost followed by a gpu reset. The solution is to apply them in golden render state which keeps them valid when starting with an uninitialized state after reset. Arun Siluvery (2): tools/null_state_render: Add BDW workarounds to golden render state igt/gem_workarounds: igt to test workaround registers lib/intel_reg.h | 22 +++ tests/Makefile.sources | 1 + tests/gem_workarounds.c | 238 ++++++++++++++++++++++++++ tools/null_state_gen/intel_renderstate_gen8.c | 36 ++++ 4 files changed, 297 insertions(+) create mode 100644 tests/gem_workarounds.c -- 2.0.4