/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_rq_dlg_helpers.c | 136 …(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_dlg_sys_params_st *dlg_sys_param) in print__dlg_sys_params_st() argument 140 dml_print("DML_RQ_DLG_CALC: t_mclk_wm_us = %3.2f\n", dlg_sys_param->t_mclk_wm_us); in print__dlg_sys_params_st() 141 dml_print("DML_RQ_DLG_CALC: t_urg_wm_us = %3.2f\n", dlg_sys_param->t_urg_wm_us); in print__dlg_sys_params_st() 142 dml_print("DML_RQ_DLG_CALC: t_sr_wm_us = %3.2f\n", dlg_sys_param->t_sr_wm_us); in print__dlg_sys_params_st() 143 dml_print("DML_RQ_DLG_CALC: t_extra_us = %3.2f\n", dlg_sys_param->t_extra_us); in print__dlg_sys_params_st() 146 dlg_sys_param->deepsleep_dcfclk_mhz); in print__dlg_sys_params_st() 149 dlg_sys_param->total_flip_bw); in print__dlg_sys_params_st() 152 dlg_sys_param->total_flip_bytes); in print__dlg_sys_params_st()
|
D | dml1_display_rq_dlg_calc.h | 59 const struct _vcs_dpi_display_dlg_sys_params_st *dlg_sys_param,
|
D | display_rq_dlg_helpers.h | 39 …struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_dlg_sys_params_st *dlg_sys_param);
|
D | dml1_display_rq_dlg_calc.c | 1002 const struct _vcs_dpi_display_dlg_sys_params_st *dlg_sys_param, in dml1_rq_dlg_get_dlg_params() argument 1163 min_dcfclk_mhz = dlg_sys_param->deepsleep_dcfclk_mhz; in dml1_rq_dlg_get_dlg_params() 1165 min_ttu_vblank = dlg_sys_param->t_urg_wm_us; in dml1_rq_dlg_get_dlg_params() 1167 min_ttu_vblank = dml_max(dlg_sys_param->t_sr_wm_us, min_ttu_vblank); in dml1_rq_dlg_get_dlg_params() 1169 min_ttu_vblank = dml_max(dlg_sys_param->t_mclk_wm_us, min_ttu_vblank); in dml1_rq_dlg_get_dlg_params() 1407 flip_bw = ((vm_bytes + dpte_row_bytes + meta_row_bytes) * dlg_sys_param->total_flip_bw) in dml1_rq_dlg_get_dlg_params() 1408 / (double) dlg_sys_param->total_flip_bytes; in dml1_rq_dlg_get_dlg_params() 1412 dlg_sys_param->t_extra_us, in dml1_rq_dlg_get_dlg_params() 1422 t_r0_us = dml_max(dlg_sys_param->t_extra_us - t_vm_us, line_time_in_us - t_vm_us); in dml1_rq_dlg_get_dlg_params() 1427 dlg_sys_param->t_extra_us); in dml1_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 53 const display_dlg_sys_params_st *dlg_sys_param, 791 const display_dlg_sys_params_st *dlg_sys_param, in dml20_rq_dlg_get_dlg_params() argument 938 min_dcfclk_mhz = dlg_sys_param->deepsleep_dcfclk_mhz; in dml20_rq_dlg_get_dlg_params() 1562 display_dlg_sys_params_st dlg_sys_param = {0}; in dml20_rq_dlg_get_dlg_reg() local 1565 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); in dml20_rq_dlg_get_dlg_reg() 1566 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep(mode_lib, in dml20_rq_dlg_get_dlg_reg() 1569 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); in dml20_rq_dlg_get_dlg_reg() 1570 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); in dml20_rq_dlg_get_dlg_reg() 1571 dlg_sys_param.t_mclk_wm_us = get_wm_dram_clock_change(mode_lib, e2e_pipe_param, num_pipes); in dml20_rq_dlg_get_dlg_reg() 1572 dlg_sys_param.t_sr_wm_us = get_wm_stutter_enter_exit(mode_lib, e2e_pipe_param, num_pipes); in dml20_rq_dlg_get_dlg_reg() [all …]
|
D | display_rq_dlg_calc_20v2.c | 53 const display_dlg_sys_params_st *dlg_sys_param, 791 const display_dlg_sys_params_st *dlg_sys_param, in dml20v2_rq_dlg_get_dlg_params() argument 938 min_dcfclk_mhz = dlg_sys_param->deepsleep_dcfclk_mhz; in dml20v2_rq_dlg_get_dlg_params() 1563 display_dlg_sys_params_st dlg_sys_param = {0}; in dml20v2_rq_dlg_get_dlg_reg() local 1566 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); in dml20v2_rq_dlg_get_dlg_reg() 1567 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep(mode_lib, in dml20v2_rq_dlg_get_dlg_reg() 1570 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); in dml20v2_rq_dlg_get_dlg_reg() 1571 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); in dml20v2_rq_dlg_get_dlg_reg() 1572 dlg_sys_param.t_mclk_wm_us = get_wm_dram_clock_change(mode_lib, e2e_pipe_param, num_pipes); in dml20v2_rq_dlg_get_dlg_reg() 1573 dlg_sys_param.t_sr_wm_us = get_wm_stutter_enter_exit(mode_lib, e2e_pipe_param, num_pipes); in dml20v2_rq_dlg_get_dlg_reg() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 837 const display_dlg_sys_params_st *dlg_sys_param, in dml_rq_dlg_get_dlg_params() argument 984 min_dcfclk_mhz = dlg_sys_param->deepsleep_dcfclk_mhz; in dml_rq_dlg_get_dlg_params() 1671 display_dlg_sys_params_st dlg_sys_param = {0}; in dml21_rq_dlg_get_dlg_reg() local 1674 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); in dml21_rq_dlg_get_dlg_reg() 1675 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep( in dml21_rq_dlg_get_dlg_reg() 1679 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); in dml21_rq_dlg_get_dlg_reg() 1680 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); in dml21_rq_dlg_get_dlg_reg() 1681 dlg_sys_param.t_mclk_wm_us = get_wm_dram_clock_change(mode_lib, e2e_pipe_param, num_pipes); in dml21_rq_dlg_get_dlg_reg() 1682 dlg_sys_param.t_sr_wm_us = get_wm_stutter_enter_exit(mode_lib, e2e_pipe_param, num_pipes); in dml21_rq_dlg_get_dlg_reg() 1683 dlg_sys_param.total_flip_bw = get_total_immediate_flip_bw( in dml21_rq_dlg_get_dlg_reg() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 899 const display_dlg_sys_params_st dlg_sys_param, in dml_rq_dlg_get_dlg_params() argument 1051 min_dcfclk_mhz = dlg_sys_param.deepsleep_dcfclk_mhz; in dml_rq_dlg_get_dlg_params() 1755 display_dlg_sys_params_st dlg_sys_param = { 0 }; in dml30_rq_dlg_get_dlg_reg() local 1758 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); in dml30_rq_dlg_get_dlg_reg() 1759 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep(mode_lib, in dml30_rq_dlg_get_dlg_reg() 1762 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); in dml30_rq_dlg_get_dlg_reg() 1763 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); in dml30_rq_dlg_get_dlg_reg() 1764 dlg_sys_param.t_mclk_wm_us = get_wm_dram_clock_change(mode_lib, e2e_pipe_param, num_pipes); in dml30_rq_dlg_get_dlg_reg() 1765 dlg_sys_param.t_sr_wm_us = get_wm_stutter_enter_exit(mode_lib, e2e_pipe_param, num_pipes); in dml30_rq_dlg_get_dlg_reg() 1766 dlg_sys_param.total_flip_bw = get_total_immediate_flip_bw(mode_lib, in dml30_rq_dlg_get_dlg_reg() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 860 const display_dlg_sys_params_st *dlg_sys_param, in dml_rq_dlg_get_dlg_params() argument 1585 display_dlg_sys_params_st dlg_sys_param = {0}; in dml31_rq_dlg_get_dlg_reg() local 1588 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg() 1589 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg() 1590 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg() 1591 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg() 1592 dlg_sys_param.t_mclk_wm_us = get_wm_dram_clock_change(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg() 1593 dlg_sys_param.t_sr_wm_us = get_wm_stutter_enter_exit(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg() 1594 dlg_sys_param.total_flip_bw = get_total_immediate_flip_bw(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg() 1595 …dlg_sys_param.total_flip_bytes = get_total_immediate_flip_bytes(mode_lib, e2e_pipe_param, num_pipe… in dml31_rq_dlg_get_dlg_reg() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 945 const display_dlg_sys_params_st *dlg_sys_param, in dml_rq_dlg_get_dlg_params() argument 1700 display_dlg_sys_params_st dlg_sys_param = {0}; in dml314_rq_dlg_get_dlg_reg() local 1703 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg() 1704 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg() 1705 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg() 1706 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg() 1707 dlg_sys_param.t_mclk_wm_us = get_wm_dram_clock_change(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg() 1708 dlg_sys_param.t_sr_wm_us = get_wm_stutter_enter_exit(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg() 1709 dlg_sys_param.total_flip_bw = get_total_immediate_flip_bw(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg() 1710 …dlg_sys_param.total_flip_bytes = get_total_immediate_flip_bytes(mode_lib, e2e_pipe_param, num_pipe… in dml314_rq_dlg_get_dlg_reg() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 463 struct _vcs_dpi_display_dlg_sys_params_st *dlg_sys_param = &pipe->dml_dlg_sys_param; in dcn_bw_calc_rq_dlg_ttu() local 474 memset(dlg_sys_param, 0, sizeof(*dlg_sys_param)); in dcn_bw_calc_rq_dlg_ttu() 482 dlg_sys_param->total_flip_bw = v->return_bw - dcn_bw_max2(total_active_bw, total_prefetch_bw); in dcn_bw_calc_rq_dlg_ttu() 483 if (dlg_sys_param->total_flip_bw < 0.0) in dcn_bw_calc_rq_dlg_ttu() 484 dlg_sys_param->total_flip_bw = 0; in dcn_bw_calc_rq_dlg_ttu() 486 dlg_sys_param->t_mclk_wm_us = v->dram_clock_change_watermark; in dcn_bw_calc_rq_dlg_ttu() 487 dlg_sys_param->t_sr_wm_us = v->stutter_enter_plus_exit_watermark; in dcn_bw_calc_rq_dlg_ttu() 488 dlg_sys_param->t_urg_wm_us = v->urgent_watermark; in dcn_bw_calc_rq_dlg_ttu() 489 dlg_sys_param->t_extra_us = v->urgent_extra_latency; in dcn_bw_calc_rq_dlg_ttu() 490 dlg_sys_param->deepsleep_dcfclk_mhz = v->dcf_clk_deep_sleep; in dcn_bw_calc_rq_dlg_ttu() [all …]
|