From: "Helen Mae Koike Fornazier" <helen.koike@collabora.com>
To: "Arvind Yadav" <Arvind.Yadav@amd.com>
Cc: Christian.Koenig@amd.com, alexander.deucher@amd.com,
shashank.sharma@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com,
daniel@ffwll.ch, Felix.Kuehling@amd.com,
amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v3 0/7] GPU workload hints for better performance
Date: Mon, 28 Aug 2023 16:43:49 +0100 [thread overview]
Message-ID: <7d09-64ecc080-1-3ebc5780@85497443> (raw)
In-Reply-To: <20230828122614.3815122-1-Arvind.Yadav@amd.com>
On Monday, August 28, 2023 09:26 -03, Arvind Yadav <Arvind.Yadav@amd.com> wrote:
> AMDGPU SOCs supports dynamic workload based power profiles, which can
> provide fine-tuned performance for a particular type of workload.
> This patch series adds an interface to set/reset these power profiles
> based on the submitted job. The driver can dynamically switch
> the power profiles based on submitted job. This can optimize the power
> performance when the particular workload is on.
Hi Arvind,
Would you mind to test your patchset with drm-ci ? There is a amdgpu
test there and I would love to get your feedback of the ci.
You basically just need to apply the ci patch which is available on
https://cgit.freedesktop.org/drm/drm/log/?h=topic/drm-ci
There are instruction on the docs, but in short: to configure it, you push
your branch to gitlab.freedesktop.org, go to the settings and change the
CI/CD configuration file from .gitlab-ci.yml to drivers/gpu/drm/ci/gitlab-ci.yml,
and you can trigger a pipeline on your branch to get tests running.
(by the time of this writing, gitlab.fdo is under maintenance but should
be up soonish).
Thank you!
Helen
>
> v2:
> - Splitting workload_profile_set and workload_profile_put
> into two separate patches.
> - Addressed review comment.
> - Added new suspend function.
> - Added patch to switches the GPU workload mode for KFD.
>
> v3:
> - Addressed all review comment.
> - Changed the function name from *_set() to *_get().
> - Now clearing all the profile in work handler.
> - Added *_clear_all function to clear all the power profile.
>
>
> Arvind Yadav (7):
> drm/amdgpu: Added init/fini functions for workload
> drm/amdgpu: Add new function to set GPU power profile
> drm/amdgpu: Add new function to put GPU power profile
> drm/amdgpu: Add suspend function to clear the GPU power profile.
> drm/amdgpu: Set/Reset GPU workload profile
> drm/amdgpu: switch workload context to/from compute
> Revert "drm/amd/amdgpu: switch on/off vcn power profile mode"
>
> drivers/gpu/drm/amd/amdgpu/Makefile | 2 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 8 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 5 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 14 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_workload.c | 226 ++++++++++++++++++
> drivers/gpu/drm/amd/include/amdgpu_workload.h | 61 +++++
> 8 files changed, 309 insertions(+), 16 deletions(-)
> create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_workload.c
> create mode 100644 drivers/gpu/drm/amd/include/amdgpu_workload.h
>
> --
> 2.34.1
>
next prev parent reply other threads:[~2023-08-28 15:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 12:26 [PATCH v3 0/7] GPU workload hints for better performance Arvind Yadav
2023-08-28 12:26 ` [PATCH v3 1/7] drm/amdgpu: Added init/fini functions for workload Arvind Yadav
2023-08-28 12:26 ` [PATCH v3 2/7] drm/amdgpu: Add new function to set GPU power profile Arvind Yadav
2023-08-28 12:26 ` [PATCH v3 3/7] drm/amdgpu: Add new function to put " Arvind Yadav
2023-08-28 12:26 ` [PATCH v3 4/7] drm/amdgpu: Add suspend function to clear the " Arvind Yadav
2023-08-28 12:26 ` [PATCH v3 5/7] drm/amdgpu: Set/Reset GPU workload profile Arvind Yadav
2023-08-29 8:37 ` Christian König
2023-08-28 12:26 ` [PATCH v3 6/7] drm/amdgpu: switch workload context to/from compute Arvind Yadav
2023-08-28 12:26 ` [PATCH v3 7/7] Revert "drm/amd/amdgpu: switch on/off vcn power profile mode" Arvind Yadav
2023-08-28 15:02 ` [PATCH v3 0/7] GPU workload hints for better performance Lazar, Lijo
2023-08-30 15:19 ` Michel Dänzer
2023-08-28 15:43 ` Helen Mae Koike Fornazier [this message]
2023-08-28 20:14 ` Yadav, Arvind
2023-08-28 20:22 ` Helen Koike
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=7d09-64ecc080-1-3ebc5780@85497443 \
--to=helen.koike@collabora.com \
--cc=Arvind.Yadav@amd.com \
--cc=Christian.Koenig@amd.com \
--cc=Felix.Kuehling@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shashank.sharma@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