Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c947 int vlevel, in calculate_wm_set_for_vlevel() argument
956 ASSERT(vlevel < dml->soc.num_states); in calculate_wm_set_for_vlevel()
958 pipes[0].clks_cfg.voltage = vlevel; in calculate_wm_set_for_vlevel()
959 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz; in calculate_wm_set_for_vlevel()
960 pipes[0].clks_cfg.socclk_mhz = dml->soc.clock_limits[vlevel].socclk_mhz; in calculate_wm_set_for_vlevel()
985 int vlevel, vlevel_max; in dcn21_calculate_wm() local
1036 vlevel = 0; in dcn21_calculate_wm()
1038 vlevel = vlevel_max; in dcn21_calculate_wm()
1039 calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.d, in dcn21_calculate_wm()
1043 vlevel = MIN(MAX(vlevel_req, 2), vlevel_max); in dcn21_calculate_wm()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2256 int pipe_cnt, i, pipe_idx, vlevel, vlevel_unsplit; in dcn20_fast_validate_bw() local
2340 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn20_fast_validate_bw()
2346 if (vlevel <= context->bw_ctx.dml.soc.num_states) in dcn20_fast_validate_bw()
2349 vlevel = context->bw_ctx.dml.soc.num_states + 1; in dcn20_fast_validate_bw()
2353 if (vlevel > context->bw_ctx.dml.soc.num_states && odm_capable) in dcn20_fast_validate_bw()
2354 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn20_fast_validate_bw()
2356 if (vlevel > context->bw_ctx.dml.soc.num_states) in dcn20_fast_validate_bw()
2398 vlevel_unsplit = vlevel; in dcn20_fast_validate_bw()
2422 context->bw_ctx.dml.vba.ODMCombineEnablePerState[vlevel][pipe_idx] = true; in dcn20_fast_validate_bw()
2424 …if (force_split && context->bw_ctx.dml.vba.NoOfDPP[vlevel][context->bw_ctx.dml.vba.maxMpcComb][pip… in dcn20_fast_validate_bw()
[all …]
Ddcn20_resource.h130 int vlevel);
/Linux-v5.4/virt/kvm/arm/
Darch_timer.c558 bool vlevel, plevel; in kvm_timer_should_notify_user() local
563 vlevel = sregs->device_irq_level & KVM_ARM_DEV_EL1_VTIMER; in kvm_timer_should_notify_user()
566 return kvm_timer_should_fire(vtimer) != vlevel || in kvm_timer_should_notify_user()