From patchwork Wed Sep 17 17:08:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 4925711 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E377A9F3EC for ; Wed, 17 Sep 2014 17:08:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 212EC20145 for ; Wed, 17 Sep 2014 17:09:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id ADF1F20142 for ; Wed, 17 Sep 2014 17:09:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B88736E580; Wed, 17 Sep 2014 10:09:41 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 5638D6E580 for ; Wed, 17 Sep 2014 10:09:40 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 17 Sep 2014 10:02:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,541,1406617200"; d="scan'208";a="574541070" Received: from rdvivi-bratislava.jf.intel.com ([10.7.196.63]) by orsmga001.jf.intel.com with ESMTP; 17 Sep 2014 10:08:51 -0700 From: Rodrigo Vivi To: intel-gfx@lists.freedesktop.org Date: Wed, 17 Sep 2014 13:08:50 -0400 Message-Id: <1410973730-11333-1-git-send-email-rodrigo.vivi@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <20140917154126.GG17120@strange.ger.corp.intel.com> References: <20140917154126.GG17120@strange.ger.corp.intel.com> Cc: Rodrigo Vivi Subject: [Intel-gfx] [PATCH] tools/intel_reg_dumper: Shows fences and rp debug regs on BDW+. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP v2: a more generic fix to cover current and future platforms (Damien). Cc: Damien Lespiau Signed-off-by: Rodrigo Vivi Reviewed-by: Damien Lespiau --- tools/intel_reg_dumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c index 4bc299c..0b6d887 100644 --- a/tools/intel_reg_dumper.c +++ b/tools/intel_reg_dumper.c @@ -2972,7 +2972,7 @@ int main(int argc, char** argv) intel_dump_other_regs(); } - if (IS_GEN6(devid) || IS_GEN7(devid)) { + if (intel_gen(devid) >= 6) { intel_dump_regs(gen6_fences); intel_dump_regs(gen6_rp_debug_regs); }