lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_PvHZweyud9FaZL2bve5ytqDgNSF0Dg9ux5=n8jHUK4nQ@mail.gmail.com>
Date:   Tue, 9 Jul 2019 00:36:48 -0400
From:   Alex Deucher <alexdeucher@...il.com>
To:     Paul Menzel <pmenzel+amd-gfx@...gen.mpg.de>
Cc:     Alex Deucher <alexander.deucher@....com>,
        Christian König <christian.koenig@....com>,
        "David (ChunMing) Zhou" <David1.Zhou@....com>,
        LKML <linux-kernel@...r.kernel.org>,
        amd-gfx list <amd-gfx@...ts.freedesktop.org>
Subject: Re: drm/amdgpu: Print out voltage in DM_PPLIB

On Mon, Jul 8, 2019 at 7:50 AM Paul Menzel
<pmenzel+amd-gfx@...gen.mpg.de> wrote:
>
> From: Paul Menzel <pmenzel@...gen.mpg.de>
> Date: Sun, 7 Jul 2019 14:23:08 +0200
>
> As the clock is already logged, also log the voltage.
>
> Signed-off-by: Paul Menzel <pmenzel@...gen.mpg.de>

Applied.  Thanks.

Alex

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> index 350e7a620d45..7fdf2f53c0ee 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> @@ -292,7 +292,7 @@ static void pp_to_dc_clock_levels_with_voltage(
>                         DC_DECODE_PP_CLOCK_TYPE(dc_clk_type));
>
>         for (i = 0; i < clk_level_info->num_levels; i++) {
> -               DRM_INFO("DM_PPLIB:\t %d in kHz\n", pp_clks->data[i].clocks_in_khz);
> +               DRM_INFO("DM_PPLIB:\t %d in kHz, %d in mV\n", pp_clks->data[i].clocks_in_khz,
> +                         pp_clks->data[i].voltage_in_mv);
>                 clk_level_info->data[i].clocks_in_khz = pp_clks->data[i].clocks_in_khz;
>                 clk_level_info->data[i].voltage_in_mv = pp_clks->data[i].voltage_in_mv;
>         }
> --
> 2.22.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ