RE: [PATCH] drm/amdgpu: use amdgpu_ras.h in amdgpu_debugfs.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[AMD Official Use Only - Internal Distribution Only]

Reviewed-by: Tao Zhou <tao.zhou1@xxxxxxx>

> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of
> Stanley.Yang
> Sent: 2020年3月11日 14:38
> To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> Cc: Yang, Stanley <Stanley.Yang@xxxxxxx>; Clements, John
> <John.Clements@xxxxxxx>; Li, Dennis <Dennis.Li@xxxxxxx>; Chen,
> Guchun <Guchun.Chen@xxxxxxx>; Zhang, Hawking
> <Hawking.Zhang@xxxxxxx>
> Subject: [PATCH] drm/amdgpu: use amdgpu_ras.h in amdgpu_debugfs.c
> 
> include amdgpu_ras.h head file instead of use extern ras_debugfs_create_all
> function
> 
> Signed-off-by: Stanley.Yang <Stanley.Yang@xxxxxxx>
> Change-Id: I2697250ba67d4deac4371fea05efb68a976f7e5a
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
> index 1d513e4f9934..a9a278f87498 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
> @@ -34,6 +34,7 @@
>  #include "amdgpu.h"
>  #include "amdgpu_pm.h"
>  #include "amdgpu_dm_debugfs.h"
> +#include "amdgpu_ras.h"
> 
>  /**
>   * amdgpu_debugfs_add_files - Add simple debugfs entries @@ -1315,7
> +1316,6 @@ DEFINE_SIMPLE_ATTRIBUTE(fops_ib_preempt, NULL,
> DEFINE_SIMPLE_ATTRIBUTE(fops_sclk_set, NULL,
>  			amdgpu_debugfs_sclk_set, "%llu\n");
> 
> -extern void amdgpu_ras_debugfs_create_all(struct amdgpu_device *adev);
> int amdgpu_debugfs_init(struct amdgpu_device *adev)  {
>  	int r, i;
> --
> 2.17.1
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.f
> reedesktop.org%2Fmailman%2Flistinfo%2Famd-
> gfx&amp;data=02%7C01%7Ctao.zhou1%40amd.com%7C19bfa057da7740ca9
> 96f08d7c586b564%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C6
> 37195054687594420&amp;sdata=ZBvaPrTx9oUoGfltIm3JQEy5htUQYjXZqk0ju
> fcc98Q%3D&amp;reserved=0
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux