[PATCH] drm/amdgpu: remove amdgpu_pm_sysfs_init in ci_dpm.c

Rex Zhu Rex.Zhu at amd.com
Fri Nov 17 08:15:36 UTC 2017


this function was called in amdgpu_device_init

Change-Id: I69aa77ba7db41d2202c3d6ffd606965f0cad3106
Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
index 5a60c16..b47da60 100644
--- a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
+++ b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
@@ -6294,11 +6294,6 @@ static int ci_dpm_late_init(void *handle)
 	if (!amdgpu_dpm)
 		return 0;
 
-	/* init the sysfs and debugfs files late */
-	ret = amdgpu_pm_sysfs_init(adev);
-	if (ret)
-		return ret;
-
 	ret = ci_set_temperature_range(adev);
 	if (ret)
 		return ret;
-- 
1.9.1



More information about the amd-gfx mailing list