Message ID | 20240214121435.3813983-1-adrian.larumbe@collabora.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-65179-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1167426dyb; Wed, 14 Feb 2024 04:15:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV+daFhedXTBaJvQBDNqsIAAtXD8l5mi8BaEN0dP3MAr12SxVDExe9m+uBoDL7J1Gw3hfkKdIpItkyIxnC9rYnBeaxpmw== X-Google-Smtp-Source: AGHT+IG015+q03XrQwvmxFBG6OWyHbBxQwAuas1qWrF1zJ7Xw6b2fnsKFKyKG/bOaMu6FxtgGkLv X-Received: by 2002:a17:902:bcc4:b0:1db:4213:41e8 with SMTP id o4-20020a170902bcc400b001db421341e8mr2442623pls.69.1707912920824; Wed, 14 Feb 2024 04:15:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707912920; cv=pass; d=google.com; s=arc-20160816; b=KVDN/3zFwYLuRoZ+P+3N1LtfeWuc4zkdHVmMmpaoNmk4QHacx7cvogWHe8gpVIF/t+ ZVJqGoVdrFE3c0vGp9id9VgK+08Pt6F7g3f9dMiSiGiQokeeDMAy/IDrTPwOHW8NDCtp qf+QpVI2zMxkKpv6P6929sgGDIfq7A0DBfFduO6ltSwFZZ6VTODRjFkA+Jj0uDx2NKgm 1espFhNhwECZGM+qnH3KnNz6M9Eex4DBUoTwpKO3mUYEG5wf7MZIA+X+AxTUi0VvnGQU APi44zQSVxaElESkam8bBARCDZ+FLT53+fj51fmZdLLUPlIATOpXNItzrOw/JrZF3Z2o wrBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=/FoxHrq1ikkMtPwYYCHy+FaPWoJktwUcPkjHPo07Nm4=; fh=aXU19ZLb/2nn8UJV9/HgCYaSB0SP1jbynnz70tw515E=; b=RXg3KWkWpM5VXytgt+DouDAUJ2ZbRBcMlbi5sljYP1FFD2aO+5W4Mc839CBBCQqjT/ U9u9wQoHo7Nm7jncZZwqx9xaYvgCmmDnF6LKgQ8tcpBPWu71lKI6tizbx2E7oU53Bsf+ XXFyRH2O77N2xPtlZTf3eV8DYLQiVvDXgvo3uD8/g4HTw6aJPvV7bX02Sbi84cU9BwWa +EfSTxCt+E8BrJyKVTpGXE+gDWjnRkQmBB7WhDniC/SGr+RcccKOQ8Em6aAEDOAeH1Yd xXzSyDp8Ho5ISXosR8JS9ic8MvByhOUyeDE559t/b6sc0YSM3flFd+uU178rytXng4+3 SaDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lktErl8e; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-65179-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65179-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=2; AJvYcCUIPNDkkAHQ5Yvv2loTuB130v8/kVES8ibfq1YVGESewjrdxJxudlG5Na4VPDsB1WQN3Sxy3YKcCYRQ1OQk1v4l9u1EIA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i5-20020a17090332c500b001d8bb0db3d7si3658454plr.206.2024.02.14.04.15.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 04:15:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65179-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lktErl8e; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-65179-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65179-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9BE402865AD for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 12:15:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A79D71BC43; Wed, 14 Feb 2024 12:15:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="lktErl8e" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FEB61B5AA for <linux-kernel@vger.kernel.org>; Wed, 14 Feb 2024 12:15:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707912903; cv=none; b=h2G+eZkMMkKKLr3UYi8tFtEGaN6kDXt/T9/mTsbkpHJcQ18b1VNYmMpf25U37AYxyzEPtkNA5kPAezXZk8wz4z5cRhLqm3NDgQNHOjyDWlnPkspkKHMLxhlBlKplAAMuzzGH7fIXLmgJvFfQJsod8kj6vUf8PP7CSV7NLhgmVe4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707912903; c=relaxed/simple; bh=tfISkpmpp4nJRcfb3dG1pEk85K2saMry/h9bbcDcZVc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=udRaSlJvdZFlOdV3/y8P/8d05YZhOQxgFlH6CC1JMN8a6NiKUfsqVC4qF+Ea5rgVCJ2/xSceW3z6F26hxSiiLnMHLFbN+It3cWNrBicYVhxCYNXkfSDd33/fPTyVtw7WNFqd08hS0sapUvwmNOvBQsp7DJllo+RWp/jWUAnJWEA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=lktErl8e; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1707912899; bh=tfISkpmpp4nJRcfb3dG1pEk85K2saMry/h9bbcDcZVc=; h=From:To:Cc:Subject:Date:From; b=lktErl8emXZHiqOYad3nGkmzkVwF/jIOq8I9KToY++xNzSATm6o9jnxce9vzGrvej WQzLzChYKMePwRsZrRIHemSHL2Z8gZAHy1lNJWuCscuy07vlIHbMFhlRU5XuSZKpYU mjdIra5TFyd8KJkzRRPQ/tlP8KgOY3LiV/woOuGwEsMAfCdC4zMiig72xWF1N/yhXE tklI/2hOpOhJIwjZvF4BlYHBygXGf095uI+sgKILDMIYxzeIJZIS2gEp1KMwCJjrYH zWq4/TcxHKec+AufIpi4YSxvnT7iWzVs03C4IeYS1Hm4RZYYiqgDhKwXBx8upF/Dn5 4JWE1v1EkPDGg== Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alarumbe) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 1577A378045F; Wed, 14 Feb 2024 12:14:59 +0000 (UTC) From: =?utf-8?q?Adri=C3=A1n_Larumbe?= <adrian.larumbe@collabora.com> To: Boris Brezillon <boris.brezillon@collabora.com>, Rob Herring <robh@kernel.org>, Steven Price <steven.price@arm.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch> Cc: =?utf-8?q?Adri=C3=A1n_Larumbe?= <adrian.larumbe@collabora.com>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 0/1] Always record job cycle and timestamp information Date: Wed, 14 Feb 2024 12:14:26 +0000 Message-ID: <20240214121435.3813983-1-adrian.larumbe@collabora.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790876498688626204 X-GMAIL-MSGID: 1790876498688626204 |
Series |
Always record job cycle and timestamp information
|
|
Message
Adrián Larumbe
Feb. 14, 2024, 12:14 p.m. UTC
A driver user expressed interest in being able to access engine usage stats through fdinfo when debugfs is not built into their kernel. In the current implementation, this wasn't possible, because it was assumed even for inflight jobs enabling the cycle counter and timestamp registers would incur in additional power consumption, so both were kept disabled until toggled through debugfs. A second read of the TRM made me think otherwise, but this is something that would be best clarified by someone from ARM's side. Adrián Larumbe (1): drm/panfrost: Always record job cycle and timestamp information drivers/gpu/drm/panfrost/Makefile | 2 -- drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------ drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------ drivers/gpu/drm/panfrost/panfrost_device.h | 1 - drivers/gpu/drm/panfrost/panfrost_drv.c | 5 ----- drivers/gpu/drm/panfrost/panfrost_job.c | 24 ++++++++------------- drivers/gpu/drm/panfrost/panfrost_job.h | 1 - 7 files changed, 9 insertions(+), 59 deletions(-) delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918
Comments
Hi Adrián, On 14/02/2024 12:14, Adrián Larumbe wrote: > A driver user expressed interest in being able to access engine usage stats > through fdinfo when debugfs is not built into their kernel. In the current > implementation, this wasn't possible, because it was assumed even for > inflight jobs enabling the cycle counter and timestamp registers would > incur in additional power consumption, so both were kept disabled until > toggled through debugfs. > > A second read of the TRM made me think otherwise, but this is something > that would be best clarified by someone from ARM's side. I'm afraid I can't give a definitive answer. This will probably vary depending on implementation. The command register enables/disables "propagation" of the cycle/timestamp values. This propagation will cost some power (gates are getting toggled) but whether that power is completely in the noise of the GPU as a whole I can't say. The out-of-tree kbase driver only enables the counters for jobs explicitly marked (BASE_JD_REQ_PERMON) or due to an explicit connection from a profiler. I'd be happier moving the debugfs file to sysfs rather than assuming that the power consumption is small enough for all platforms. Ideally we'd have some sort of kernel interface for a profiler to inform the kernel what it is interested in, but I can't immediately see how to make that useful across different drivers. kbase's profiling support is great with our profiling tools, but there's a very strong connection between the two. Steve > Adrián Larumbe (1): > drm/panfrost: Always record job cycle and timestamp information > > drivers/gpu/drm/panfrost/Makefile | 2 -- > drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------ > drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------ > drivers/gpu/drm/panfrost/panfrost_device.h | 1 - > drivers/gpu/drm/panfrost/panfrost_drv.c | 5 ----- > drivers/gpu/drm/panfrost/panfrost_job.c | 24 ++++++++------------- > drivers/gpu/drm/panfrost/panfrost_job.h | 1 - > 7 files changed, 9 insertions(+), 59 deletions(-) > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h > > > base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918
On Wed, Feb 14, 2024 at 01:52:05PM +0000, Steven Price wrote: > Hi Adrián, > > On 14/02/2024 12:14, Adrián Larumbe wrote: > > A driver user expressed interest in being able to access engine usage stats > > through fdinfo when debugfs is not built into their kernel. In the current > > implementation, this wasn't possible, because it was assumed even for > > inflight jobs enabling the cycle counter and timestamp registers would > > incur in additional power consumption, so both were kept disabled until > > toggled through debugfs. > > > > A second read of the TRM made me think otherwise, but this is something > > that would be best clarified by someone from ARM's side. > > I'm afraid I can't give a definitive answer. This will probably vary > depending on implementation. The command register enables/disables > "propagation" of the cycle/timestamp values. This propagation will cost > some power (gates are getting toggled) but whether that power is > completely in the noise of the GPU as a whole I can't say. > > The out-of-tree kbase driver only enables the counters for jobs > explicitly marked (BASE_JD_REQ_PERMON) or due to an explicit connection > from a profiler. > > I'd be happier moving the debugfs file to sysfs rather than assuming > that the power consumption is small enough for all platforms. > > Ideally we'd have some sort of kernel interface for a profiler to inform > the kernel what it is interested in, but I can't immediately see how to > make that useful across different drivers. kbase's profiling support is > great with our profiling tools, but there's a very strong connection > between the two. Yeah I'm not sure whether a magic (worse probably per-driver massively different) file in sysfs is needed to enable gpu perf monitoring stats in fdinfo. I get that we do have a bit a gap because the linux perf pmu stuff is global, and you want per-process, and there's kinda no per-process support for perf stats for devices. But that's probably the direction we want to go, not so much fdinfo. At least for hardware performance counters and things like that. Iirc the i915 pmu support had some integration for per-process support, you might want to chat with Tvrtko for kernel side and Lionel for more userspace side. At least if I'm not making a complete mess and my memory is vaguely related to reality. Adding them both. Cheers, Sima > > Steve > > > Adrián Larumbe (1): > > drm/panfrost: Always record job cycle and timestamp information > > > > drivers/gpu/drm/panfrost/Makefile | 2 -- > > drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------ > > drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------ > > drivers/gpu/drm/panfrost/panfrost_device.h | 1 - > > drivers/gpu/drm/panfrost/panfrost_drv.c | 5 ----- > > drivers/gpu/drm/panfrost/panfrost_job.c | 24 ++++++++------------- > > drivers/gpu/drm/panfrost/panfrost_job.h | 1 - > > 7 files changed, 9 insertions(+), 59 deletions(-) > > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c > > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h > > > > > > base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
On 16/02/2024 16:57, Daniel Vetter wrote: > On Wed, Feb 14, 2024 at 01:52:05PM +0000, Steven Price wrote: >> Hi Adrián, >> >> On 14/02/2024 12:14, Adrián Larumbe wrote: >>> A driver user expressed interest in being able to access engine usage stats >>> through fdinfo when debugfs is not built into their kernel. In the current >>> implementation, this wasn't possible, because it was assumed even for >>> inflight jobs enabling the cycle counter and timestamp registers would >>> incur in additional power consumption, so both were kept disabled until >>> toggled through debugfs. >>> >>> A second read of the TRM made me think otherwise, but this is something >>> that would be best clarified by someone from ARM's side. >> >> I'm afraid I can't give a definitive answer. This will probably vary >> depending on implementation. The command register enables/disables >> "propagation" of the cycle/timestamp values. This propagation will cost >> some power (gates are getting toggled) but whether that power is >> completely in the noise of the GPU as a whole I can't say. >> >> The out-of-tree kbase driver only enables the counters for jobs >> explicitly marked (BASE_JD_REQ_PERMON) or due to an explicit connection >> from a profiler. >> >> I'd be happier moving the debugfs file to sysfs rather than assuming >> that the power consumption is small enough for all platforms. >> >> Ideally we'd have some sort of kernel interface for a profiler to inform >> the kernel what it is interested in, but I can't immediately see how to >> make that useful across different drivers. kbase's profiling support is >> great with our profiling tools, but there's a very strong connection >> between the two. > > Yeah I'm not sure whether a magic (worse probably per-driver massively > different) file in sysfs is needed to enable gpu perf monitoring stats in > fdinfo. > > I get that we do have a bit a gap because the linux perf pmu stuff is > global, and you want per-process, and there's kinda no per-process support > for perf stats for devices. But that's probably the direction we want to > go, not so much fdinfo. At least for hardware performance counters and > things like that. > > Iirc the i915 pmu support had some integration for per-process support, > you might want to chat with Tvrtko for kernel side and Lionel for more > userspace side. At least if I'm not making a complete mess and my memory > is vaguely related to reality. Adding them both. Yeah there are two separate things, i915 PMU and i915 Perf/OA. If my memory serves me right I indeed did have a per-process support for i915 PMU implemented as an RFC (or at least a branch somewhere) some years back. IIRC it only exposed the per engine GPU utilisation and did not find it very useful versus the complexity. (I think it at least required maintaining a map of drm clients per task.) Our more useful profiling is using a custom Perf/OA interface (Observation Architecture) which is possibly similar to kbase mentioned above. Why it is a custom interface is explained in a large comment on top of i915_perf.c. Not sure if all of them still hold but on the overall perf does not sound like the right fit for detailed GPU profiling. Also PMU drivers are very challenging to get the implementation right, since locking model and atomicity requirements are quite demanding. From my point of view, at least it is my initial thinking, if custom per driver solutions are strongly not desired, it could be interesting to look into whether there is enough commonality, in at least concepts, to see if a new DRM level common but extensible API would be doable. Even then it may be tricky to "extract" enough common code to justify it. Regards, Tvrtko > > Cheers, Sima > > >> >> Steve >> >>> Adrián Larumbe (1): >>> drm/panfrost: Always record job cycle and timestamp information >>> >>> drivers/gpu/drm/panfrost/Makefile | 2 -- >>> drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------ >>> drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------ >>> drivers/gpu/drm/panfrost/panfrost_device.h | 1 - >>> drivers/gpu/drm/panfrost/panfrost_drv.c | 5 ----- >>> drivers/gpu/drm/panfrost/panfrost_job.c | 24 ++++++++------------- >>> drivers/gpu/drm/panfrost/panfrost_job.h | 1 - >>> 7 files changed, 9 insertions(+), 59 deletions(-) >>> delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c >>> delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h >>> >>> >>> base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918 >> > > -- > Daniel Vetter > Software Engineer, Intel Corporation > http://blog.ffwll.ch
Hi, I just wanted to make sure we're on the same page on this matter. So in Panfrost, and I guess in almost every other single driver out there, HW perf counters and their uapi interface are orthogonal to fdinfo's reporting on drm engine utilisation. At the moment it seems like HW perfcounters and the way they're exposed to UM are very idiosincratic and any attempt to unify their interface into a common set of ioctl's sounds like a gargantuan task I wouldn't like to be faced with. As for fdinfo, I guess there's more room for coming up with common helpers that could handle the toggling of HW support for drm engine calculations, but I'd at least have to see how things are being done in let's say, Freedreno or Intel. Right now there's a pressing need to get rid of the debugfs knob for fdinfo's drm engine profiling sources in Panfrost, after which I could perhaps draw up an RFC for how to generalise this onto other drivers. Adrian On 16.02.2024 17:43, Tvrtko Ursulin wrote: > > On 16/02/2024 16:57, Daniel Vetter wrote: > > On Wed, Feb 14, 2024 at 01:52:05PM +0000, Steven Price wrote: > > > Hi Adrián, > > > > > > On 14/02/2024 12:14, Adrián Larumbe wrote: > > > > A driver user expressed interest in being able to access engine usage stats > > > > through fdinfo when debugfs is not built into their kernel. In the current > > > > implementation, this wasn't possible, because it was assumed even for > > > > inflight jobs enabling the cycle counter and timestamp registers would > > > > incur in additional power consumption, so both were kept disabled until > > > > toggled through debugfs. > > > > > > > > A second read of the TRM made me think otherwise, but this is something > > > > that would be best clarified by someone from ARM's side. > > > > > > I'm afraid I can't give a definitive answer. This will probably vary > > > depending on implementation. The command register enables/disables > > > "propagation" of the cycle/timestamp values. This propagation will cost > > > some power (gates are getting toggled) but whether that power is > > > completely in the noise of the GPU as a whole I can't say. > > > > > > The out-of-tree kbase driver only enables the counters for jobs > > > explicitly marked (BASE_JD_REQ_PERMON) or due to an explicit connection > > > from a profiler. > > > > > > I'd be happier moving the debugfs file to sysfs rather than assuming > > > that the power consumption is small enough for all platforms. > > > > > > Ideally we'd have some sort of kernel interface for a profiler to inform > > > the kernel what it is interested in, but I can't immediately see how to > > > make that useful across different drivers. kbase's profiling support is > > > great with our profiling tools, but there's a very strong connection > > > between the two. > > > > Yeah I'm not sure whether a magic (worse probably per-driver massively > > different) file in sysfs is needed to enable gpu perf monitoring stats in > > fdinfo. > > > > I get that we do have a bit a gap because the linux perf pmu stuff is > > global, and you want per-process, and there's kinda no per-process support > > for perf stats for devices. But that's probably the direction we want to > > go, not so much fdinfo. At least for hardware performance counters and > > things like that. > > > > Iirc the i915 pmu support had some integration for per-process support, > > you might want to chat with Tvrtko for kernel side and Lionel for more > > userspace side. At least if I'm not making a complete mess and my memory > > is vaguely related to reality. Adding them both. > > Yeah there are two separate things, i915 PMU and i915 Perf/OA. > > If my memory serves me right I indeed did have a per-process support for i915 > PMU implemented as an RFC (or at least a branch somewhere) some years back. > IIRC it only exposed the per engine GPU utilisation and did not find it very > useful versus the complexity. (I think it at least required maintaining a map > of drm clients per task.) > > Our more useful profiling is using a custom Perf/OA interface (Observation > Architecture) which is possibly similar to kbase mentioned above. Why it is a > custom interface is explained in a large comment on top of i915_perf.c. Not > sure if all of them still hold but on the overall perf does not sound like the > right fit for detailed GPU profiling. > > Also PMU drivers are very challenging to get the implementation right, since > locking model and atomicity requirements are quite demanding. > > From my point of view, at least it is my initial thinking, if custom per > driver solutions are strongly not desired, it could be interesting to look > into whether there is enough commonality, in at least concepts, to see if a > new DRM level common but extensible API would be doable. Even then it may be > tricky to "extract" enough common code to justify it. > > Regards, > > Tvrtko > > > > > Cheers, Sima > > > > > > > > > > Steve > > > > > > > Adrián Larumbe (1): > > > > drm/panfrost: Always record job cycle and timestamp information > > > > > > > > drivers/gpu/drm/panfrost/Makefile | 2 -- > > > > drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------ > > > > drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------ > > > > drivers/gpu/drm/panfrost/panfrost_device.h | 1 - > > > > drivers/gpu/drm/panfrost/panfrost_drv.c | 5 ----- > > > > drivers/gpu/drm/panfrost/panfrost_job.c | 24 ++++++++------------- > > > > drivers/gpu/drm/panfrost/panfrost_job.h | 1 - > > > > 7 files changed, 9 insertions(+), 59 deletions(-) > > > > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c > > > > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h > > > > > > > > > > > > base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918 > > > > > > > -- > > Daniel Vetter > > Software Engineer, Intel Corporation > > http://blog.ffwll.ch
On 21/02/2024 09:40, Adrián Larumbe wrote: > Hi, > > I just wanted to make sure we're on the same page on this matter. So in > Panfrost, and I guess in almost every other single driver out there, HW perf > counters and their uapi interface are orthogonal to fdinfo's reporting on drm > engine utilisation. > > At the moment it seems like HW perfcounters and the way they're exposed to UM > are very idiosincratic and any attempt to unify their interface into a common > set of ioctl's sounds like a gargantuan task I wouldn't like to be faced with. I share the same feeling on this sub-topic. > As for fdinfo, I guess there's more room for coming up with common helpers that > could handle the toggling of HW support for drm engine calculations, but I'd at > least have to see how things are being done in let's say, Freedreno or Intel. For Intel we don't need this ability, well at least for pre-GuC platforms. Stat collection is super cheap and permanently enabled there. But let me copy Umesh because something at the back of my mind is telling me that perhaps there was something expensive about collecting these stats with the GuC backend? If so maybe a toggle would be beneficial there. > Right now there's a pressing need to get rid of the debugfs knob for fdinfo's > drm engine profiling sources in Panfrost, after which I could perhaps draw up an > RFC for how to generalise this onto other drivers. There is a knob currently meaning fdinfo does not work by default? If that is so, I would have at least expected someone had submitted a patch for gputop to handle this toggle. It being kind of a common reference implementation I don't think it is great if it does not work out of the box. The toggle as an idea sounds a bit annoying, but if there is no other realistic way maybe it is not too bad. As long as it is documented in the drm-usage-stats.rst, doesn't live in debugfs, and has some common plumbing implemented both on the kernel side and for the aforementioned gputop / igt_drm_fdinfo / igt_drm_clients. Where and how exactly TBD. Regards, Tvrtko > > On 16.02.2024 17:43, Tvrtko Ursulin wrote: >> >> On 16/02/2024 16:57, Daniel Vetter wrote: >>> On Wed, Feb 14, 2024 at 01:52:05PM +0000, Steven Price wrote: >>>> Hi Adrián, >>>> >>>> On 14/02/2024 12:14, Adrián Larumbe wrote: >>>>> A driver user expressed interest in being able to access engine usage stats >>>>> through fdinfo when debugfs is not built into their kernel. In the current >>>>> implementation, this wasn't possible, because it was assumed even for >>>>> inflight jobs enabling the cycle counter and timestamp registers would >>>>> incur in additional power consumption, so both were kept disabled until >>>>> toggled through debugfs. >>>>> >>>>> A second read of the TRM made me think otherwise, but this is something >>>>> that would be best clarified by someone from ARM's side. >>>> >>>> I'm afraid I can't give a definitive answer. This will probably vary >>>> depending on implementation. The command register enables/disables >>>> "propagation" of the cycle/timestamp values. This propagation will cost >>>> some power (gates are getting toggled) but whether that power is >>>> completely in the noise of the GPU as a whole I can't say. >>>> >>>> The out-of-tree kbase driver only enables the counters for jobs >>>> explicitly marked (BASE_JD_REQ_PERMON) or due to an explicit connection >>>> from a profiler. >>>> >>>> I'd be happier moving the debugfs file to sysfs rather than assuming >>>> that the power consumption is small enough for all platforms. >>>> >>>> Ideally we'd have some sort of kernel interface for a profiler to inform >>>> the kernel what it is interested in, but I can't immediately see how to >>>> make that useful across different drivers. kbase's profiling support is >>>> great with our profiling tools, but there's a very strong connection >>>> between the two. >>> >>> Yeah I'm not sure whether a magic (worse probably per-driver massively >>> different) file in sysfs is needed to enable gpu perf monitoring stats in >>> fdinfo. >>> >>> I get that we do have a bit a gap because the linux perf pmu stuff is >>> global, and you want per-process, and there's kinda no per-process support >>> for perf stats for devices. But that's probably the direction we want to >>> go, not so much fdinfo. At least for hardware performance counters and >>> things like that. >>> >>> Iirc the i915 pmu support had some integration for per-process support, >>> you might want to chat with Tvrtko for kernel side and Lionel for more >>> userspace side. At least if I'm not making a complete mess and my memory >>> is vaguely related to reality. Adding them both. >> >> Yeah there are two separate things, i915 PMU and i915 Perf/OA. >> >> If my memory serves me right I indeed did have a per-process support for i915 >> PMU implemented as an RFC (or at least a branch somewhere) some years back. >> IIRC it only exposed the per engine GPU utilisation and did not find it very >> useful versus the complexity. (I think it at least required maintaining a map >> of drm clients per task.) >> >> Our more useful profiling is using a custom Perf/OA interface (Observation >> Architecture) which is possibly similar to kbase mentioned above. Why it is a >> custom interface is explained in a large comment on top of i915_perf.c. Not >> sure if all of them still hold but on the overall perf does not sound like the >> right fit for detailed GPU profiling. >> >> Also PMU drivers are very challenging to get the implementation right, since >> locking model and atomicity requirements are quite demanding. >> >> From my point of view, at least it is my initial thinking, if custom per >> driver solutions are strongly not desired, it could be interesting to look >> into whether there is enough commonality, in at least concepts, to see if a >> new DRM level common but extensible API would be doable. Even then it may be >> tricky to "extract" enough common code to justify it. >> >> Regards, >> >> Tvrtko >> >>> >>> Cheers, Sima >>> >>> >>>> >>>> Steve >>>> >>>>> Adrián Larumbe (1): >>>>> drm/panfrost: Always record job cycle and timestamp information >>>>> >>>>> drivers/gpu/drm/panfrost/Makefile | 2 -- >>>>> drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------ >>>>> drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------ >>>>> drivers/gpu/drm/panfrost/panfrost_device.h | 1 - >>>>> drivers/gpu/drm/panfrost/panfrost_drv.c | 5 ----- >>>>> drivers/gpu/drm/panfrost/panfrost_job.c | 24 ++++++++------------- >>>>> drivers/gpu/drm/panfrost/panfrost_job.h | 1 - >>>>> 7 files changed, 9 insertions(+), 59 deletions(-) >>>>> delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c >>>>> delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h >>>>> >>>>> >>>>> base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918 >>>> >>> >>> -- >>> Daniel Vetter >>> Software Engineer, Intel Corporation >>> http://blog.ffwll.ch >
> On 21.02.2024 14:34, Tvrtko Ursulin wrote: > > On 21/02/2024 09:40, Adrián Larumbe wrote: > > Hi, > > > > I just wanted to make sure we're on the same page on this matter. So in > > Panfrost, and I guess in almost every other single driver out there, HW perf > > counters and their uapi interface are orthogonal to fdinfo's reporting on drm > > engine utilisation. > > > > At the moment it seems like HW perfcounters and the way they're exposed to UM > > are very idiosincratic and any attempt to unify their interface into a common > > set of ioctl's sounds like a gargantuan task I wouldn't like to be faced with. > > I share the same feeling on this sub-topic. > > > As for fdinfo, I guess there's more room for coming up with common helpers that > > could handle the toggling of HW support for drm engine calculations, but I'd at > > least have to see how things are being done in let's say, Freedreno or Intel. > > For Intel we don't need this ability, well at least for pre-GuC platforms. > Stat collection is super cheap and permanently enabled there. > > But let me copy Umesh because something at the back of my mind is telling me > that perhaps there was something expensive about collecting these stats with > the GuC backend? If so maybe a toggle would be beneficial there. > > > Right now there's a pressing need to get rid of the debugfs knob for fdinfo's > > drm engine profiling sources in Panfrost, after which I could perhaps draw up an > > RFC for how to generalise this onto other drivers. > > There is a knob currently meaning fdinfo does not work by default? If that is > so, I would have at least expected someone had submitted a patch for gputop to > handle this toggle. It being kind of a common reference implementation I don't > think it is great if it does not work out of the box. It does sound like I forgot to document this knob at the time I submited fdinfo support for Panforst. I'll make a point of mentioning it in a new patch where I drop debugfs support and enable toggling from sysfs instead. > The toggle as an idea sounds a bit annoying, but if there is no other > realistic way maybe it is not too bad. As long as it is documented in the > drm-usage-stats.rst, doesn't live in debugfs, and has some common plumbing > implemented both on the kernel side and for the aforementioned gputop / > igt_drm_fdinfo / igt_drm_clients. Where and how exactly TBD. As soon as the new patch is merged, I'll go and reflect the driver uAPI changes in all three of these. > Regards, > > Tvrtko > Cheers, Adrian > > On 16.02.2024 17:43, Tvrtko Ursulin wrote: > > > > > > On 16/02/2024 16:57, Daniel Vetter wrote: > > > > On Wed, Feb 14, 2024 at 01:52:05PM +0000, Steven Price wrote: > > > > > Hi Adrián, > > > > > > > > > > On 14/02/2024 12:14, Adrián Larumbe wrote: > > > > > > A driver user expressed interest in being able to access engine usage stats > > > > > > through fdinfo when debugfs is not built into their kernel. In the current > > > > > > implementation, this wasn't possible, because it was assumed even for > > > > > > inflight jobs enabling the cycle counter and timestamp registers would > > > > > > incur in additional power consumption, so both were kept disabled until > > > > > > toggled through debugfs. > > > > > > > > > > > > A second read of the TRM made me think otherwise, but this is something > > > > > > that would be best clarified by someone from ARM's side. > > > > > > > > > > I'm afraid I can't give a definitive answer. This will probably vary > > > > > depending on implementation. The command register enables/disables > > > > > "propagation" of the cycle/timestamp values. This propagation will cost > > > > > some power (gates are getting toggled) but whether that power is > > > > > completely in the noise of the GPU as a whole I can't say. > > > > > > > > > > The out-of-tree kbase driver only enables the counters for jobs > > > > > explicitly marked (BASE_JD_REQ_PERMON) or due to an explicit connection > > > > > from a profiler. > > > > > > > > > > I'd be happier moving the debugfs file to sysfs rather than assuming > > > > > that the power consumption is small enough for all platforms. > > > > > > > > > > Ideally we'd have some sort of kernel interface for a profiler to inform > > > > > the kernel what it is interested in, but I can't immediately see how to > > > > > make that useful across different drivers. kbase's profiling support is > > > > > great with our profiling tools, but there's a very strong connection > > > > > between the two. > > > > > > > > Yeah I'm not sure whether a magic (worse probably per-driver massively > > > > different) file in sysfs is needed to enable gpu perf monitoring stats in > > > > fdinfo. > > > > > > > > I get that we do have a bit a gap because the linux perf pmu stuff is > > > > global, and you want per-process, and there's kinda no per-process support > > > > for perf stats for devices. But that's probably the direction we want to > > > > go, not so much fdinfo. At least for hardware performance counters and > > > > things like that. > > > > > > > > Iirc the i915 pmu support had some integration for per-process support, > > > > you might want to chat with Tvrtko for kernel side and Lionel for more > > > > userspace side. At least if I'm not making a complete mess and my memory > > > > is vaguely related to reality. Adding them both. > > > > > > Yeah there are two separate things, i915 PMU and i915 Perf/OA. > > > > > > If my memory serves me right I indeed did have a per-process support for i915 > > > PMU implemented as an RFC (or at least a branch somewhere) some years back. > > > IIRC it only exposed the per engine GPU utilisation and did not find it very > > > useful versus the complexity. (I think it at least required maintaining a map > > > of drm clients per task.) > > > > > > Our more useful profiling is using a custom Perf/OA interface (Observation > > > Architecture) which is possibly similar to kbase mentioned above. Why it is a > > > custom interface is explained in a large comment on top of i915_perf.c. Not > > > sure if all of them still hold but on the overall perf does not sound like the > > > right fit for detailed GPU profiling. > > > > > > Also PMU drivers are very challenging to get the implementation right, since > > > locking model and atomicity requirements are quite demanding. > > > > > > From my point of view, at least it is my initial thinking, if custom per > > > driver solutions are strongly not desired, it could be interesting to look > > > into whether there is enough commonality, in at least concepts, to see if a > > > new DRM level common but extensible API would be doable. Even then it may be > > > tricky to "extract" enough common code to justify it. > > > > > > Regards, > > > > > > Tvrtko > > > > > > > > > > > Cheers, Sima > > > > > > > > > > > > > > > > > > Steve > > > > > > > > > > > Adrián Larumbe (1): > > > > > > drm/panfrost: Always record job cycle and timestamp information > > > > > > > > > > > > drivers/gpu/drm/panfrost/Makefile | 2 -- > > > > > > drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------ > > > > > > drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------ > > > > > > drivers/gpu/drm/panfrost/panfrost_device.h | 1 - > > > > > > drivers/gpu/drm/panfrost/panfrost_drv.c | 5 ----- > > > > > > drivers/gpu/drm/panfrost/panfrost_job.c | 24 ++++++++------------- > > > > > > drivers/gpu/drm/panfrost/panfrost_job.h | 1 - > > > > > > 7 files changed, 9 insertions(+), 59 deletions(-) > > > > > > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c > > > > > > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h > > > > > > > > > > > > > > > > > > base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918 > > > > > > > > > > > > > -- > > > > Daniel Vetter > > > > Software Engineer, Intel Corporation > > > > http://blog.ffwll.ch
On Wed, Feb 21, 2024 at 03:13:41PM +0000, Adrián Larumbe wrote: > > On 21.02.2024 14:34, Tvrtko Ursulin wrote: > > > > On 21/02/2024 09:40, Adrián Larumbe wrote: > > > Hi, > > > > > > I just wanted to make sure we're on the same page on this matter. So in > > > Panfrost, and I guess in almost every other single driver out there, HW perf > > > counters and their uapi interface are orthogonal to fdinfo's reporting on drm > > > engine utilisation. > > > > > > At the moment it seems like HW perfcounters and the way they're exposed to UM > > > are very idiosincratic and any attempt to unify their interface into a common > > > set of ioctl's sounds like a gargantuan task I wouldn't like to be faced with. > > > > I share the same feeling on this sub-topic. > > > > > As for fdinfo, I guess there's more room for coming up with common helpers that > > > could handle the toggling of HW support for drm engine calculations, but I'd at > > > least have to see how things are being done in let's say, Freedreno or Intel. > > > > For Intel we don't need this ability, well at least for pre-GuC platforms. > > Stat collection is super cheap and permanently enabled there. > > > > But let me copy Umesh because something at the back of my mind is telling me > > that perhaps there was something expensive about collecting these stats with > > the GuC backend? If so maybe a toggle would be beneficial there. > > > > > Right now there's a pressing need to get rid of the debugfs knob for fdinfo's > > > drm engine profiling sources in Panfrost, after which I could perhaps draw up an > > > RFC for how to generalise this onto other drivers. > > > > There is a knob currently meaning fdinfo does not work by default? If that is > > so, I would have at least expected someone had submitted a patch for gputop to > > handle this toggle. It being kind of a common reference implementation I don't > > think it is great if it does not work out of the box. > > It does sound like I forgot to document this knob at the time I submited fdinfo > support for Panforst. I'll make a point of mentioning it in a new patch where I > drop debugfs support and enable toggling from sysfs instead. > > > The toggle as an idea sounds a bit annoying, but if there is no other > > realistic way maybe it is not too bad. As long as it is documented in the > > drm-usage-stats.rst, doesn't live in debugfs, and has some common plumbing > > implemented both on the kernel side and for the aforementioned gputop / > > igt_drm_fdinfo / igt_drm_clients. Where and how exactly TBD. > > As soon as the new patch is merged, I'll go and reflect the driver uAPI changes > in all three of these. Would be good (and kinda proper per process rules) to implement the code in at least e.g. gputop for this. To make sure it actually works for that use-case, and there's not an oversight that breaks it all. -Sima > > > Regards, > > > > Tvrtko > > > > Cheers, > Adrian > > > > On 16.02.2024 17:43, Tvrtko Ursulin wrote: > > > > > > > > On 16/02/2024 16:57, Daniel Vetter wrote: > > > > > On Wed, Feb 14, 2024 at 01:52:05PM +0000, Steven Price wrote: > > > > > > Hi Adrián, > > > > > > > > > > > > On 14/02/2024 12:14, Adrián Larumbe wrote: > > > > > > > A driver user expressed interest in being able to access engine usage stats > > > > > > > through fdinfo when debugfs is not built into their kernel. In the current > > > > > > > implementation, this wasn't possible, because it was assumed even for > > > > > > > inflight jobs enabling the cycle counter and timestamp registers would > > > > > > > incur in additional power consumption, so both were kept disabled until > > > > > > > toggled through debugfs. > > > > > > > > > > > > > > A second read of the TRM made me think otherwise, but this is something > > > > > > > that would be best clarified by someone from ARM's side. > > > > > > > > > > > > I'm afraid I can't give a definitive answer. This will probably vary > > > > > > depending on implementation. The command register enables/disables > > > > > > "propagation" of the cycle/timestamp values. This propagation will cost > > > > > > some power (gates are getting toggled) but whether that power is > > > > > > completely in the noise of the GPU as a whole I can't say. > > > > > > > > > > > > The out-of-tree kbase driver only enables the counters for jobs > > > > > > explicitly marked (BASE_JD_REQ_PERMON) or due to an explicit connection > > > > > > from a profiler. > > > > > > > > > > > > I'd be happier moving the debugfs file to sysfs rather than assuming > > > > > > that the power consumption is small enough for all platforms. > > > > > > > > > > > > Ideally we'd have some sort of kernel interface for a profiler to inform > > > > > > the kernel what it is interested in, but I can't immediately see how to > > > > > > make that useful across different drivers. kbase's profiling support is > > > > > > great with our profiling tools, but there's a very strong connection > > > > > > between the two. > > > > > > > > > > Yeah I'm not sure whether a magic (worse probably per-driver massively > > > > > different) file in sysfs is needed to enable gpu perf monitoring stats in > > > > > fdinfo. > > > > > > > > > > I get that we do have a bit a gap because the linux perf pmu stuff is > > > > > global, and you want per-process, and there's kinda no per-process support > > > > > for perf stats for devices. But that's probably the direction we want to > > > > > go, not so much fdinfo. At least for hardware performance counters and > > > > > things like that. > > > > > > > > > > Iirc the i915 pmu support had some integration for per-process support, > > > > > you might want to chat with Tvrtko for kernel side and Lionel for more > > > > > userspace side. At least if I'm not making a complete mess and my memory > > > > > is vaguely related to reality. Adding them both. > > > > > > > > Yeah there are two separate things, i915 PMU and i915 Perf/OA. > > > > > > > > If my memory serves me right I indeed did have a per-process support for i915 > > > > PMU implemented as an RFC (or at least a branch somewhere) some years back. > > > > IIRC it only exposed the per engine GPU utilisation and did not find it very > > > > useful versus the complexity. (I think it at least required maintaining a map > > > > of drm clients per task.) > > > > > > > > Our more useful profiling is using a custom Perf/OA interface (Observation > > > > Architecture) which is possibly similar to kbase mentioned above. Why it is a > > > > custom interface is explained in a large comment on top of i915_perf.c. Not > > > > sure if all of them still hold but on the overall perf does not sound like the > > > > right fit for detailed GPU profiling. > > > > > > > > Also PMU drivers are very challenging to get the implementation right, since > > > > locking model and atomicity requirements are quite demanding. > > > > > > > > From my point of view, at least it is my initial thinking, if custom per > > > > driver solutions are strongly not desired, it could be interesting to look > > > > into whether there is enough commonality, in at least concepts, to see if a > > > > new DRM level common but extensible API would be doable. Even then it may be > > > > tricky to "extract" enough common code to justify it. > > > > > > > > Regards, > > > > > > > > Tvrtko > > > > > > > > > > > > > > Cheers, Sima > > > > > > > > > > > > > > > > > > > > > > Steve > > > > > > > > > > > > > Adrián Larumbe (1): > > > > > > > drm/panfrost: Always record job cycle and timestamp information > > > > > > > > > > > > > > drivers/gpu/drm/panfrost/Makefile | 2 -- > > > > > > > drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------ > > > > > > > drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------ > > > > > > > drivers/gpu/drm/panfrost/panfrost_device.h | 1 - > > > > > > > drivers/gpu/drm/panfrost/panfrost_drv.c | 5 ----- > > > > > > > drivers/gpu/drm/panfrost/panfrost_job.c | 24 ++++++++------------- > > > > > > > drivers/gpu/drm/panfrost/panfrost_job.h | 1 - > > > > > > > 7 files changed, 9 insertions(+), 59 deletions(-) > > > > > > > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c > > > > > > > delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h > > > > > > > > > > > > > > > > > > > > > base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918 > > > > > > > > > > > > > > > > -- > > > > > Daniel Vetter > > > > > Software Engineer, Intel Corporation > > > > > http://blog.ffwll.ch >