Skip to contentSkip to conversation

drm/amdgpu/pp: remove duplicate assignment

PATCH In review Alex Deucher 2 participants 2 messages May 21, 2018 – May 22, 2018 1 message not in the archive

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

PATCH 1/1 drm/amdgpu/pp: remove duplicate assignment

is_dpm_running callback was assigned to the same value twice. Drop the duplicate.

---
 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c +0 -1
index a40f7141131c..2de48959ac93 100644
@@ -2379,6 +2379,5 @@ const struct pp_smumgr_func vegam_smu_funcs = {
 	.update_sclk_threshold = vegam_update_sclk_threshold,
 	.is_hw_avfs_present = vegam_is_hw_avfs_present,
 	.thermal_avfs_enable = vegam_thermal_avfs_enable,
-	.is_dpm_running = vegam_is_dpm_running,
 	.thermal_setup_fan_table = vegam_thermal_setup_fan_table,
 };
Signature · 6 lines
2.13.6

_______________________________________________
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): 20180521151747.16239-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 14 lines · Alex Deucher

is_dpm_running callback was assigned to the same value twice. Drop the duplicate.

---
 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c +0 -0
index a40f7141131c..2de48959ac93 100644

drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c const struct pp_smumgr_func vegam_smu_funcs = { · line 2383

Quoted 6 lines
drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c +0 -1
@@ -2379,6 +2379,5 @@ const struct pp_smumgr_func vegam_smu_funcs = {
 	.update_sclk_threshold = vegam_update_sclk_threshold,
 	.is_hw_avfs_present = vegam_is_hw_avfs_present,
 	.thermal_avfs_enable = vegam_thermal_avfs_enable,
-	.is_dpm_running = vegam_is_dpm_running,
 	.thermal_setup_fan_table = vegam_thermal_setup_fan_table,
 };
Signature · 6 lines
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx