amd-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static
@ 2022-05-06 14:33 Alex Deucher
  2022-05-07  1:36 ` 答复: " Feng, Kenneth
  2022-05-07  6:25 ` Chen, Guchun
  0 siblings, 2 replies; 3+ messages in thread
From: Alex Deucher @ 2022-05-06 14:33 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher, kernel test robot

It's not used outside of the this file.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
index cf5800822174..9949ee3ae090 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
@@ -291,7 +291,7 @@ static int smu_v13_0_7_store_powerplay_table(struct smu_context *smu)
 	return 0;
 }
 
-int smu_v13_0_7_check_fw_status(struct smu_context *smu) {
+static int smu_v13_0_7_check_fw_status(struct smu_context *smu) {
 	struct amdgpu_device *adev = smu->adev;
 	uint32_t mp1_fw_flags;
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* 答复: [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static
  2022-05-06 14:33 [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static Alex Deucher
@ 2022-05-07  1:36 ` Feng, Kenneth
  2022-05-07  6:25 ` Chen, Guchun
  1 sibling, 0 replies; 3+ messages in thread
From: Feng, Kenneth @ 2022-05-07  1:36 UTC (permalink / raw)
  To: Deucher, Alexander, amd-gfx; +Cc: Deucher, Alexander, kernel test robot

[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]

[AMD Official Use Only - General]

Reviewed-by: Kenneth Feng <kenneth.feng@amd.com<mailto:kenneth.feng@amd.com>>

Best wishes
Kenneth Feng


发件人: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> 代表 Alex Deucher <alexander.deucher@amd.com>
日期: 星期五, 2022年5月6日 22:33
收件人: amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>
抄送: Deucher, Alexander <Alexander.Deucher@amd.com>, kernel test robot <lkp@intel.com>
主题: [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static
[CAUTION: External Email]

It's not used outside of the this file.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
index cf5800822174..9949ee3ae090 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
@@ -291,7 +291,7 @@ static int smu_v13_0_7_store_powerplay_table(struct smu_context *smu)
        return 0;
 }

-int smu_v13_0_7_check_fw_status(struct smu_context *smu) {
+static int smu_v13_0_7_check_fw_status(struct smu_context *smu) {
        struct amdgpu_device *adev = smu->adev;
        uint32_t mp1_fw_flags;

--
2.35.1

[-- Attachment #2: Type: text/html, Size: 6627 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static
  2022-05-06 14:33 [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static Alex Deucher
  2022-05-07  1:36 ` 答复: " Feng, Kenneth
@ 2022-05-07  6:25 ` Chen, Guchun
  1 sibling, 0 replies; 3+ messages in thread
From: Chen, Guchun @ 2022-05-07  6:25 UTC (permalink / raw)
  To: Deucher, Alexander, amd-gfx; +Cc: Deucher, Alexander, kernel test robot

Reviewed-by: Guchun Chen <guchun.chen@amd.com>

Regards,
Guchun

-----Original Message-----
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Alex Deucher
Sent: Friday, May 6, 2022 10:33 PM
To: amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; kernel test robot <lkp@intel.com>
Subject: [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static

It's not used outside of the this file.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
index cf5800822174..9949ee3ae090 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
@@ -291,7 +291,7 @@ static int smu_v13_0_7_store_powerplay_table(struct smu_context *smu)
 	return 0;
 }
 
-int smu_v13_0_7_check_fw_status(struct smu_context *smu) {
+static int smu_v13_0_7_check_fw_status(struct smu_context *smu) {
 	struct amdgpu_device *adev = smu->adev;
 	uint32_t mp1_fw_flags;
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-07  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 14:33 [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static Alex Deucher
2022-05-07  1:36 ` 答复: " Feng, Kenneth
2022-05-07  6:25 ` Chen, Guchun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).