]> git.hungrycats.org Git - linux/commitdiff
drm/amd/powerplay: fix incorrect voltage table value for tonga
authorHuang Rui <ray.huang@amd.com>
Wed, 6 Jul 2016 01:32:24 +0000 (09:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 15:42:19 +0000 (08:42 -0700)
commit 1dfefee8939b07dd65a35bb78f6a06df85578301 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c

index 0d5d8372953ee21363c83faf9beec4056d8c2f13..aae2e8ec05429c0c08a60b3e26adab864818e7d2 100644 (file)
@@ -1298,7 +1298,7 @@ static int tonga_populate_smc_mvdd_table(struct pp_hwmgr *hwmgr,
                        table->Smio[count] |=
                                data->mvdd_voltage_table.entries[count].smio_low;
                }
-               table->SmioMask2 = data->vddci_voltage_table.mask_low;
+               table->SmioMask2 = data->mvdd_voltage_table.mask_low;
 
                CONVERT_FROM_HOST_TO_SMC_UL(table->MvddLevelCount);
        }