[PATCH -next] amdgpu: fix Documentation builds for pm/ file movement

Alex Deucher alexdeucher at gmail.com
Mon Aug 24 14:59:46 UTC 2020


Applied.  Thanks!

Alex

On Sun, Aug 23, 2020 at 11:00 PM Quan, Evan <Evan.Quan at amd.com> wrote:
>
> [AMD Official Use Only - Internal Distribution Only]
>
> Thanks for fixing this. The patch is reviewed-by: Evan Quan <evan.quan at amd.com>
>
> BR
> Evan
> -----Original Message-----
> From: Randy Dunlap <rdunlap at infradead.org>
> Sent: Monday, August 24, 2020 6:36 AM
> To: dri-devel <dri-devel at lists.freedesktop.org>; LKML <linux-kernel at vger.kernel.org>; amd-gfx at lists.freedesktop.org; Deucher, Alexander <Alexander.Deucher at amd.com>
> Cc: Quan, Evan <Evan.Quan at amd.com>; Stephen Rothwell <sfr at canb.auug.org.au>
> Subject: [PATCH -next] amdgpu: fix Documentation builds for pm/ file movement
>
> From: Randy Dunlap <rdunlap at infradead.org>
>
> Fix Documentation errors for amdgpu.rst due to file rename (moved to another subdirectory).
>
> Error: Cannot open file ../drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -function hwmon ../drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c' failed with return code 1
>
> Fixes: e098bc9612c2 ("drm/amd/pm: optimize the power related source code layout")
> Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
> Cc: Evan Quan <evan.quan at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> ---
>  Documentation/gpu/amdgpu.rst |   24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
>
> --- linux-next-20200821.orig/Documentation/gpu/amdgpu.rst
> +++ linux-next-20200821/Documentation/gpu/amdgpu.rst
> @@ -153,7 +153,7 @@ This section covers hwmon and power/ther  HWMON Interfaces
>  ----------------
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: hwmon
>
>  GPU sysfs Power State Interfaces
> @@ -164,52 +164,52 @@ GPU power controls are exposed via sysfs  power_dpm_state  ~~~~~~~~~~~~~~~
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: power_dpm_state
>
>  power_dpm_force_performance_level
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: power_dpm_force_performance_level
>
>  pp_table
>  ~~~~~~~~
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: pp_table
>
>  pp_od_clk_voltage
>  ~~~~~~~~~~~~~~~~~
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: pp_od_clk_voltage
>
>  pp_dpm_*
>  ~~~~~~~~
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: pp_dpm_sclk pp_dpm_mclk pp_dpm_socclk pp_dpm_fclk pp_dpm_dcefclk pp_dpm_pcie
>
>  pp_power_profile_mode
>  ~~~~~~~~~~~~~~~~~~~~~
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: pp_power_profile_mode
>
>  *_busy_percent
>  ~~~~~~~~~~~~~~
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: gpu_busy_percent
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: mem_busy_percent
>
>  gpu_metrics
>  ~~~~~~~~~~~~~~~~~~~~~
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: gpu_metrics
>
>  GPU Product Information
> @@ -239,7 +239,7 @@ serial_number
>  unique_id
>  ---------
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: unique_id
>
>  GPU Memory Usage Information
> @@ -289,7 +289,7 @@ PCIe Accounting Information  pcie_bw
>  -------
>
> -.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
>     :doc: pcie_bw
>
>  pcie_replay_count
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list