Home
last modified time | relevance | path

Searched refs:dlg_sys_param (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_rq_dlg_helpers.c136 …(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()
Ddml1_display_rq_dlg_calc.h59 const struct _vcs_dpi_display_dlg_sys_params_st *dlg_sys_param,
Ddisplay_rq_dlg_helpers.h39 …struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_dlg_sys_params_st *dlg_sys_param);
Ddml1_display_rq_dlg_calc.c1002 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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c53 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 …]
Ddisplay_rq_dlg_calc_20v2.c53 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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c837 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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c897 const display_dlg_sys_params_st dlg_sys_param, in dml_rq_dlg_get_dlg_params() argument
1049 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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c860 const display_dlg_sys_params_st *dlg_sys_param, in dml_rq_dlg_get_dlg_params() argument
1574 display_dlg_sys_params_st dlg_sys_param = {0}; in dml31_rq_dlg_get_dlg_reg() local
1577 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg()
1578 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg()
1579 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg()
1580 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); in dml31_rq_dlg_get_dlg_reg()
1581 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()
1582 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()
1583 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()
1584dlg_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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c945 const display_dlg_sys_params_st *dlg_sys_param, in dml_rq_dlg_get_dlg_params() argument
1662 display_dlg_sys_params_st dlg_sys_param = {0}; in dml314_rq_dlg_get_dlg_reg() local
1665 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg()
1666 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg()
1667 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg()
1668 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); in dml314_rq_dlg_get_dlg_reg()
1669 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()
1670 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()
1671 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()
1672dlg_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.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c463 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 …]