All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/pm: remove some useless code for vangogh
@ 2021-02-01  8:45 Xiaojian Du
  2021-02-01  8:50 ` Wang, Kevin(Yang)
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Xiaojian Du @ 2021-02-01  8:45 UTC (permalink / raw)
  To: amd-gfx; +Cc: kevin1.wang, ray.huang, Xiaojian Du, evan.quan

This patch is to remove some useless code for vangogh.
In the earlier code, vangogh can't finish all the sequence of
smu late init. But now vangogh has one stable work state,so
remove the useless code.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
index f958b02f9317..30e2a0ac3279 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@ -612,9 +612,6 @@ static int smu_late_init(void *handle)
 		return ret;
 	}
 
-	if (adev->asic_type == CHIP_VANGOGH)
-		return 0;
-
 	ret = smu_set_default_od_settings(smu);
 	if (ret) {
 		dev_err(adev->dev, "Failed to setup default OD settings!\n");
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2021-02-01  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01  8:45 [PATCH] drm/amd/pm: remove some useless code for vangogh Xiaojian Du
2021-02-01  8:50 ` Wang, Kevin(Yang)
2021-02-01  9:03 ` Huang Rui
2021-02-01  9:10 ` Quan, Evan

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.