Browse Source

amd/powerplay: fix copy paste typo in hardwaremanager.c

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Alex Deucher 9 years ago
parent
commit
eafbbd9883
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c

+ 1 - 1
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c

@@ -212,7 +212,7 @@ int phm_notify_smc_display_config_after_ps_adjustment(struct pp_hwmgr *hwmgr)
 
 
 	if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps,
 	if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps,
 				 PHM_PlatformCaps_TablelessHardwareInterface))
 				 PHM_PlatformCaps_TablelessHardwareInterface))
-		if (NULL != hwmgr->hwmgr_func->display_config_changed)
+		if (NULL != hwmgr->hwmgr_func->notify_smc_display_config_after_ps_adjustment)
 			hwmgr->hwmgr_func->notify_smc_display_config_after_ps_adjustment(hwmgr);
 			hwmgr->hwmgr_func->notify_smc_display_config_after_ps_adjustment(hwmgr);
 
 
 	return 0;
 	return 0;