Home
last modified time | relevance | path

Searched refs:ref_freq_to_pix_freq (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c69 double ref_freq_to_pix_freq,
801 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml20_rq_dlg_get_dlg_params() local
909 ASSERT(ref_freq_to_pix_freq < 4.0); in dml20_rq_dlg_get_dlg_params()
911 disp_dlg_regs->ref_freq_to_pix_freq = in dml20_rq_dlg_get_dlg_params()
912 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml20_rq_dlg_get_dlg_params()
913 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml20_rq_dlg_get_dlg_params()
917 * (double) ref_freq_to_pix_freq); in dml20_rq_dlg_get_dlg_params()
947 ref_freq_to_pix_freq); in dml20_rq_dlg_get_dlg_params()
1350 ref_freq_to_pix_freq, in dml20_rq_dlg_get_dlg_params()
1366 ref_freq_to_pix_freq, in dml20_rq_dlg_get_dlg_params()
[all …]
Ddisplay_rq_dlg_calc_20v2.c69 double ref_freq_to_pix_freq,
801 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml20v2_rq_dlg_get_dlg_params() local
909 ASSERT(ref_freq_to_pix_freq < 4.0); in dml20v2_rq_dlg_get_dlg_params()
911 disp_dlg_regs->ref_freq_to_pix_freq = in dml20v2_rq_dlg_get_dlg_params()
912 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml20v2_rq_dlg_get_dlg_params()
913 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml20v2_rq_dlg_get_dlg_params()
917 * (double) ref_freq_to_pix_freq); in dml20v2_rq_dlg_get_dlg_params()
948 ref_freq_to_pix_freq); in dml20v2_rq_dlg_get_dlg_params()
1351 ref_freq_to_pix_freq, in dml20v2_rq_dlg_get_dlg_params()
1367 ref_freq_to_pix_freq, in dml20v2_rq_dlg_get_dlg_params()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c46 double ref_freq_to_pix_freq,
847 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml_rq_dlg_get_dlg_params() local
955 ASSERT(ref_freq_to_pix_freq < 4.0); in dml_rq_dlg_get_dlg_params()
957 disp_dlg_regs->ref_freq_to_pix_freq = in dml_rq_dlg_get_dlg_params()
958 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params()
959 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml_rq_dlg_get_dlg_params()
963 * (double) ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params()
999 ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params()
1419 ref_freq_to_pix_freq, in dml_rq_dlg_get_dlg_params()
1436 ref_freq_to_pix_freq, in dml_rq_dlg_get_dlg_params()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c877 double ref_freq_to_pix_freq, in calculate_ttu_cursor() argument
919 *refcyc_per_req_delivery_pre_cur = hactive_cur * ref_freq_to_pix_freq in calculate_ttu_cursor()
930 *refcyc_per_req_delivery_cur = hactive_cur * ref_freq_to_pix_freq in calculate_ttu_cursor()
1001 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml_rq_dlg_get_dlg_params() local
1114 ASSERT(ref_freq_to_pix_freq < 4.0); in dml_rq_dlg_get_dlg_params()
1116 disp_dlg_regs->ref_freq_to_pix_freq = in dml_rq_dlg_get_dlg_params()
1117 (unsigned int)(ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params()
1118 disp_dlg_regs->refcyc_per_htotal = (unsigned int)(ref_freq_to_pix_freq * (double)htotal in dml_rq_dlg_get_dlg_params()
1150 ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params()
1288 disp_dlg_regs->refcyc_h_blank_end = (unsigned int)((double) hblank_end * ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c1004 double ref_freq_to_pix_freq; in dml1_rq_dlg_get_dlg_params() local
1133 ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml1_rq_dlg_get_dlg_params()
1134 ASSERT(ref_freq_to_pix_freq < 4.0); in dml1_rq_dlg_get_dlg_params()
1135 disp_dlg_regs->ref_freq_to_pix_freq = in dml1_rq_dlg_get_dlg_params()
1136 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml1_rq_dlg_get_dlg_params()
1137 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml1_rq_dlg_get_dlg_params()
1140 * (double) ref_freq_to_pix_freq); in dml1_rq_dlg_get_dlg_params()
1175 ref_freq_to_pix_freq); in dml1_rq_dlg_get_dlg_params()
1426 …disp_dlg_regs->refcyc_x_after_scaler = dst_x_after_scaler * ref_freq_to_pix_freq; /* in terms of r… in dml1_rq_dlg_get_dlg_params()
1518 * ref_freq_to_pix_freq / (double) dpte_groups_per_row_ub_l); in dml1_rq_dlg_get_dlg_params()
[all …]
Ddisplay_rq_dlg_helpers.c233 dlg_regs.ref_freq_to_pix_freq); in print__dlg_regs_st()
Ddisplay_mode_structs.h449 unsigned int ref_freq_to_pix_freq; member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c366 REF_FREQ_TO_PIX_FREQ, &dlg_attr.ref_freq_to_pix_freq); in hubp21_validate_dml_output()
386 if (dlg_attr.ref_freq_to_pix_freq != dml_dlg_attr->ref_freq_to_pix_freq) in hubp21_validate_dml_output()
388 dml_dlg_attr->ref_freq_to_pix_freq, dlg_attr.ref_freq_to_pix_freq); in hubp21_validate_dml_output()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c102 REF_FREQ_TO_PIX_FREQ, dlg_attr->ref_freq_to_pix_freq); in hubp2_program_deadline()
1113 REF_FREQ_TO_PIX_FREQ, &dlg_attr->ref_freq_to_pix_freq); in hubp2_read_state_common()
1390 REF_FREQ_TO_PIX_FREQ, &dlg_attr.ref_freq_to_pix_freq); in hubp2_validate_dml_output()
1410 if (dlg_attr.ref_freq_to_pix_freq != dml_dlg_attr->ref_freq_to_pix_freq) in hubp2_validate_dml_output()
1412 dml_dlg_attr->ref_freq_to_pix_freq, dlg_attr.ref_freq_to_pix_freq); in hubp2_validate_dml_output()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c609 REF_FREQ_TO_PIX_FREQ, dlg_attr->ref_freq_to_pix_freq); in hubp1_program_deadline()
913 REF_FREQ_TO_PIX_FREQ, &dlg_attr->ref_freq_to_pix_freq); in hubp1_read_state_common()
Ddcn10_hw_sequencer_debug.c263 dlg_regs->dst_y_per_vm_flip, dlg_regs->dst_y_per_row_flip, dlg_regs->ref_freq_to_pix_freq, in dcn10_get_dlg_states()
Ddcn10_hw_sequencer.c232 dlg_regs->dst_y_per_vm_flip, dlg_regs->dst_y_per_row_flip, dlg_regs->ref_freq_to_pix_freq, in dcn10_log_hubp_states()