Skip to contentSkip to conversation

drm/amdgpu: remove amdgpu_pm_sysfs_init in ci_dpm.c

PATCH In review Rex Zhu 2 participants 2 messages Nov 17, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

PATCH 1/1 drm/amdgpu: remove amdgpu_pm_sysfs_init in ci_dpm.c

this function was called in amdgpu_device_init

Change-Id I69aa77ba7db41d2202c3d6ffd606965f0cad3106
---
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/ci_dpm.c +0 -5
index 5a60c16..b47da60 100644
@@ -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;
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1510906536-12494-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 4 lines · Rex Zhu

this function was called in amdgpu_device_init

Change-Id I69aa77ba7db41d2202c3d6ffd606965f0cad3106

Alex

Quoted 23 lines
---
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/ci_dpm.c +0 -6
index 5a60c16..b47da60 100644
@@ -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

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx