From patchwork Fri Sep 22 20:53:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zanoni, Paulo R" X-Patchwork-Id: 9967055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CE17760381 for ; Fri, 22 Sep 2017 20:53:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD524298D4 for ; Fri, 22 Sep 2017 20:53:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B26DA29989; Fri, 22 Sep 2017 20:53:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7A806298D4 for ; Fri, 22 Sep 2017 20:53:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4BB736E253; Fri, 22 Sep 2017 20:53:56 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id ABD3D6E076 for ; Fri, 22 Sep 2017 20:53:53 +0000 (UTC) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Sep 2017 13:53:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,427,1500966000"; d="scan'208";a="315216805" Received: from przanoni-mobl.amr.corp.intel.com ([10.254.187.32]) by fmsmga004.fm.intel.com with ESMTP; 22 Sep 2017 13:53:52 -0700 From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Fri, 22 Sep 2017 17:53:43 -0300 Message-Id: <20170922205343.16006-3-paulo.r.zanoni@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20170922205343.16006-1-paulo.r.zanoni@intel.com> References: <20170922205343.16006-1-paulo.r.zanoni@intel.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH 2/2] drm/i915: add missing DPLL fields to i915_shared_dplls_info X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 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-Virus-Scanned: ClamAV using ClamSMTP Looks like we've been forgetting to add these since a long time ago. Signed-off-by: Paulo Zanoni Acked-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_debugfs.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 13fc259..2b2faa6 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -3481,6 +3481,22 @@ static int i915_shared_dplls_info(struct seq_file *m, void *unused) seq_printf(m, " fp0: 0x%08x\n", pll->state.hw_state.fp0); seq_printf(m, " fp1: 0x%08x\n", pll->state.hw_state.fp1); seq_printf(m, " wrpll: 0x%08x\n", pll->state.hw_state.wrpll); + seq_printf(m, " spll: 0x%08x\n", pll->state.hw_state.spll); + seq_printf(m, " ctrl1: 0x%08x\n", pll->state.hw_state.ctrl1); + seq_printf(m, " cfgcr1: 0x%08x\n", pll->state.hw_state.cfgcr1); + seq_printf(m, " cfgcr2: 0x%08x\n", pll->state.hw_state.cfgcr2); + seq_printf(m, " cfgcr0: 0x%08x\n", pll->state.hw_state.cfgcr0); + seq_printf(m, " ebb0: 0x%08x\n", pll->state.hw_state.ebb0); + seq_printf(m, " ebb4: 0x%08x\n", pll->state.hw_state.ebb4); + seq_printf(m, " pll0: 0x%08x\n", pll->state.hw_state.pll0); + seq_printf(m, " pll1: 0x%08x\n", pll->state.hw_state.pll1); + seq_printf(m, " pll2: 0x%08x\n", pll->state.hw_state.pll2); + seq_printf(m, " pll3: 0x%08x\n", pll->state.hw_state.pll3); + seq_printf(m, " pll6: 0x%08x\n", pll->state.hw_state.pll6); + seq_printf(m, " pll8: 0x%08x\n", pll->state.hw_state.pll8); + seq_printf(m, " pll9: 0x%08x\n", pll->state.hw_state.pll9); + seq_printf(m, " pll10: 0x%08x\n", pll->state.hw_state.pll10); + seq_printf(m, " pcsdw12: 0x%08x\n", pll->state.hw_state.pcsdw12); } drm_modeset_unlock_all(dev);