drm/amd/powerplay: fix incorrect voltage table value for polaris10
authorHuang Rui <ray.huang@amd.com>
Wed, 6 Jul 2016 01:31:35 +0000 (09:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Jul 2016 20:16:09 +0000 (16:16 -0400)
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c

index ec2a7ada346a74138401849aea3a1e225435ef16..5785dc2f5bca7b44f54b11ea4a041dd7c13052cd 100644 (file)
@@ -733,7 +733,7 @@ static int polaris10_populate_smc_mvdd_table(struct pp_hwmgr *hwmgr,
                        table->Smio[level] |=
                                data->mvdd_voltage_table.entries[level].smio_low;
                }
-               table->SmioMask2 = data->vddci_voltage_table.mask_low;
+               table->SmioMask2 = data->mvdd_voltage_table.mask_low;
 
                table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count);
        }