Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn6_calcs_dchub.c770 DML_ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int)math_pow(2, 13)); in dcn6_rq_dlg_get_dlg_reg()
772 disp_dlg_regs->ref_freq_to_pix_freq = (unsigned int)(l->ref_freq_to_pix_freq * math_pow(2, 19)); in dcn6_rq_dlg_get_dlg_reg()
773 …->refcyc_per_htotal = (unsigned int)(l->ref_freq_to_pix_freq * (double)l->htotal * math_pow(2, 8)); in dcn6_rq_dlg_get_dlg_reg()
857 …disp_dlg_regs->min_dst_y_next_start = (unsigned int)((double)l->min_dst_y_next_start * math_pow(2,… in dcn6_rq_dlg_get_dlg_reg()
858 DML_ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)math_pow(2, 18)); in dcn6_rq_dlg_get_dlg_reg()
862 disp_dlg_regs->dst_y_prefetch = (unsigned int)(l->dst_y_prefetch * math_pow(2, 2)); in dcn6_rq_dlg_get_dlg_reg()
863 disp_dlg_regs->dst_y_per_vm_vblank = (unsigned int)(l->dst_y_per_vm_vblank * math_pow(2, 2)); in dcn6_rq_dlg_get_dlg_reg()
864 disp_dlg_regs->dst_y_per_row_vblank = (unsigned int)(l->dst_y_per_row_vblank * math_pow(2, 2)); in dcn6_rq_dlg_get_dlg_reg()
865 disp_dlg_regs->dst_y_per_vm_flip = (unsigned int)(l->dst_y_per_vm_flip * math_pow(2, 2)); in dcn6_rq_dlg_get_dlg_reg()
866 disp_dlg_regs->dst_y_per_row_flip = (unsigned int)(l->dst_y_per_row_flip * math_pow(2, 2)); in dcn6_rq_dlg_get_dlg_reg()
[all …]
H A Ddml2_core_dcn5_calcs_dchub.c5604 DML_ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int)math_pow(2, 13)); in dcn5_rq_dlg_get_dlg_reg()
5606 disp_dlg_regs->ref_freq_to_pix_freq = (unsigned int)(l->ref_freq_to_pix_freq * math_pow(2, 19)); in dcn5_rq_dlg_get_dlg_reg()
5607 …->refcyc_per_htotal = (unsigned int)(l->ref_freq_to_pix_freq * (double)l->htotal * math_pow(2, 8)); in dcn5_rq_dlg_get_dlg_reg()
5691 …disp_dlg_regs->min_dst_y_next_start = (unsigned int)((double)l->min_dst_y_next_start * math_pow(2,… in dcn5_rq_dlg_get_dlg_reg()
5692 DML_ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)math_pow(2, 18)); in dcn5_rq_dlg_get_dlg_reg()
5696 disp_dlg_regs->dst_y_prefetch = (unsigned int)(l->dst_y_prefetch * math_pow(2, 2)); in dcn5_rq_dlg_get_dlg_reg()
5697 disp_dlg_regs->dst_y_per_vm_vblank = (unsigned int)(l->dst_y_per_vm_vblank * math_pow(2, 2)); in dcn5_rq_dlg_get_dlg_reg()
5698 disp_dlg_regs->dst_y_per_row_vblank = (unsigned int)(l->dst_y_per_row_vblank * math_pow(2, 2)); in dcn5_rq_dlg_get_dlg_reg()
5699 disp_dlg_regs->dst_y_per_vm_flip = (unsigned int)(l->dst_y_per_vm_flip * math_pow(2, 2)); in dcn5_rq_dlg_get_dlg_reg()
5700 disp_dlg_regs->dst_y_per_row_flip = (unsigned int)(l->dst_y_per_row_flip * math_pow(2, 2)); in dcn5_rq_dlg_get_dlg_reg()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/
H A Dlib_float_math.c84 float math_pow(float a, float exp) in math_pow() function
89 temp = math_pow(a, (float)((int)(exp / 2))); in math_pow()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn6_stage_optimizers.c437 ideal_relative_disallow = (double)math_pow(0.5, (float)(display_config->num_streams - 1)) * 0.95; in dcn6_update_worksheet_for_pstate_admissibility()