Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4187366imu; Fri, 30 Nov 2018 12:31:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/UYdDhBWRmfSdkhCY/hCS3dxz9AyV9D1BQEZq5YM6WxI8y4UY8QsKuHWOMuZBm8f92MACP6 X-Received: by 2002:a17:902:8bc6:: with SMTP id r6mr7034128plo.67.1543609908643; Fri, 30 Nov 2018 12:31:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543609908; cv=none; d=google.com; s=arc-20160816; b=TAj2a0cPcLeK+BfdoyFrO1JheS6db9pIBV8kO1G5GGOm5X+X/liC3g37Se+JSspKEe xegCM+2dIumtlu43gXAyODmpTOV5uQ4qL0WL6YYMP2eHMa+K2jcQAYy7gNIu2WJLheqW QbCWMnJCS8FUdRFdCChNokfNB7DK4likTEAC6dtQcq2MrJ9tg1uWr6Ae9ox2VZTO8Lvj xsBtKNAQuqdK16HUoqrLe/YQmUEwesdUkrLRG15XWoofV2EjLa69fTkBnEhMLGsqLV58 sdswT7lmk8/2WCLBudNkSGgDoF91NQbvKsuhc1J7lGcfmhT+FZfekCdboFp8ESZoJo7h Hb3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from; bh=TN+/vxagdAiBssVo8loYHDj5oPPWZnU0aftsd/7IHIs=; b=ZOaIA1L0gRPpHjEBnZh/oBLtEEBuMnK+/V532YzSp7+h3n+3xnZqIIpiW7n7w0j4iE Tt1csAc5k6kELT2Mn0bHENwiinb0ZORBF3Li6gi8vXBunYbdUiERZAMDZPdmXf0qoJPd lzs1iu1pbRDAgVz91h1naSEeAIo5FPDEiAcnrdkrEO1v3mEtYUubo+a3YuvD9xIwYzZf wi8kwyRSZOQ3jiJcfVct0AFtl35i/wnIHQcJO/WdkSVitWUuksIwOZDOJQeb3qSDjYXk DeKUIUaLZh8HlFzSt+leUpYsbbu8UAbP/ZvHpqKQcCoG9ONFAm/cpbbmOaz3rPiTv9O2 YkPg== 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 w2si5438049pgs.264.2018.11.30.12.31.34; Fri, 30 Nov 2018 12:31:48 -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 S1726159AbeLAHlX (ORCPT + 99 others); Sat, 1 Dec 2018 02:41:23 -0500 Received: from anholt.net ([50.246.234.109]:41096 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbeLAHlX (ORCPT ); Sat, 1 Dec 2018 02:41:23 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 91E4C10A150B; Fri, 30 Nov 2018 12:30:54 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mjsMh1a8_Wnj; Fri, 30 Nov 2018 12:30:53 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 9B8F210A01E5; Fri, 30 Nov 2018 12:30:53 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 2AF592FE2D5E; Fri, 30 Nov 2018 12:30:53 -0800 (PST) From: Eric Anholt To: Paul Kocialkowski , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: David Airlie , Maxime Ripard , Thomas Petazzoni , Boris Brezillon , Paul Kocialkowski Subject: Re: [PATCH v2] drm/vc4: Add a debugfs entry to disable/enable the load tracker In-Reply-To: <20181130161104.16352-1-paul.kocialkowski@bootlin.com> References: <20181130161104.16352-1-paul.kocialkowski@bootlin.com> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Fri, 30 Nov 2018 12:30:52 -0800 Message-ID: <87r2f2patf.fsf@anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Paul Kocialkowski writes: > In order to test whether the load tracker is working as expected, we > need the ability to compare the commit result with the underrun > indication. With the load tracker always enabled, commits that are > expected to trigger an underrun are always rejected, so userspace > cannot get the actual underrun indication from the hardware. > > Add a debugfs entry to disable/enable the load tracker, so that a DRM > commit expected to trigger an underrun can go through with the load > tracker disabled. The underrun indication is then available to > userspace and can be checked against the commit result with the load > tracker enabled. > > Signed-off-by: Paul Kocialkowski Given that the load tracker is going to be conservative and say things will underrun even when they might not in practice, will this actually be useful for automated testing? Or is the intent to make it easier to tune the load tracker by disabling it so that you can experiment freely? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlwBnfwACgkQtdYpNtH8 nujXZw/+KuKh2GVi6ZB7AucHRjOryoXV4Bmp3aK60fhZM0uL/sRoJAIqCPotYf1b xlJblJ9H8Deg7B4r0aHmkuOASdgjGWSUoyyTkLh9IZKlM0ejlzAr2KSXk2XBLpyp 0SrYEmCBFrbSfFlXJt8CRpl+dujDfHq+b8mm2n7aj7egGhrAJRXC7FDMs2zsD4JT GivlBwDw32ysCT8wp7YhIHZ7lEkZBqhD2k5/oABL7Qa3/96JFjFu2ukeadKG0Hwk ib9F+tH3CFwOrCeKRjJwbI7AIKzQ1KHiqY1doTximwlg0fxw3n4HyOe7Pn14izWX 4rpd7OvECqfCDY9a48wJzdQOJOC8eM/qwtBn+2h4Z+eU0n6i2MnLhUBQs2geqGAz WNYUJUbnzTOMA2EHMGwryAGjkEZk5U70vamg3UyyGsdanTuDBVHMO4oqu48PqHmd IeM1KQqVdptbLwB95WlqUAnR3G+xJaCFnEF7l4C4jlctFmsEDpcCbUt6Ey/gn+hx CceSsk8QuNFi3u5c7pfXSLtIQxKRRILAb060exMFuFqDdIHcyjLC3SO+sxftlhiG 9ksklB0g49JBvkuFZqOXiDgC/26MS7uIS77iOMOg6kp4FFjbNmSACPeyk9vCE/7u Cqxact55PR1Fg1iECgYoP6CGz0LIFQxypGw858C4nT2p0v+g0FI= =jCqI -----END PGP SIGNATURE----- --=-=-=--