diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si_dpm.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si_dpm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c index 9b8db6046271..51fd0c9a20a5 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c +++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c | |||
@@ -7604,11 +7604,6 @@ static int si_dpm_late_init(void *handle) | |||
7604 | if (!amdgpu_dpm) | 7604 | if (!amdgpu_dpm) |
7605 | return 0; | 7605 | return 0; |
7606 | 7606 | ||
7607 | /* init the sysfs and debugfs files late */ | ||
7608 | ret = amdgpu_pm_sysfs_init(adev); | ||
7609 | if (ret) | ||
7610 | return ret; | ||
7611 | |||
7612 | ret = si_set_temperature_range(adev); | 7607 | ret = si_set_temperature_range(adev); |
7613 | if (ret) | 7608 | if (ret) |
7614 | return ret; | 7609 | return ret; |
@@ -7764,7 +7759,6 @@ static int si_dpm_sw_fini(void *handle) | |||
7764 | flush_work(&adev->pm.dpm.thermal.work); | 7759 | flush_work(&adev->pm.dpm.thermal.work); |
7765 | 7760 | ||
7766 | mutex_lock(&adev->pm.mutex); | 7761 | mutex_lock(&adev->pm.mutex); |
7767 | amdgpu_pm_sysfs_fini(adev); | ||
7768 | si_dpm_fini(adev); | 7762 | si_dpm_fini(adev); |
7769 | mutex_unlock(&adev->pm.mutex); | 7763 | mutex_unlock(&adev->pm.mutex); |
7770 | 7764 | ||