Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c112 …ruct display_mode_lib *mode_lib, display_rq_regs_st *rq_regs, const display_rq_params_st *rq_param) in extract_rq_regs() argument
117 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs()
119 …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()
121 if (rq_param->yuv420) { in extract_rq_regs()
122 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs()
123 …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()
126 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param->dlg.rq_l.swath_height); in extract_rq_regs()
127 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
131 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs()
141 if (rq_param->yuv420) { in extract_rq_regs()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c200 …ruct display_mode_lib *mode_lib, display_rq_regs_st *rq_regs, const display_rq_params_st *rq_param) in extract_rq_regs() argument
205 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs()
207 …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()
209 if (rq_param->yuv420) { in extract_rq_regs()
210 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs()
211 …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()
214 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param->dlg.rq_l.swath_height); in extract_rq_regs()
215 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
219 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs()
229 if (rq_param->yuv420) { in extract_rq_regs()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c117 const display_rq_params_st *rq_param) in extract_rq_regs() argument
122 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs()
124 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()
127 if (rq_param->yuv420) { in extract_rq_regs()
128 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs()
129 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()
133 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param->dlg.rq_l.swath_height); in extract_rq_regs()
134 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
138 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs()
147 if (rq_param->yuv420) { in extract_rq_regs()
[all …]
/Linux-v6.1/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-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c169 const display_rq_params_st *rq_param) in extract_rq_regs() argument
174 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs()
177 dml_log2(rq_param->dlg.rq_l.dpte_row_height), in extract_rq_regs()
180 if (rq_param->yuv420) { in extract_rq_regs()
181 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs()
183 dml_log2(rq_param->dlg.rq_c.dpte_row_height), in extract_rq_regs()
187 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param->dlg.rq_l.swath_height); in extract_rq_regs()
188 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
192 if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024) { //32kb in extract_rq_regs()
201 if (rq_param->yuv420) { in extract_rq_regs()
[all …]
/Linux-v6.1/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 …_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_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.h36 const struct _vcs_dpi_display_rq_params_st *rq_param);
47 struct _vcs_dpi_display_rq_params_st *rq_param,
Ddisplay_rq_dlg_helpers.h34 …params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_rq_params_st *rq_param);
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtrap.c62 struct mlx5e_rq_param *rq_param = &t->rq_param; in mlx5e_open_trap_rq() local
76 err = mlx5e_open_cq(priv, trap_moder, &rq_param->cqp, &ccp, &rq->cq); in mlx5e_open_trap_rq()
81 err = mlx5e_open_rq(&t->params, rq_param, NULL, node, rq); in mlx5e_open_trap_rq()
126 mlx5e_build_rq_param(mdev, params, NULL, q_counter, &t->rq_param); in mlx5e_build_trap_params()
Dtrap.h29 struct mlx5e_rq_param rq_param; member
Dparams.h111 struct mlx5e_rq_param *rq_param);
114 struct mlx5e_rq_param *rq_param);
Dptp.c19 struct mlx5e_rq_param rq_param; member
457 cq_param = &cparams->rq_param.cqp; in mlx5e_ptp_open_rx_cq()
493 struct mlx5e_rq_param *rq_params = &ptp_params->rq_param; in mlx5e_ptp_build_rq_param()
552 struct mlx5e_rq_param *rq_param) in mlx5e_ptp_open_rq() argument
561 return mlx5e_open_rq(params, rq_param, NULL, node, &c->rq); in mlx5e_ptp_open_rq()
583 err = mlx5e_ptp_open_rq(c, &cparams->params, &cparams->rq_param); in mlx5e_ptp_open_queues()
Dparams.c1023 struct mlx5e_rq_param *rq_param) in mlx5e_shampo_hd_per_wqe() argument
1045 struct mlx5e_rq_param *rq_param) in mlx5e_shampo_hd_per_wq() argument
1047 void *wqc = MLX5_ADDR_OF(rqc, rq_param->rqc, wq); in mlx5e_shampo_hd_per_wq()
1051 hd_per_wqe = mlx5e_shampo_hd_per_wqe(mdev, params, rq_param); in mlx5e_shampo_hd_per_wq()
1058 struct mlx5e_rq_param *rq_param) in mlx5e_shampo_icosq_sz() argument
1061 void *wqc = MLX5_ADDR_OF(rqc, rq_param->rqc, wq); in mlx5e_shampo_icosq_sz()
1066 max_hd_per_wqe = mlx5e_shampo_hd_per_wqe(mdev, params, rq_param); in mlx5e_shampo_icosq_sz()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c462 struct _vcs_dpi_display_rq_params_st *rq_param = &pipe->dml_rq_param; in dcn_bw_calc_rq_dlg_ttu() local
473 memset(rq_param, 0, sizeof(*rq_param)); in dcn_bw_calc_rq_dlg_ttu()
507 dml1_rq_dlg_get_rq_params(dml, rq_param, &input->pipe.src); in dcn_bw_calc_rq_dlg_ttu()
508 dml1_extract_rq_regs(dml, rq_regs, rq_param); in dcn_bw_calc_rq_dlg_ttu()
513 &rq_param->dlg, in dcn_bw_calc_rq_dlg_ttu()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3176 struct mlx5e_rq_param rq_param = {}; in mlx5e_open_drop_rq() local
3180 mlx5e_build_drop_rq_param(mdev, priv->drop_rq_q_counter, &rq_param); in mlx5e_open_drop_rq()
3190 err = mlx5e_alloc_drop_rq(mdev, drop_rq, &rq_param); in mlx5e_open_drop_rq()
3194 err = mlx5e_create_rq(drop_rq, &rq_param); in mlx5e_open_drop_rq()