/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_rq_dlg_calc_32.c | 555 ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() 556 ASSERT(refcyc_per_req_delivery_l < dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() 557 ASSERT(refcyc_per_req_delivery_pre_c < dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() 558 ASSERT(refcyc_per_req_delivery_c < dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() 560 dlg_regs->refcyc_per_vm_group_vblank = dml_pow(2, 23) - 1; in dml32_rq_dlg_get_dlg_reg() 563 dlg_regs->refcyc_per_vm_group_flip = dml_pow(2, 23) - 1; in dml32_rq_dlg_get_dlg_reg() 566 dlg_regs->refcyc_per_vm_req_vblank = dml_pow(2, 23) - 1; in dml32_rq_dlg_get_dlg_reg() 569 dlg_regs->refcyc_per_vm_req_flip = dml_pow(2, 23) - 1; in dml32_rq_dlg_get_dlg_reg() 607 ASSERT(ttu_regs->qos_level_low_wm < dml_pow(2, 14)); in dml32_rq_dlg_get_dlg_reg() 608 ASSERT(ttu_regs->qos_level_high_wm < dml_pow(2, 14)); in dml32_rq_dlg_get_dlg_reg() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A 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() 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() 1466 disp_dlg_regs->refcyc_per_vm_group_flip = dml_pow(2, 23) - 1; in dml_rq_dlg_get_dlg_params() 1469 disp_dlg_regs->refcyc_per_vm_req_vblank = dml_pow(2, 23) - 1; in dml_rq_dlg_get_dlg_params() 1472 disp_dlg_regs->refcyc_per_vm_req_flip = dml_pow(2, 23) - 1; in dml_rq_dlg_get_dlg_params() 1483 (unsigned int) dml_pow(2, 17) - 1); in dml_rq_dlg_get_dlg_params() 1540 ASSERT(disp_ttu_regs->qos_level_low_wm < dml_pow(2, 14)); in dml_rq_dlg_get_dlg_params() 1543 ASSERT(disp_ttu_regs->qos_level_high_wm < dml_pow(2, 14)); in dml_rq_dlg_get_dlg_params() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 978 * dml_pow(2, 8)); in dml_rq_dlg_get_dlg_params() 1502 < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1546 / (double) vratio_l * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 1557 (unsigned int)dml_pow(2, 17) - 1); in dml_rq_dlg_get_dlg_params() 1562 / (double) vratio_l * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 1621 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() 1623 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() 1625 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() 1627 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() 1631 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 1046 * dml_pow(2, 8)); in dml_rq_dlg_get_dlg_params() 1057 ) * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 1592 < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 1634 / (double)vratio_l * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 1644 (unsigned int)dml_pow(2, 17) - 1); in dml_rq_dlg_get_dlg_params() 1706 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() 1708 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() 1710 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() 1712 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() 1716 * dml_pow(2, 10)); in dml_rq_dlg_get_dlg_params() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A 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() 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() 1554 disp_dlg_regs->refcyc_per_vm_group_flip = dml_pow(2, 23) - 1; in dml_rq_dlg_get_dlg_params() 1557 disp_dlg_regs->refcyc_per_vm_req_vblank = dml_pow(2, 23) - 1; in dml_rq_dlg_get_dlg_params() 1560 disp_dlg_regs->refcyc_per_vm_req_flip = dml_pow(2, 23) - 1; in dml_rq_dlg_get_dlg_params() 1571 (unsigned int) dml_pow(2, 17) - 1); in dml_rq_dlg_get_dlg_params() 1628 ASSERT(disp_ttu_regs->qos_level_low_wm < dml_pow(2, 14)); in dml_rq_dlg_get_dlg_params() 1631 ASSERT(disp_ttu_regs->qos_level_high_wm < dml_pow(2, 14)); in dml_rq_dlg_get_dlg_params() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20.c | 932 * dml_pow(2, 8)); in dml20_rq_dlg_get_dlg_params() 1419 < (unsigned int) dml_pow(2, 13)); in dml20_rq_dlg_get_dlg_params() 1443 / (double) vratio_l * dml_pow(2, 2)); in dml20_rq_dlg_get_dlg_params() 1453 (unsigned int) dml_pow(2, 17) - 1); in dml20_rq_dlg_get_dlg_params() 1458 / (double) vratio_l * dml_pow(2, 2)); in dml20_rq_dlg_get_dlg_params() 1513 * dml_pow(2, 10)); in dml20_rq_dlg_get_dlg_params() 1515 * dml_pow(2, 10)); in dml20_rq_dlg_get_dlg_params() 1517 * dml_pow(2, 10)); in dml20_rq_dlg_get_dlg_params() 1519 * dml_pow(2, 10)); in dml20_rq_dlg_get_dlg_params() 1523 * dml_pow(2, 10)); in dml20_rq_dlg_get_dlg_params() [all …]
|
H A D | display_rq_dlg_calc_20v2.c | 932 * dml_pow(2, 8)); in dml20v2_rq_dlg_get_dlg_params() 1420 < (unsigned int) dml_pow(2, 13)); in dml20v2_rq_dlg_get_dlg_params() 1444 / (double) vratio_l * dml_pow(2, 2)); in dml20v2_rq_dlg_get_dlg_params() 1454 (unsigned int) dml_pow(2, 17) - 1); in dml20v2_rq_dlg_get_dlg_params() 1459 / (double) vratio_l * dml_pow(2, 2)); in dml20v2_rq_dlg_get_dlg_params() 1514 * dml_pow(2, 10)); in dml20v2_rq_dlg_get_dlg_params() 1516 * dml_pow(2, 10)); in dml20v2_rq_dlg_get_dlg_params() 1518 * dml_pow(2, 10)); in dml20v2_rq_dlg_get_dlg_params() 1520 * dml_pow(2, 10)); in dml20v2_rq_dlg_get_dlg_params() 1524 * dml_pow(2, 10)); in dml20v2_rq_dlg_get_dlg_params() [all …]
|
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml1_display_rq_dlg_calc.c | 1156 * dml_pow(2, 8)); in dml1_rq_dlg_get_dlg_params() 1176 + min_dst_y_ttu_vblank) * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params() 1560 / (double) vratio_l * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params() 1564 / (double) vratio_c * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params() 1568 / (double) vratio_l * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params() 1777 * dml_pow(2, 10)); in dml1_rq_dlg_get_dlg_params() 1779 * dml_pow(2, 10)); in dml1_rq_dlg_get_dlg_params() 1781 ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); in dml1_rq_dlg_get_dlg_params() 1782 ASSERT(refcyc_per_req_delivery_l < dml_pow(2, 13)); in dml1_rq_dlg_get_dlg_params() 1816 * dml_pow(2, 10)); in dml1_rq_dlg_get_dlg_params() [all …]
|
H A D | dml_inline_defs.h | 100 static inline double dml_pow(double a, int exp) in dml_pow() function
|