Home
last modified time | relevance | path

Searched refs:rq_param (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c40 display_rq_params_st * rq_param,
191 const display_rq_params_st rq_param) in extract_rq_regs() argument
196 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
198 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs()
201 if (rq_param.yuv420) { in extract_rq_regs()
202 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in extract_rq_regs()
203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs()
207 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
208 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in extract_rq_regs()
212 if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024) { //32kb in extract_rq_regs()
[all …]
Ddisplay_rq_dlg_calc_20v2.c40 display_rq_params_st * rq_param,
191 const display_rq_params_st rq_param) in extract_rq_regs() argument
196 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
198 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs()
201 if (rq_param.yuv420) { in extract_rq_regs()
202 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in extract_rq_regs()
203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs()
207 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
208 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in extract_rq_regs()
212 if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024) { //32kb in extract_rq_regs()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c170 const display_rq_params_st rq_param) in extract_rq_regs() argument
175 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
178 dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs()
181 if (rq_param.yuv420) { in extract_rq_regs()
182 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in extract_rq_regs()
184 dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs()
188 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
189 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in extract_rq_regs()
193 if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024) { //32kb in extract_rq_regs()
202 if (rq_param.yuv420) { in extract_rq_regs()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c234 const struct _vcs_dpi_display_rq_params_st rq_param) in dml1_extract_rq_regs() argument
239 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in dml1_extract_rq_regs()
240 if (rq_param.yuv420) in dml1_extract_rq_regs()
241 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in dml1_extract_rq_regs()
243 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in dml1_extract_rq_regs()
244 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in dml1_extract_rq_regs()
249 if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024) { /*32kb */ in dml1_extract_rq_regs()
258 if (rq_param.yuv420) { in dml1_extract_rq_regs()
259 if ((double) rq_param.misc.rq_l.stored_swath_bytes in dml1_extract_rq_regs()
260 / (double) rq_param.misc.rq_c.stored_swath_bytes <= 1.5) { in dml1_extract_rq_regs()
[all …]
Ddisplay_rq_dlg_helpers.c29 void print__rq_params_st(struct display_mode_lib *mode_lib, display_rq_params_st rq_param) in print__rq_params_st() argument
34 print__data_rq_sizing_params_st(mode_lib, rq_param.sizing.rq_l); in print__rq_params_st()
36 print__data_rq_sizing_params_st(mode_lib, rq_param.sizing.rq_c); in print__rq_params_st()
39 print__data_rq_dlg_params_st(mode_lib, rq_param.dlg.rq_l); in print__rq_params_st()
41 print__data_rq_dlg_params_st(mode_lib, rq_param.dlg.rq_c); in print__rq_params_st()
44 print__data_rq_misc_params_st(mode_lib, rq_param.misc.rq_l); in print__rq_params_st()
46 print__data_rq_misc_params_st(mode_lib, rq_param.misc.rq_c); in print__rq_params_st()
Ddml1_display_rq_dlg_calc.h38 const struct _vcs_dpi_display_rq_params_st rq_param);
49 struct _vcs_dpi_display_rq_params_st *rq_param,
Ddisplay_rq_dlg_helpers.h35 void print__rq_params_st(struct display_mode_lib *mode_lib, display_rq_params_st rq_param);
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c451 struct _vcs_dpi_display_rq_params_st rq_param = {0}; in dcn_bw_calc_rq_dlg_ttu() local
494 dml1_rq_dlg_get_rq_params(dml, &rq_param, input.pipe.src); in dcn_bw_calc_rq_dlg_ttu()
495 dml1_extract_rq_regs(dml, rq_regs, rq_param); in dcn_bw_calc_rq_dlg_ttu()
500 rq_param.dlg, in dcn_bw_calc_rq_dlg_ttu()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3129 struct mlx5e_rq_param rq_param = {}; in mlx5e_open_drop_rq() local
3133 mlx5e_build_drop_rq_param(priv, &rq_param); in mlx5e_open_drop_rq()
3143 err = mlx5e_alloc_drop_rq(mdev, drop_rq, &rq_param); in mlx5e_open_drop_rq()
3147 err = mlx5e_create_rq(drop_rq, &rq_param); in mlx5e_open_drop_rq()