/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_cdclk.c | 475 cdclk_state->voltage_level = (val & DSPFREQGUAR_MASK) >> in vlv_get_cdclk() 478 cdclk_state->voltage_level = (val & DSPFREQGUAR_MASK_CHV) >> in vlv_get_cdclk() 522 u32 val, cmd = cdclk_state->voltage_level; in vlv_set_cdclk() 603 u32 val, cmd = cdclk_state->voltage_level; in chv_set_cdclk() 693 cdclk_state->voltage_level = in bdw_get_cdclk() 766 cdclk_state->voltage_level); in bdw_set_cdclk() 912 cdclk_state->voltage_level = in skl_get_cdclk() 1076 cdclk_state->voltage_level); in skl_set_cdclk() 1157 cdclk_state.voltage_level = skl_calc_voltage_level(cdclk_state.cdclk); in skl_init_cdclk() 1175 cdclk_state.voltage_level = skl_calc_voltage_level(cdclk_state.cdclk); in skl_uninit_cdclk() [all …]
|
D | i915_drv.h | 1551 u8 voltage_level; member
|
D | intel_display.c | 12268 intel_state->cdclk.logical.voltage_level, in intel_modeset_checks() 12269 intel_state->cdclk.actual.voltage_level); in intel_modeset_checks()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calcs.c | 471 input.clks_cfg.voltage = v->voltage_level; in dcn_bw_calc_rq_dlg_ttu() 533 if (v->voltage_level < 2) { 563 if (v->voltage_level < 3) { 587 v->fabric_and_dram_bandwidth = v->fabric_and_dram_bandwidth_per_state[v->voltage_level]; 591 v->dcfclk = v->dcfclk_per_state[v->voltage_level]; 602 if (v->voltage_level >= 2) { 606 if (v->voltage_level >= 3) 986 if (v->voltage_level != 0 in dcn_validate_bandwidth() 993 if (v->voltage_level == 0 && in dcn_validate_bandwidth() 1007 if (v->voltage_level != 5) { in dcn_validate_bandwidth() [all …]
|
D | dcn_calc_auto.c | 975 v->voltage_level = v->voltage_level_without_immediate_flip; in mode_support_and_system_configuration() 979 v->voltage_level = v->voltage_level_with_immediate_flip; in mode_support_and_system_configuration() 981 v->dcfclk = v->dcfclk_per_state[v->voltage_level]; in mode_support_and_system_configuration() 982 v->fabric_and_dram_bandwidth = v->fabric_and_dram_bandwidth_per_state[v->voltage_level]; in mode_support_and_system_configuration() 984 v->required_dispclk_per_ratio[j] = v->required_dispclk[v->voltage_level][j]; in mode_support_and_system_configuration() 986 v->dpp_per_plane_per_ratio[j][k] = v->no_of_dpp[v->voltage_level][j][k]; in mode_support_and_system_configuration() 988 v->dispclk_dppclk_support_per_ratio[j] = v->dispclk_dppclk_support[v->voltage_level][j]; in mode_support_and_system_configuration() 990 v->max_phyclk = v->phyclk_per_state[v->voltage_level]; in mode_support_and_system_configuration()
|
/Linux-v4.19/drivers/gpu/drm/msm/edp/ |
D | edp_ctrl.c | 476 u8 voltage_level, u8 pre_emphasis_level) in edp_lane_set_write() argument 481 if (voltage_level >= DPCD_LINK_VOLTAGE_MAX) in edp_lane_set_write() 482 voltage_level |= 0x04; in edp_lane_set_write() 490 buf[i] = voltage_level | pre_emphasis_level; in edp_lane_set_write() 492 DBG("%s: p|v=0x%x", __func__, voltage_level | pre_emphasis_level); in edp_lane_set_write()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/ |
D | dcn_calcs.h | 211 int voltage_level; member
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_atombios.c | 3104 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type) in radeon_atom_set_voltage() argument 3108 u8 frev, crev, volt_index = voltage_level; in radeon_atom_set_voltage() 3114 if (voltage_level == 0xff01) in radeon_atom_set_voltage() 3126 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_set_voltage() 3131 args.v3.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_set_voltage() 3339 u16 voltage_level, u8 voltage_type, in radeon_atom_get_voltage_gpio_settings() argument 3355 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_get_voltage_gpio_settings() 3363 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_get_voltage_gpio_settings()
|
D | radeon.h | 299 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type); 301 u16 voltage_level, u8 voltage_type,
|
D | ci_dpm.c | 2992 SMU7_Discrete_VoltageLevel voltage_level; in ci_populate_smc_acpi_level() local 3059 if (ci_populate_mvdd_value(rdev, 0, &voltage_level)) in ci_populate_smc_acpi_level() 3063 cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | iceland_smumgr.c | 1429 SMU71_Discrete_VoltageLevel voltage_level; in iceland_populate_smc_acpi_level() local 1503 if (0 == iceland_populate_mvdd_value(hwmgr, 0, &voltage_level)) in iceland_populate_smc_acpi_level() 1505 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level()
|
D | ci_smumgr.c | 1380 SMU7_Discrete_VoltageLevel voltage_level; in ci_populate_smc_acpi_level() local 1454 if (0 == ci_populate_mvdd_value(hwmgr, 0, &voltage_level)) in ci_populate_smc_acpi_level() 1456 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
|
D | tonga_smumgr.c | 1171 SMIO_Pattern voltage_level; in tonga_populate_smc_acpi_level() local 1235 if (0 == tonga_populate_mvdd_value(hwmgr, 0, &voltage_level)) in tonga_populate_smc_acpi_level() 1237 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in tonga_populate_smc_acpi_level()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | ci_dpm.c | 3136 SMU7_Discrete_VoltageLevel voltage_level; in ci_populate_smc_acpi_level() local 3203 if (ci_populate_mvdd_value(adev, 0, &voltage_level)) in ci_populate_smc_acpi_level() 3207 cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
|