From: "André Almeida" <andrealmeid@igalia.com>
To: "Alex Deucher" <alexander.deucher@amd.com>,
"'Christian König'" <christian.koenig@amd.com>,
"'Pan Xinhui'" <Xinhui.Pan@amd.com>,
"David Airlie" <airlied@linux.ie>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Hawking Zhang" <Hawking.Zhang@amd.com>,
"Tao Zhou" <tao.zhou1@amd.com>,
"Felix Kuehling" <Felix.Kuehling@amd.com>,
"Jack Xiao" <Jack.Xiao@amd.com>,
amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org,
"Tom St Denis" <tom.stdenis@amd.com>,
"Rodrigo Siqueira" <Rodrigo.Siqueira@amd.com>
Cc: kernel-dev@igalia.com, "André Almeida" <andrealmeid@igalia.com>
Subject: [PATCH 3/4] Documentation/gpu: Document GFXOFF's count and residency
Date: Fri, 22 Jul 2022 17:33:46 -0300 [thread overview]
Message-ID: <20220722203347.70176-4-andrealmeid@igalia.com> (raw)
In-Reply-To: <20220722203347.70176-1-andrealmeid@igalia.com>
Add documentation explaining those two new files.
Signed-off-by: André Almeida <andrealmeid@igalia.com>
---
Documentation/gpu/amdgpu/thermal.rst | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Documentation/gpu/amdgpu/thermal.rst b/Documentation/gpu/amdgpu/thermal.rst
index 997231b6adcf..c31f94c6c681 100644
--- a/Documentation/gpu/amdgpu/thermal.rst
+++ b/Documentation/gpu/amdgpu/thermal.rst
@@ -104,3 +104,17 @@ Read it to check current GFXOFF's status of a GPU::
If GFXOFF is enabled, the value will be transitioning around [0, 3], always
getting into 0 when possible. When it's disabled, it's always at 2. Returns
``-EINVAL`` if it's not supported.
+
+``amdgpu_gfxoff_count``
+-----------------------
+
+Read it to get the total GFXOFF entry count at the time of query since system
+power-up. *Only supported in vangogh*
+
+``amdgpu_gfxoff_residency``
+---------------------------
+
+Write 1 to amdgpu_gfxoff_residency to start logging, and 0 to stop. Read it to
+get average GFXOFF residency % multiplied by 100 during the last logging
+interval. E.g. a value of 7854 means 78.54% of the time in the last logging
+interval the GPU was in GFXOFF mode. *Only supported in vangogh*
--
2.37.1
next prev parent reply other threads:[~2022-07-22 20:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-22 20:33 [PATCH 0/4] drm/amd: Add more GFXOFF stats for vangogh André Almeida
2022-07-22 20:33 ` [PATCH 1/4] drm/amd: Add detailed GFXOFF stats to debugfs André Almeida
2022-07-25 10:27 ` Quan, Evan
2022-07-25 13:04 ` André Almeida
2022-07-25 16:15 ` André Almeida
2022-07-26 3:03 ` Quan, Evan
2022-07-26 13:29 ` Alex Deucher
2022-07-22 20:33 ` [PATCH 2/4] drm/amd/pm: Implement GFXOFF's entry count and residency for vangogh André Almeida
2022-07-22 20:33 ` André Almeida [this message]
2022-07-22 20:33 ` [PATCH 4/4] drm/amdgpu: Document gfx_off members of struct amdgpu_gfx André Almeida
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220722203347.70176-4-andrealmeid@igalia.com \
--to=andrealmeid@igalia.com \
--cc=Felix.Kuehling@amd.com \
--cc=Hawking.Zhang@amd.com \
--cc=Jack.Xiao@amd.com \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel-dev@igalia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tao.zhou1@amd.com \
--cc=tom.stdenis@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®