Skip to contentSkip to conversation

drm/amdgpu: miss to remove pp_sclk file

PATCH In review Yintian Tao 4 participants 4 messages Feb 27, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: miss to remove pp_sclk file

Miss to remove pp_sclk file

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +1 -0
index 9deff8cc9723..a43fc1c8ffd0 100644
@@ -3471,6 +3471,7 @@ void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev)
 	device_remove_file(adev->dev, &dev_attr_pp_cur_state);
 	device_remove_file(adev->dev, &dev_attr_pp_force_state);
 	device_remove_file(adev->dev, &dev_attr_pp_table);
+	device_remove_file(adev->dev, &dev_attr_pp_sclk);
 
 	device_remove_file(adev->dev, &dev_attr_pp_dpm_sclk);
 	device_remove_file(adev->dev, &dev_attr_pp_dpm_mclk);
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
maintainer Acked-by on v1 1/1
#1 lore raw

Am 27.02.20 um 15:11 schrieb Yintian Tao:

Quoted 3 lines

Miss to remove pp_sclk file

Looks reasonable to me, but Alex can probably better judge.

Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +0 -0
index 9deff8cc9723..a43fc1c8ffd0 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev) · line 3477

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +1 -0
@@ -3471,6 +3471,7 @@ void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev)
  	device_remove_file(adev->dev, &dev_attr_pp_cur_state);
  	device_remove_file(adev->dev, &dev_attr_pp_force_state);
  	device_remove_file(adev->dev, &dev_attr_pp_table);
+	device_remove_file(adev->dev, &dev_attr_pp_sclk);
 
  	device_remove_file(adev->dev, &dev_attr_pp_dpm_sclk);
  	device_remove_file(adev->dev, &dev_attr_pp_dpm_mclk);

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

Acked-by Christian König
#2 lore raw

Hi Christian

Thanks a lot for your review

Hi Alex

Can you help to review it? Thanks in advance.

Best Regards
Yintian Tao
-----Original Message-----
From: Koenig, Christian <[email protected]>
Sent: 2020年2月27日 22:18
To: Tao, Yintian <[email protected]>; Deucher, Alexander <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] drm/amdgpu: miss to remove pp_sclk file

Am 27.02.20 um 15:11 schrieb Yintian Tao:

Quoted 3 lines

Miss to remove pp_sclk file

Looks reasonable to me, but Alex can probably better judge.

Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +0 -0
index 9deff8cc9723..a43fc1c8ffd0 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev) · line 3477

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +1 -0
@@ -3471,6 +3471,7 @@ void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev)
  	device_remove_file(adev->dev, &dev_attr_pp_cur_state);
  	device_remove_file(adev->dev, &dev_attr_pp_force_state);
  	device_remove_file(adev->dev, &dev_attr_pp_table);
+	device_remove_file(adev->dev, &dev_attr_pp_sclk);
 
  	device_remove_file(adev->dev, &dev_attr_pp_dpm_sclk);
  	device_remove_file(adev->dev, &dev_attr_pp_dpm_mclk);

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

Reviewed-by on v1 1/1
#3 lore raw
In reply to Yintian Tao
Quoted 4 lines · Yintian Tao

Miss to remove pp_sclk file

Quoted 19 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +1 -1
index 9deff8cc9723..a43fc1c8ffd0 100644
@@ -3471,6 +3471,7 @@ void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev)
        device_remove_file(adev->dev, &dev_attr_pp_cur_state);
        device_remove_file(adev->dev, &dev_attr_pp_force_state);
        device_remove_file(adev->dev, &dev_attr_pp_table);
+       device_remove_file(adev->dev, &dev_attr_pp_sclk);
 
        device_remove_file(adev->dev, &dev_attr_pp_dpm_sclk);
        device_remove_file(adev->dev, &dev_attr_pp_dpm_mclk);
--

2.17.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