Home
last modified time | relevance | path

Searched refs:vlevel (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1035 int vlevel, in calculate_wm_set_for_vlevel() argument
1044 ASSERT(vlevel < dml->soc.num_states); in calculate_wm_set_for_vlevel()
1046 pipes[0].clks_cfg.voltage = vlevel; in calculate_wm_set_for_vlevel()
1047 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz; in calculate_wm_set_for_vlevel()
1048 pipes[0].clks_cfg.socclk_mhz = dml->soc.clock_limits[vlevel].socclk_mhz; in calculate_wm_set_for_vlevel()
1105 int vlevel, vlevel_max; in dcn21_calculate_wm() local
1158 vlevel = 0; in dcn21_calculate_wm()
1160 vlevel = vlevel_max; in dcn21_calculate_wm()
1161 calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.d, in dcn21_calculate_wm()
1165 vlevel = MIN(MAX(vlevel_req, 3), vlevel_max); in dcn21_calculate_wm()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2624 int vlevel, in dcn20_validate_apply_pipe_split_flags() argument
2687 for (vlevel_split = vlevel; vlevel <= context->bw_ctx.dml.soc.num_states; vlevel++) in dcn20_validate_apply_pipe_split_flags()
2688 if (v->NoOfDPP[vlevel][0][pipe_idx] == 1 && in dcn20_validate_apply_pipe_split_flags()
2689 v->ModeSupport[vlevel][0]) in dcn20_validate_apply_pipe_split_flags()
2692 if (vlevel > context->bw_ctx.dml.soc.num_states) in dcn20_validate_apply_pipe_split_flags()
2693 vlevel = vlevel_split; in dcn20_validate_apply_pipe_split_flags()
2711 if (split4mpc || v->NoOfDPP[vlevel][max_mpc_comb][pipe_plane] == 4) in dcn20_validate_apply_pipe_split_flags()
2713 else if (force_split || v->NoOfDPP[vlevel][max_mpc_comb][pipe_plane] == 2) in dcn20_validate_apply_pipe_split_flags()
2727 v->ODMCombineEnablePerState[vlevel][pipe_plane] = dm_odm_combine_mode_2to1; in dcn20_validate_apply_pipe_split_flags()
2731 v->ODMCombineEnablePerState[vlevel][pipe_plane] = dm_odm_combine_mode_4to1; in dcn20_validate_apply_pipe_split_flags()
[all …]
Ddcn20_resource.h128 int vlevel,
165 int vlevel);
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1872 int pipe_cnt, i, pipe_idx, vlevel; in dcn30_internal_validate_bw() local
1898 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn30_internal_validate_bw()
1900 if (vlevel < context->bw_ctx.dml.soc.num_states) in dcn30_internal_validate_bw()
1901 vlevel = dcn20_validate_apply_pipe_split_flags(dc, context, vlevel, split, merge); in dcn30_internal_validate_bw()
1903 if (fast_validate || vlevel == context->bw_ctx.dml.soc.num_states || in dcn30_internal_validate_bw()
1904 vba->DRAMClockChangeSupport[vlevel][vba->maxMpcComb] == dm_dram_clock_change_unsupported) { in dcn30_internal_validate_bw()
1915 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn30_internal_validate_bw()
1916 if (vlevel < context->bw_ctx.dml.soc.num_states) { in dcn30_internal_validate_bw()
1919 vlevel = dcn20_validate_apply_pipe_split_flags(dc, context, vlevel, split, merge); in dcn30_internal_validate_bw()
1925 if (vlevel == context->bw_ctx.dml.soc.num_states) in dcn30_internal_validate_bw()
[all …]
Ddcn30_resource.h62 int vlevel);
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_resource.c1655 int vlevel) in dcn31_calculate_wm_and_dlg_fp() argument
1658 double dcfclk = context->bw_ctx.dml.vba.DCFCLKState[vlevel][context->bw_ctx.dml.vba.maxMpcComb]; in dcn31_calculate_wm_and_dlg_fp()
1663 pipes[0].clks_cfg.voltage = vlevel; in dcn31_calculate_wm_and_dlg_fp()
1665 pipes[0].clks_cfg.socclk_mhz = context->bw_ctx.dml.soc.clock_limits[vlevel].socclk_mhz; in dcn31_calculate_wm_and_dlg_fp()
1672 if (vlevel == 0) { in dcn31_calculate_wm_and_dlg_fp()
1691 pipes[0].clks_cfg.voltage = vlevel; in dcn31_calculate_wm_and_dlg_fp()
1774 dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel); in dcn31_calculate_wm_and_dlg_fp()
1781 int vlevel) in dcn31_calculate_wm_and_dlg() argument
1784 dcn31_calculate_wm_and_dlg_fp(dc, context, pipes, pipe_cnt, vlevel); in dcn31_calculate_wm_and_dlg()
/Linux-v5.15/arch/arm64/kvm/
Darch_timer.c636 bool vlevel, plevel; in kvm_timer_should_notify_user() local
641 vlevel = sregs->device_irq_level & KVM_ARM_DEV_EL1_VTIMER; in kvm_timer_should_notify_user()
644 return kvm_timer_should_fire(vtimer) != vlevel || in kvm_timer_should_notify_user()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h112 int vlevel);