/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_rq_dlg_calc_32.c | 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() 345 ASSERT(dlg_regs->refcyc_h_blank_end < (unsigned int)dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() 441 dlg_regs->min_dst_y_next_start = min_dst_y_next_start * dml_pow(2, 2); in dml32_rq_dlg_get_dlg_reg() 442 ASSERT(dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml32_rq_dlg_get_dlg_reg() 446 dlg_regs->dst_y_prefetch = (unsigned int) (dst_y_prefetch * dml_pow(2, 2)); in dml32_rq_dlg_get_dlg_reg() 447 dlg_regs->dst_y_per_vm_vblank = (unsigned int) (dst_y_per_vm_vblank * dml_pow(2, 2)); in dml32_rq_dlg_get_dlg_reg() 448 dlg_regs->dst_y_per_row_vblank = (unsigned int) (dst_y_per_row_vblank * dml_pow(2, 2)); in dml32_rq_dlg_get_dlg_reg() 449 dlg_regs->dst_y_per_vm_flip = (unsigned int) (dst_y_per_vm_flip * dml_pow(2, 2)); in dml32_rq_dlg_get_dlg_reg() 450 dlg_regs->dst_y_per_row_flip = (unsigned int) (dst_y_per_row_flip * dml_pow(2, 2)); in dml32_rq_dlg_get_dlg_reg() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 976 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params() 978 * dml_pow(2, 8)); in dml_rq_dlg_get_dlg_params() 982 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 991 disp_dlg_regs->min_dst_y_next_start = (unsigned int) (((double) dlg_vblank_start) * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 992 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params() 1388 ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1389 ASSERT(refcyc_per_req_delivery_l < dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1424 ASSERT(refcyc_per_req_delivery_pre_c < dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1425 ASSERT(refcyc_per_req_delivery_c < dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1469 ASSERT(disp_dlg_regs->refcyc_x_after_scaler < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 831 ASSERT(*refcyc_per_req_delivery_pre_cur < dml_pow(2, 13)); in calculate_ttu_cursor() 846 ASSERT(*refcyc_per_req_delivery_cur < dml_pow(2, 13)); in calculate_ttu_cursor() 981 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() 982 …_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_pow(2, 8)); in dml_rq_dlg_get_dlg_params() 989 disp_dlg_regs->min_dst_y_next_start = (unsigned int) (((double) dlg_vblank_start) * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 991 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params() 1096 } ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1335 …ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); ASSERT(refcyc_per_req_delivery_l < dml_pow… in dml_rq_dlg_get_dlg_params() 1372 …ASSERT(refcyc_per_req_delivery_pre_c < dml_pow(2, 13)); ASSERT(refcyc_per_req_delivery_c < dml_pow… in dml_rq_dlg_get_dlg_params() 1420 ASSERT(disp_dlg_regs->refcyc_x_after_scaler < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 854 ASSERT(*refcyc_per_req_delivery_pre_cur < dml_pow(2, 13)); in calculate_ttu_cursor() 884 ASSERT(*refcyc_per_req_delivery_cur < dml_pow(2, 13)); in calculate_ttu_cursor() 1044 (unsigned int)(ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params() 1046 * dml_pow(2, 8)); in dml_rq_dlg_get_dlg_params() 1057 ) * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 1058 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params() 1223 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1492 ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1493 ASSERT(refcyc_per_req_delivery_l < dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1524 ASSERT(refcyc_per_req_delivery_pre_c < dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 917 ASSERT(*refcyc_per_req_delivery_pre_cur < dml_pow(2, 13)); in calculate_ttu_cursor() 931 ASSERT(*refcyc_per_req_delivery_cur < dml_pow(2, 13)); in calculate_ttu_cursor() 1066 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() 1067 …_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_pow(2, 8)); in dml_rq_dlg_get_dlg_params() 1076 disp_dlg_regs->min_dst_y_next_start = vba__min_dst_y_next_start * dml_pow(2, 2); in dml_rq_dlg_get_dlg_params() 1078 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params() 1184 } ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1423 …ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); ASSERT(refcyc_per_req_delivery_l < dml_pow… in dml_rq_dlg_get_dlg_params() 1460 …ASSERT(refcyc_per_req_delivery_pre_c < dml_pow(2, 13)); ASSERT(refcyc_per_req_delivery_c < dml_pow… in dml_rq_dlg_get_dlg_params() 1508 ASSERT(disp_dlg_regs->refcyc_x_after_scaler < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 930 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml20_rq_dlg_get_dlg_params() 932 * dml_pow(2, 8)); in dml20_rq_dlg_get_dlg_params() 936 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int) dml_pow(2, 13)); in dml20_rq_dlg_get_dlg_params() 945 disp_dlg_regs->min_dst_y_next_start = (unsigned int) ((double) dlg_vblank_start * dml_pow(2, 2)); in dml20_rq_dlg_get_dlg_params() 946 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int) dml_pow(2, 18)); in dml20_rq_dlg_get_dlg_params() 1324 ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); in dml20_rq_dlg_get_dlg_params() 1325 ASSERT(refcyc_per_req_delivery_l < dml_pow(2, 13)); in dml20_rq_dlg_get_dlg_params() 1356 ASSERT(refcyc_per_req_delivery_pre_c < dml_pow(2, 13)); in dml20_rq_dlg_get_dlg_params() 1357 ASSERT(refcyc_per_req_delivery_c < dml_pow(2, 13)); in dml20_rq_dlg_get_dlg_params() 1399 ASSERT(disp_dlg_regs->refcyc_x_after_scaler < (unsigned int) dml_pow(2, 13)); in dml20_rq_dlg_get_dlg_params() [all …]
|
D | display_rq_dlg_calc_20v2.c | 930 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml20v2_rq_dlg_get_dlg_params() 932 * dml_pow(2, 8)); in dml20v2_rq_dlg_get_dlg_params() 936 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int) dml_pow(2, 13)); in dml20v2_rq_dlg_get_dlg_params() 946 + min_dst_y_ttu_vblank) * dml_pow(2, 2)); in dml20v2_rq_dlg_get_dlg_params() 947 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int) dml_pow(2, 18)); in dml20v2_rq_dlg_get_dlg_params() 1325 ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); in dml20v2_rq_dlg_get_dlg_params() 1326 ASSERT(refcyc_per_req_delivery_l < dml_pow(2, 13)); in dml20v2_rq_dlg_get_dlg_params() 1357 ASSERT(refcyc_per_req_delivery_pre_c < dml_pow(2, 13)); in dml20v2_rq_dlg_get_dlg_params() 1358 ASSERT(refcyc_per_req_delivery_c < dml_pow(2, 13)); in dml20v2_rq_dlg_get_dlg_params() 1400 ASSERT(disp_dlg_regs->refcyc_x_after_scaler < (unsigned int) dml_pow(2, 13)); in dml20v2_rq_dlg_get_dlg_params() [all …]
|
D | display_mode_vba_20.c | 289 / dml_pow( in adjust_ReturnBW() 3469 dml_pow((locals->ReturnBWToDCNPerState * locals->UrgentLatency in dml20_ModeSupportAndSystemConfigurationFull() 3492 dml_pow((locals->ReturnBWToDCNPerState * locals->UrgentLatency in dml20_ModeSupportAndSystemConfigurationFull()
|
D | display_mode_vba_20v2.c | 313 / dml_pow( in adjust_ReturnBW() 3576 dml_pow((locals->ReturnBWToDCNPerState * locals->UrgentLatency in dml20v2_ModeSupportAndSystemConfigurationFull() 3599 dml_pow((locals->ReturnBWToDCNPerState * locals->UrgentLatency in dml20v2_ModeSupportAndSystemConfigurationFull()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 1154 (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml1_rq_dlg_get_dlg_params() 1156 * dml_pow(2, 8)); in dml1_rq_dlg_get_dlg_params() 1159 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int) dml_pow(2, 13)); in dml1_rq_dlg_get_dlg_params() 1176 + min_dst_y_ttu_vblank) * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params() 1177 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int) dml_pow(2, 18)); in dml1_rq_dlg_get_dlg_params() 1441 ASSERT(disp_dlg_regs->refcyc_x_after_scaler < (unsigned int) dml_pow(2, 13)); in dml1_rq_dlg_get_dlg_params() 1451 disp_dlg_regs->dst_y_prefetch = (unsigned int) (dst_y_prefetch * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params() 1462 disp_dlg_regs->dst_y_per_vm_vblank = (unsigned int) (dst_y_per_vm_vblank * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params() 1466 disp_dlg_regs->dst_y_per_row_vblank = (unsigned int) (dst_y_per_row_vblank * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params() 1520 disp_dlg_regs->vratio_prefetch = (unsigned int) dml_pow(2, 21) - 1; in dml1_rq_dlg_get_dlg_params() [all …]
|
D | dml_inline_defs.h | 100 static inline double dml_pow(double a, int exp) in dml_pow() function
|