Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn301/
H A Ddcn301_fpu.c292 static void calculate_wm_set_for_vlevel(int vlevel, in calculate_wm_set_for_vlevel() argument
301 ASSERT(vlevel < dml->soc.num_states); in calculate_wm_set_for_vlevel()
303 pipes[0].clks_cfg.voltage = vlevel; in calculate_wm_set_for_vlevel()
304 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz; in calculate_wm_set_for_vlevel()
419 int vlevel, vlevel_max; in dcn301_calculate_wm_and_dlg_fp() local
431 vlevel = 0; in dcn301_calculate_wm_and_dlg_fp()
433 vlevel = vlevel_max; in dcn301_calculate_wm_and_dlg_fp()
438 vlevel = min(max(vlevel_req, 2), vlevel_max); in dcn301_calculate_wm_and_dlg_fp()
443 vlevel = min(max(vlevel_req, 1), vlevel_max); in dcn301_calculate_wm_and_dlg_fp()
449 vlevel = min(vlevel_req, vlevel_max); in dcn301_calculate_wm_and_dlg_fp()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c266 int vlevel) in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch() argument
1093 int vlevel) in subvp_validate_static_schedulability() argument
1150 int *vlevel, in dcn32_full_validate_bw_helper() argument
1243 *vlevel = i; in dcn32_full_validate_bw_helper()
1257 *vlevel = i; in dcn32_full_validate_bw_helper()
1703 vlevel = dcn20_validate_apply_pipe_split_flags(dc, context, vlevel, split, merge); in dcn32_internal_validate_bw()
1911 int flag_vlevel = vlevel; in dcn32_internal_validate_bw()
1935 vlevel = i; in dcn32_internal_validate_bw()
1945 *vlevel_out = vlevel; in dcn32_internal_validate_bw()
1962 int vlevel) in dcn32_calculate_wm_and_dlg_fpu() argument
[all …]
H A Ddcn32_fpu.h60 int vlevel);
68 int vlevel);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.h43 int vlevel);
53 int vlevel,
71 int vlevel,
H A Ddcn20_fpu.c1138 int vlevel) in dcn20_calculate_dlg_params() argument
1726 int vlevel, in dcn20_calculate_wm() argument
1787 if (vlevel < 1) { in dcn20_calculate_wm()
1801 if (vlevel < 2) { in dcn20_calculate_wm()
1814 if (vlevel < 3) { in dcn20_calculate_wm()
2027 int vlevel = 0; in dcn20_validate_bandwidth_internal() local
2136 int vlevel, in dcn20_fpu_adjust_dppclk() argument
2238 int vlevel, vlevel_max; in dcn21_calculate_wm() local
2291 vlevel = 0; in dcn21_calculate_wm()
2293 vlevel = vlevel_max; in dcn21_calculate_wm()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddcn30_fpu.h50 int vlevel);
70 int vlevel);
H A Ddcn30_fpu.c383 int vlevel) in dcn30_fpu_calculate_wm_and_dlg() argument
387 double dcfclk = context->bw_ctx.dml.vba.DCFCLKState[vlevel][maxMpcComb]; in dcn30_fpu_calculate_wm_and_dlg()
406 context, pipes, pipe_cnt, vlevel); in dcn30_fpu_calculate_wm_and_dlg()
414 dcn30_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, false, true); in dcn30_fpu_calculate_wm_and_dlg()
424 pipes[0].clks_cfg.voltage = vlevel; in dcn30_fpu_calculate_wm_and_dlg()
433 if (vlevel == 0) { in dcn30_fpu_calculate_wm_and_dlg()
450 pipes[0].clks_cfg.voltage = vlevel; in dcn30_fpu_calculate_wm_and_dlg()
486 if (context->bw_ctx.dml.vba.DRAMClockChangeSupport[vlevel][maxMpcComb] == in dcn30_fpu_calculate_wm_and_dlg()
582 dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel); in dcn30_fpu_calculate_wm_and_dlg()
695 int vlevel) in dcn30_find_dummy_latency_index_for_fw_based_mclk_switch() argument
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.h73 int vlevel);
106 display_e2e_pipe_params_st *pipes, int pipe_cnt, int vlevel);
H A Ddcn30_resource.c1639 int pipe_cnt, i, pipe_idx, vlevel; in dcn30_internal_validate_bw() local
1669 if (vlevel < context->bw_ctx.dml.soc.num_states) in dcn30_internal_validate_bw()
1670 vlevel = dcn20_validate_apply_pipe_split_flags(dc, context, vlevel, split, merge); in dcn30_internal_validate_bw()
1673 (fast_validate || vlevel == context->bw_ctx.dml.soc.num_states || in dcn30_internal_validate_bw()
1686 if (vlevel < context->bw_ctx.dml.soc.num_states) { in dcn30_internal_validate_bw()
1689 vlevel = dcn20_validate_apply_pipe_split_flags(dc, context, vlevel, split, merge); in dcn30_internal_validate_bw()
1695 if (vlevel == context->bw_ctx.dml.soc.num_states) in dcn30_internal_validate_bw()
1868 context->bw_ctx.dml.vba.VoltageLevel = vlevel; in dcn30_internal_validate_bw()
1869 *vlevel_out = vlevel; in dcn30_internal_validate_bw()
2026 int vlevel) in dcn30_calculate_wm_and_dlg() argument
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c1833 int vlevel, in dcn20_validate_apply_pipe_split_flags() argument
1896 for (vlevel_split = vlevel; vlevel <= context->bw_ctx.dml.soc.num_states; vlevel++) in dcn20_validate_apply_pipe_split_flags()
1897 if (v->NoOfDPP[vlevel][0][pipe_idx] == 1 && in dcn20_validate_apply_pipe_split_flags()
1898 v->ModeSupport[vlevel][0]) in dcn20_validate_apply_pipe_split_flags()
1901 if (vlevel > context->bw_ctx.dml.soc.num_states) in dcn20_validate_apply_pipe_split_flags()
1902 vlevel = vlevel_split; in dcn20_validate_apply_pipe_split_flags()
2015 return vlevel; in dcn20_validate_apply_pipe_split_flags()
2029 int pipe_cnt, i, pipe_idx, vlevel; in dcn20_fast_validate_bw() local
2050 if (vlevel > context->bw_ctx.dml.soc.num_states) in dcn20_fast_validate_bw()
2053 vlevel = dcn20_validate_apply_pipe_split_flags(dc, context, vlevel, split, NULL); in dcn20_fast_validate_bw()
[all …]
H A Ddcn20_resource.h127 int vlevel,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.h44 int vlevel);
H A Ddcn31_fpu.c486 int vlevel) in dcn31_calculate_wm_and_dlg_fp() argument
489 double dcfclk = context->bw_ctx.dml.vba.DCFCLKState[vlevel][context->bw_ctx.dml.vba.maxMpcComb]; in dcn31_calculate_wm_and_dlg_fp()
505 pipes[0].clks_cfg.voltage = vlevel; in dcn31_calculate_wm_and_dlg_fp()
507 pipes[0].clks_cfg.socclk_mhz = context->bw_ctx.dml.soc.clock_limits[vlevel].socclk_mhz; in dcn31_calculate_wm_and_dlg_fp()
551 dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel); in dcn31_calculate_wm_and_dlg_fp()
554 …context->bw_ctx.dml.vba.DRAMClockChangeSupport[vlevel][context->bw_ctx.dml.vba.maxMpcComb] == dm_d… in dcn31_calculate_wm_and_dlg_fp()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_resource.h47 int vlevel);
H A Ddcn31_resource.c1724 int vlevel) in dcn31_calculate_wm_and_dlg() argument
1727 dcn31_calculate_wm_and_dlg_fp(dc, context, pipes, pipe_cnt, vlevel); in dcn31_calculate_wm_and_dlg()
1760 int vlevel = 0; in dcn31_validate_bandwidth() local
1768 out = dcn30_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, fast_validate, true); in dcn31_validate_bandwidth()
1785 dc->res_pool->funcs->calculate_wm_and_dlg(dc, context, pipes, pipe_cnt, vlevel); in dcn31_validate_bandwidth()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/
H A Ddcn21_resource.c803 int pipe_cnt, i, pipe_idx, vlevel; in dcn21_fast_validate_bw() local
828 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn21_fast_validate_bw()
830 if (vlevel > context->bw_ctx.dml.soc.num_states) { in dcn21_fast_validate_bw()
840 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn21_fast_validate_bw()
841 if (vlevel > context->bw_ctx.dml.soc.num_states) in dcn21_fast_validate_bw()
845 vlevel = dcn20_validate_apply_pipe_split_flags(dc, context, vlevel, split, NULL); in dcn21_fast_validate_bw()
904 …dcn20_fpu_adjust_dppclk(&context->bw_ctx.dml.vba, vlevel, context->bw_ctx.dml.vba.maxMpcComb, pipe… in dcn21_fast_validate_bw()
935 *vlevel_out = vlevel; in dcn21_fast_validate_bw()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_resource_helpers.c693 bool dcn32_subvp_vblank_admissable(struct dc *dc, struct dc_state *context, int vlevel) in dcn32_subvp_vblank_admissable() argument
730 vba->DRAMClockChangeSupport[vlevel][vba->maxMpcComb] == dm_dram_clock_change_vblank_w_mall_sub_vp) in dcn32_subvp_vblank_admissable()
H A Ddcn32_resource.c1816 int vlevel = 0; in dcn32_validate_bandwidth() local
1846 out = dcn32_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, fast_validate); in dcn32_validate_bandwidth()
1865 dc->res_pool->funcs->calculate_wm_and_dlg(dc, context, pipes, pipe_cnt, vlevel); in dcn32_validate_bandwidth()
2019 int vlevel) in dcn32_calculate_wm_and_dlg() argument
2022 dcn32_calculate_wm_and_dlg_fpu(dc, context, pipes, pipe_cnt, vlevel); in dcn32_calculate_wm_and_dlg()
H A Ddcn32_resource.h109 int vlevel);
174 bool dcn32_subvp_vblank_admissable(struct dc *dc, struct dc_state *context, int vlevel);
/openbmc/linux/arch/arm64/kvm/
H A Darch_timer.c866 bool vlevel, plevel; in kvm_timer_should_notify_user() local
871 vlevel = sregs->device_irq_level & KVM_ARM_DEV_EL1_VTIMER; in kvm_timer_should_notify_user()
874 return kvm_timer_should_fire(vtimer) != vlevel || in kvm_timer_should_notify_user()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h88 int vlevel);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_resource.c1737 int vlevel = 0; in dcn314_validate_bandwidth() local
1749 out = dcn30_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, fast_validate, false); in dcn314_validate_bandwidth()
1766 dc->res_pool->funcs->calculate_wm_and_dlg(dc, context, pipes, pipe_cnt, vlevel); in dcn314_validate_bandwidth()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn301/
H A Ddcn301_resource.c1367 int vlevel) in dcn301_calculate_wm_and_dlg() argument
1370 dcn301_calculate_wm_and_dlg_fp(dc, context, pipes, pipe_cnt, vlevel); in dcn301_calculate_wm_and_dlg()