All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Rex Zhu <Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
Cc: amd-gfx list <amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH 1/5] drm/amd/pp: Add hwmgr interface for edit dpm table
Date: Thu, 18 Jan 2018 11:40:49 -0500	[thread overview]
Message-ID: <CADnq5_MiFT8Q_BZQ7i2Sg8Ck0O1X_QihtjKs2Qrv_s9BT2AfNA@mail.gmail.com> (raw)
In-Reply-To: <1516264682-10037-2-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>

On Thu, Jan 18, 2018 at 3:37 AM, Rex Zhu <Rex.Zhu@amd.com> wrote:
> Add odn_edit_dpm_table function
> points for setting user assigned clock/voltage.
>
> Change-Id: I7e49ffdc30b77d07b46bf12ebb275fa0ff901588
> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  drivers/gpu/drm/amd/include/kgd_pp_interface.h | 6 ++++++
>  drivers/gpu/drm/amd/powerplay/inc/hwmgr.h      | 3 +++
>  2 files changed, 9 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
> index 103837c..3e8b9cc 100644
> --- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h
> +++ b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
> @@ -161,6 +161,12 @@ enum {
>         PP_GROUP_MAX
>  };
>
> +enum PP_ODN_DPM_TABLE_TYPE {
> +       PP_ODN_SCLK_VDDC_TABLE,
> +       PP_ODN_MCLK_VDDC_TABLE,
> +       PP_ODN_RESET_DEFAULT_TABLE
> +};
> +
>  struct pp_states_info {
>         uint32_t nums;
>         uint32_t states[16];
> diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> index 7caab09..47afbca 100644
> --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> @@ -345,6 +345,9 @@ struct pp_hwmgr_func {
>                                         struct PP_TemperatureRange *range);
>         int (*get_power_profile_mode)(struct pp_hwmgr *hwmgr, char *buf);
>         int (*set_power_profile_mode)(struct pp_hwmgr *hwmgr, long *input, uint32_t size);
> +       int (*odn_edit_dpm_table)(struct pp_hwmgr *hwmgr,
> +                                       enum PP_ODN_DPM_TABLE_TYPE type,
> +                                       long *input, uint32_t size);
>  };
>
>  struct pp_table_func {
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2018-01-18 16:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18  8:37 [PATCH 0/5] Add sysfs to support OverDrive feature Rex Zhu
     [not found] ` <1516264682-10037-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2018-01-18  8:37   ` [PATCH 1/5] drm/amd/pp: Add hwmgr interface for edit dpm table Rex Zhu
     [not found]     ` <1516264682-10037-2-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2018-01-18 16:40       ` Alex Deucher [this message]
2018-01-18  8:37   ` [PATCH 2/5] drm/amd/pp: Add edit/commit/show OD clock/voltage support in sysfs Rex Zhu
     [not found]     ` <1516264682-10037-3-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2018-01-18 16:41       ` Alex Deucher
2018-01-18  8:38   ` [PATCH 3/5] drm/amd/pp: Implement edit_dpm_table on smu7 Rex Zhu
     [not found]     ` <1516264682-10037-4-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2018-01-18 16:34       ` Alex Deucher
2018-01-18  8:38   ` [PATCH 4/5] drm/amd/pp: Update smu7 dpm table with OD clock/voltage Rex Zhu
     [not found]     ` <1516264682-10037-5-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2018-01-18 16:41       ` Alex Deucher
2018-01-18  8:38   ` [PATCH 5/5] drm/amd/pp: Add update_avfs call when set_power_state Rex Zhu
     [not found]     ` <1516264682-10037-6-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2018-01-18 16:40       ` Alex Deucher

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=CADnq5_MiFT8Q_BZQ7i2Sg8Ck0O1X_QihtjKs2Qrv_s9BT2AfNA@mail.gmail.com \
    --to=alexdeucher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=Rex.Zhu-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.