/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 69 double ref_freq_to_pix_freq, 819 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml20_rq_dlg_get_dlg_params() local 927 ASSERT(ref_freq_to_pix_freq < 4.0); in dml20_rq_dlg_get_dlg_params() 929 disp_dlg_regs->ref_freq_to_pix_freq = in dml20_rq_dlg_get_dlg_params() 930 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml20_rq_dlg_get_dlg_params() 931 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml20_rq_dlg_get_dlg_params() 935 * (double) ref_freq_to_pix_freq); in dml20_rq_dlg_get_dlg_params() 965 ref_freq_to_pix_freq); in dml20_rq_dlg_get_dlg_params() 1368 ref_freq_to_pix_freq, in dml20_rq_dlg_get_dlg_params() 1384 ref_freq_to_pix_freq, in dml20_rq_dlg_get_dlg_params() [all …]
|
D | display_rq_dlg_calc_20v2.c | 69 double ref_freq_to_pix_freq, 819 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml20v2_rq_dlg_get_dlg_params() local 927 ASSERT(ref_freq_to_pix_freq < 4.0); in dml20v2_rq_dlg_get_dlg_params() 929 disp_dlg_regs->ref_freq_to_pix_freq = in dml20v2_rq_dlg_get_dlg_params() 930 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml20v2_rq_dlg_get_dlg_params() 931 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml20v2_rq_dlg_get_dlg_params() 935 * (double) ref_freq_to_pix_freq); in dml20v2_rq_dlg_get_dlg_params() 966 ref_freq_to_pix_freq); in dml20v2_rq_dlg_get_dlg_params() 1369 ref_freq_to_pix_freq, in dml20v2_rq_dlg_get_dlg_params() 1385 ref_freq_to_pix_freq, in dml20v2_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 46 double ref_freq_to_pix_freq, 865 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml_rq_dlg_get_dlg_params() local 973 ASSERT(ref_freq_to_pix_freq < 4.0); in dml_rq_dlg_get_dlg_params() 975 disp_dlg_regs->ref_freq_to_pix_freq = in dml_rq_dlg_get_dlg_params() 976 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params() 977 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml_rq_dlg_get_dlg_params() 981 * (double) ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() 1017 ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() 1437 ref_freq_to_pix_freq, in dml_rq_dlg_get_dlg_params() 1454 ref_freq_to_pix_freq, in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 806 double ref_freq_to_pix_freq, in calculate_ttu_cursor() argument 848 *refcyc_per_req_delivery_pre_cur = hactive_cur * ref_freq_to_pix_freq in calculate_ttu_cursor() 859 *refcyc_per_req_delivery_cur = hactive_cur * ref_freq_to_pix_freq in calculate_ttu_cursor() 930 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml_rq_dlg_get_dlg_params() local 1043 ASSERT(ref_freq_to_pix_freq < 4.0); in dml_rq_dlg_get_dlg_params() 1045 disp_dlg_regs->ref_freq_to_pix_freq = in dml_rq_dlg_get_dlg_params() 1046 (unsigned int)(ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params() 1047 disp_dlg_regs->refcyc_per_htotal = (unsigned int)(ref_freq_to_pix_freq * (double)htotal in dml_rq_dlg_get_dlg_params() 1079 ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() 1217 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-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 785 double ref_freq_to_pix_freq, in calculate_ttu_cursor() argument 826 …*refcyc_per_req_delivery_pre_cur = hactive_cur * ref_freq_to_pix_freq / (double) cur_req_per_width; in calculate_ttu_cursor() 834 *refcyc_per_req_delivery_cur = hactive_cur * ref_freq_to_pix_freq / (double) cur_req_per_width; in calculate_ttu_cursor() 887 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml_rq_dlg_get_dlg_params() local 980 …DLG: %s: interlaced = %d\n", __func__, interlaced); ASSERT(ref_freq_to_pix_freq < 4.0); in dml_rq_dlg_get_dlg_params() 982 disp_dlg_regs->ref_freq_to_pix_freq = (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params() 983 …disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_po… in dml_rq_dlg_get_dlg_params() 998 dml_print("DML_DLG: %s: ref_freq_to_pix_freq = %3.2f\n", __func__, ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() 1094 disp_dlg_regs->refcyc_h_blank_end = (unsigned int) ((double) hblank_end * ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() 1098 … hblank_end + odm_pipe_index * (double) dst->hactive / odm_combine_factor) * ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 872 double ref_freq_to_pix_freq, in calculate_ttu_cursor() argument 913 …*refcyc_per_req_delivery_pre_cur = hactive_cur * ref_freq_to_pix_freq / (double) cur_req_per_width; in calculate_ttu_cursor() 920 *refcyc_per_req_delivery_cur = hactive_cur * ref_freq_to_pix_freq / (double) cur_req_per_width; in calculate_ttu_cursor() 973 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml_rq_dlg_get_dlg_params() local 1070 …DLG: %s: interlaced = %d\n", __func__, interlaced); ASSERT(ref_freq_to_pix_freq < 4.0); in dml_rq_dlg_get_dlg_params() 1072 disp_dlg_regs->ref_freq_to_pix_freq = (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params() 1073 …disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_po… in dml_rq_dlg_get_dlg_params() 1096 dml_print("DML_DLG: %s: ref_freq_to_pix_freq = %3.2f\n", __func__, ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() 1208 disp_dlg_regs->refcyc_h_blank_end = (unsigned int) ((double) hblank_end * ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() 1213 … hblank_end + odm_pipe_index * (double) dst->hactive / odm_combine_factor) * ref_freq_to_pix_freq); in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_rq_dlg_calc_32.c | 237 double ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml32_rq_dlg_get_dlg_reg() local 271 dml_print("DML_DLG: %s: ref_freq_to_pix_freq = %3.2f\n", __func__, ref_freq_to_pix_freq); in dml32_rq_dlg_get_dlg_reg() 273 ASSERT(ref_freq_to_pix_freq < 4.0); in dml32_rq_dlg_get_dlg_reg() 275 dlg_regs->ref_freq_to_pix_freq = (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml32_rq_dlg_get_dlg_reg() 276 …dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_pow(2, … in dml32_rq_dlg_get_dlg_reg() 284 dml_print("DML_DLG: %s: ref_freq_to_pix_freq = %3.2f\n", __func__, ref_freq_to_pix_freq); in dml32_rq_dlg_get_dlg_reg() 334 dlg_regs->refcyc_h_blank_end = (unsigned int) ((double) hblank_end * ref_freq_to_pix_freq); in dml32_rq_dlg_get_dlg_reg() 342 + odm_pipe_index * (double) dst->hactive / odm_combine_factor) * ref_freq_to_pix_freq); in dml32_rq_dlg_get_dlg_reg() 445 dlg_regs->refcyc_x_after_scaler = dst_x_after_scaler * ref_freq_to_pix_freq; // in terms of refclk in dml32_rq_dlg_get_dlg_reg() 543 ttu_regs->qos_level_high_wm = (unsigned int) (4.0 * (double) htotal * ref_freq_to_pix_freq); in dml32_rq_dlg_get_dlg_reg()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 1022 double ref_freq_to_pix_freq; in dml1_rq_dlg_get_dlg_params() local 1151 ref_freq_to_pix_freq = refclk_freq_in_mhz / pclk_freq_in_mhz; in dml1_rq_dlg_get_dlg_params() 1152 ASSERT(ref_freq_to_pix_freq < 4.0); in dml1_rq_dlg_get_dlg_params() 1153 disp_dlg_regs->ref_freq_to_pix_freq = in dml1_rq_dlg_get_dlg_params() 1154 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml1_rq_dlg_get_dlg_params() 1155 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml1_rq_dlg_get_dlg_params() 1158 * (double) ref_freq_to_pix_freq); in dml1_rq_dlg_get_dlg_params() 1193 ref_freq_to_pix_freq); in dml1_rq_dlg_get_dlg_params() 1440 …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() 1532 * ref_freq_to_pix_freq / (double) dpte_groups_per_row_ub_l); in dml1_rq_dlg_get_dlg_params() [all …]
|
D | display_rq_dlg_helpers.c | 230 dlg_regs->ref_freq_to_pix_freq); in print__dlg_regs_st()
|
D | display_mode_structs.h | 631 unsigned int ref_freq_to_pix_freq; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hubp.c | 366 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-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubp.c | 102 REF_FREQ_TO_PIX_FREQ, dlg_attr->ref_freq_to_pix_freq); in hubp2_program_deadline() 1156 REF_FREQ_TO_PIX_FREQ, &dlg_attr->ref_freq_to_pix_freq); in hubp2_read_state_common() 1444 REF_FREQ_TO_PIX_FREQ, &dlg_attr.ref_freq_to_pix_freq); in hubp2_validate_dml_output() 1464 if (dlg_attr.ref_freq_to_pix_freq != dml_dlg_attr->ref_freq_to_pix_freq) in hubp2_validate_dml_output() 1466 dml_dlg_attr->ref_freq_to_pix_freq, dlg_attr.ref_freq_to_pix_freq); in hubp2_validate_dml_output()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubp.c | 609 REF_FREQ_TO_PIX_FREQ, dlg_attr->ref_freq_to_pix_freq); in hubp1_program_deadline() 931 REF_FREQ_TO_PIX_FREQ, &dlg_attr->ref_freq_to_pix_freq); in hubp1_read_state_common()
|
D | dcn10_hw_sequencer_debug.c | 263 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()
|
D | dcn10_hw_sequencer.c | 243 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()
|