Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2567939ybf; Mon, 2 Mar 2020 11:14:15 -0800 (PST) X-Google-Smtp-Source: ADFU+vvAP0laKJqDbG5X0InN/cdmR1wFf4SvjYiPJ1++vamKrPN9UO0YaMaoFUTXebhYv1QN6x1K X-Received: by 2002:a54:4712:: with SMTP id k18mr398377oik.101.1583176455591; Mon, 02 Mar 2020 11:14:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583176455; cv=none; d=google.com; s=arc-20160816; b=svkhX0rYg1Yw9XbuAwRP8sIu6XMeBhdK0gG4naZnnfD7ZOJTlMpqe5kpTsiL2PWW8m mSYcGVJr2p2dDv/xPSD6fwAHVljx6EeitSI9Fna18prhm4+zlgvWmO5kMdqolmovuQHG J9FDIsg+JTNu1FcVQRE5O7W/bxOcITiNSKE3+w57pINfZHNGnDyej+7zbaPTIBM/13FQ McVI/XWhNtVDM58ALKGGF6+iYs3gyIwWc0jnHaKMAH27YxKJLL8d040GKXLzrXq2Wii4 kw6yFQM6R9r2MsmpPZ2zxMgfUq/fnmSvtkivcxLkmqO8NQ7nD/kVjrKS6gEamHBezmAO SwwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=7QlTAzunOBWwsK2xfkEJ2s3MyDHhIzjK82EknfsoWXg=; b=ZD+ycKtYPzPBzhoR/kaGiHFmgiJbVGhUGGOfyT+fjpM/3RNe31nn2NfDPJCQn+Ha7h ptB+U2jsGQGEIA2btSoHOyD7F4j+bfaK7tgKyGy3R3NbJHuIXdCWKfPAePhTktQucgwi 0XtPK6ehckENZaifvWb3siVggHkpypNLKnFM7KozaWcQUhSgNakIhLs34sYqy2adct5/ dL8xtXrc3AmKhBclfI7DgZ/4QjoDJx6fTKApCKfCMccbQRsKBqoPTVU4BFnc1srNu/si +IgIX/lBa+0Cf1CYwCVJJvEYnRLp5Vqomt20v9JaDgnt2cOwsTfJZqY5DsqdubjJVDsD JN1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s16si6140092oic.23.2020.03.02.11.13.56; Mon, 02 Mar 2020 11:14:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727688AbgCBTNo (ORCPT + 99 others); Mon, 2 Mar 2020 14:13:44 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:50560 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727413AbgCBTNn (ORCPT ); Mon, 2 Mar 2020 14:13:43 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 6F42AFB03; Mon, 2 Mar 2020 20:13:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2fTSlKgT4MT7; Mon, 2 Mar 2020 20:13:39 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id A6F7E40490; Mon, 2 Mar 2020 20:13:36 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Lucas Stach , Russell King , Christian Gmeiner , David Airlie , Daniel Vetter , etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] drm/etnaviv: Consider all kwnown idle bits in debugfs Date: Mon, 2 Mar 2020 20:13:34 +0100 Message-Id: <4af1a3f1df51feac79b25cc86c5554d74cfb657c.1583176306.git.agx@sigxcpu.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We were missing out on some bits the vendor kernel driver knows about. Signed-off-by: Guido Günther --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c index 873d9103164d..187de610b325 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c @@ -930,6 +930,20 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m) seq_puts(m, "\t FP is not idle\n"); if ((idle & VIVS_HI_IDLE_STATE_TS) == 0) seq_puts(m, "\t TS is not idle\n"); + if ((idle & VIVS_HI_IDLE_STATE_BL) == 0) + seq_puts(m, "\t BL is not idle\n"); + if ((idle & VIVS_HI_IDLE_STATE_ASYNCFE) == 0) + seq_puts(m, "\t ASYNCFE is not idle\n"); + if ((idle & VIVS_HI_IDLE_STATE_MC) == 0) + seq_puts(m, "\t MC is not idle\n"); + if ((idle & VIVS_HI_IDLE_STATE_PPA) == 0) + seq_puts(m, "\t PPA is not idle\n"); + if ((idle & VIVS_HI_IDLE_STATE_WD) == 0) + seq_puts(m, "\t WD is not idle\n"); + if ((idle & VIVS_HI_IDLE_STATE_NN) == 0) + seq_puts(m, "\t NN is not idle\n"); + if ((idle & VIVS_HI_IDLE_STATE_TP) == 0) + seq_puts(m, "\t TP is not idle\n"); if (idle & VIVS_HI_IDLE_STATE_AXI_LP) seq_puts(m, "\t AXI low power mode\n"); -- 2.23.0