]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/amd/powerplay: fix the incorrect checking condition
authorHuang Rui <ray.huang@amd.com>
Tue, 26 Jul 2016 08:42:11 +0000 (16:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:28 +0000 (11:32 -0400)
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c

index 9c6d7e3d5752453dbeca0997d79da85ea8c7f602..7ffbbef6063947d39e78f16f8c973a2fe6a95512 100644 (file)
@@ -4170,7 +4170,7 @@ int iceland_unforce_dpm_levels(struct pp_hwmgr *hwmgr)
                                                                return -1);
        }
 
-       if (0 == data->pcie_dpm_key_disabled) {
+       if (0 == data->mclk_dpm_key_disabled) {
                PP_ASSERT_WITH_CODE((0 == smum_send_msg_to_smc(
                                                             hwmgr->smumgr,
                                        PPSMC_MSG_MCLKDPM_NoForcedLevel)),