All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Coffin <mcoffin13-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	Evan.Quan-5C7GfCeVMHo@public.gmane.org
Cc: Alexander.Deucher-5C7GfCeVMHo@public.gmane.org,
	Matt Coffin <mcoffin13-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH v2 0/3] navi10: Implement overdrive pp_od_clk_voltage
Date: Fri,  8 Nov 2019 14:28:05 -0700	[thread overview]
Message-ID: <cover.1573248368.git.mcoffin13@gmail.com> (raw)

[Why]
Before this patchset, navi10 users could not utilize the overdrive
functionality. This prevented them from overclocking, overvolting, or
undervolting their cards.

[How]
Similar to the vega20 implementation, add the pp_od_clk_voltage
interface to the navi10 powerplay table.

[Possible Alternatives]
This could also be done more generically in smu_v11_0 code, but would
require more significant changes to the vega20 code, and feature-gating
based on chip capabilities in the smu to disable overdrive for arcterus.
I chose this path so as not to completely refactor the vega20 side of
things, and introduce SMU code which would not play nicely with new
ASICs.

v2: rebase off latest code, and remove an incorrect bounds check

Matt Coffin (3):
  drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltage
  drm/amdgpu/navi10: implement GFXCLK_CURVE overdrive
  drm/amdgpu/navi10: Implement od clk printing

 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h |   2 +
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c    | 282 ++++++++++++++++++
 drivers/gpu/drm/amd/powerplay/navi10_ppt.h    |   2 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c     |  27 ++
 4 files changed, 313 insertions(+)

-- 
2.23.0

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

WARNING: multiple messages have this Message-ID (diff)
From: Matt Coffin <mcoffin13@gmail.com>
To: amd-gfx@lists.freedesktop.org, Evan.Quan@amd.com
Cc: Alexander.Deucher@amd.com, Matt Coffin <mcoffin13@gmail.com>
Subject: [PATCH v2 0/3] navi10: Implement overdrive pp_od_clk_voltage
Date: Fri,  8 Nov 2019 14:28:05 -0700	[thread overview]
Message-ID: <cover.1573248368.git.mcoffin13@gmail.com> (raw)
Message-ID: <20191108212805.t935wmltZhHAAW0bIi2DL7GN6Bpsh1CMqr-OvY17ttM@z> (raw)

[Why]
Before this patchset, navi10 users could not utilize the overdrive
functionality. This prevented them from overclocking, overvolting, or
undervolting their cards.

[How]
Similar to the vega20 implementation, add the pp_od_clk_voltage
interface to the navi10 powerplay table.

[Possible Alternatives]
This could also be done more generically in smu_v11_0 code, but would
require more significant changes to the vega20 code, and feature-gating
based on chip capabilities in the smu to disable overdrive for arcterus.
I chose this path so as not to completely refactor the vega20 side of
things, and introduce SMU code which would not play nicely with new
ASICs.

v2: rebase off latest code, and remove an incorrect bounds check

Matt Coffin (3):
  drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltage
  drm/amdgpu/navi10: implement GFXCLK_CURVE overdrive
  drm/amdgpu/navi10: Implement od clk printing

 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h |   2 +
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c    | 282 ++++++++++++++++++
 drivers/gpu/drm/amd/powerplay/navi10_ppt.h    |   2 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c     |  27 ++
 4 files changed, 313 insertions(+)

-- 
2.23.0

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

             reply	other threads:[~2019-11-08 21:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-08 21:28 Matt Coffin [this message]
2019-11-08 21:28 ` [PATCH v2 0/3] navi10: Implement overdrive pp_od_clk_voltage Matt Coffin
     [not found] ` <cover.1573248368.git.mcoffin13-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-11-08 21:28   ` [PATCH v2 1/3] drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltage Matt Coffin
2019-11-08 21:28     ` Matt Coffin
2019-11-08 21:28   ` [PATCH v2 2/3] drm/amdgpu/navi10: implement GFXCLK_CURVE overdrive Matt Coffin
2019-11-08 21:28     ` Matt Coffin
2019-11-08 21:28   ` [PATCH v2 3/3] drm/amdgpu/navi10: Implement od clk printing Matt Coffin
2019-11-08 21:28     ` Matt Coffin
2019-11-11  4:16   ` [PATCH v2 0/3] navi10: Implement overdrive pp_od_clk_voltage Quan, Evan
2019-11-11  4:16     ` Quan, Evan
2019-11-11 17:39   ` Alex Deucher
2019-11-11 17:39     ` Alex Deucher
     [not found]     ` <CADnq5_MXWLkDoAwc8w=jB4uRuyd=JSuW=f0BbFXs1Dx8LwKh6g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-11-11 18:22       ` [PATCH v2 1/3] drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltage Matt Coffin
2019-11-11 18:22         ` Matt Coffin
     [not found]         ` <25bbc1b19042f74f1429da25e552ce71a68de92e.1573496261.git.mcoffin13-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-11-11 18:22           ` [PATCH v2 2/3] drm/amdgpu/navi10: implement GFXCLK_CURVE overdrive Matt Coffin
2019-11-11 18:22             ` Matt Coffin
2019-11-11 18:22           ` [PATCH v2 3/3] drm/amdgpu/navi10: Implement od clk printing Matt Coffin
2019-11-11 18:22             ` Matt Coffin

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=cover.1573248368.git.mcoffin13@gmail.com \
    --to=mcoffin13-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=Alexander.Deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=Evan.Quan-5C7GfCeVMHo@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.