File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
drivers/gpu/drm/amd/powerplay/hwmgr Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1436,9 +1436,7 @@ static int vega10_populate_ulv_state(struct pp_hwmgr *hwmgr)
1436
1436
(struct phm_ppt_v2_information * )(hwmgr -> pptable );
1437
1437
1438
1438
data -> smc_state_table .pp_table .UlvOffsetVid =
1439
- (uint8_t )(table_info -> us_ulv_voltage_offset *
1440
- VOLTAGE_VID_OFFSET_SCALE2 /
1441
- VOLTAGE_VID_OFFSET_SCALE1 );
1439
+ (uint8_t )table_info -> us_ulv_voltage_offset ;
1442
1440
1443
1441
data -> smc_state_table .pp_table .UlvSmnclkDid =
1444
1442
(uint8_t )(table_info -> us_ulv_smnclk_did );
@@ -2342,6 +2340,7 @@ static int vega10_init_smc_table(struct pp_hwmgr *hwmgr)
2342
2340
(uint8_t )(table_info -> uc_vce_dpm_voltage_mode );
2343
2341
pp_table -> Mp0DpmVoltageMode =
2344
2342
(uint8_t )(table_info -> uc_mp0_dpm_voltage_mode );
2343
+
2345
2344
pp_table -> DisplayDpmVoltageMode =
2346
2345
(uint8_t )(table_info -> uc_dcef_dpm_voltage_mode );
2347
2346
You can’t perform that action at this time.
0 commit comments