/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 112 …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/ |
D | display_rq_dlg_calc_314.c | 200 …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/ |
D | display_rq_dlg_calc_30.c | 117 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/ |
D | display_rq_dlg_calc_20.c | 40 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 …]
|
D | display_rq_dlg_calc_20v2.c | 40 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/ |
D | display_rq_dlg_calc_21.c | 169 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/ |
D | dml1_display_rq_dlg_calc.c | 234 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 …]
|
D | display_rq_dlg_helpers.c | 29 …_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()
|
D | dml1_display_rq_dlg_calc.h | 36 const struct _vcs_dpi_display_rq_params_st *rq_param); 47 struct _vcs_dpi_display_rq_params_st *rq_param,
|
D | display_rq_dlg_helpers.h | 34 …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/ |
D | trap.c | 62 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()
|
D | trap.h | 29 struct mlx5e_rq_param rq_param; member
|
D | params.h | 111 struct mlx5e_rq_param *rq_param); 114 struct mlx5e_rq_param *rq_param);
|
D | ptp.c | 19 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()
|
D | params.c | 1023 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/ |
D | dcn_calcs.c | 462 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/ |
D | en_main.c | 3176 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()
|