amd/powerplay: fix copy paste typo in hardwaremanager.c
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 22:13:05 +0000 (17:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 22:13:05 +0000 (17:13 -0500)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c

index 0fddac9f7cb4ced69ed0188b752db6f61d0020cb..001b8bb4143d3bafe1349344e1406aff6fa4f431 100644 (file)
@@ -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,
                                 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);
 
        return 0;