Home
last modified time | relevance | path

Searched refs:rq_l (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c239 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); 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()
249 if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024) { /*32kb */ in dml1_extract_rq_regs()
259 if ((double) rq_param.misc.rq_l.stored_swath_bytes in dml1_extract_rq_regs()
290 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
295 rq_param->misc.rq_l.full_swath_bytes * 2 / 3, in handle_det_buf_split()
341 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
352 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
355 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
372 rq_param->dlg.rq_l.swath_height = 1 << log2_swath_height_l; in handle_det_buf_split()
[all …]
Ddisplay_rq_dlg_helpers.c34 print__data_rq_sizing_params_st(mode_lib, rq_param.sizing.rq_l); in print__rq_params_st()
39 print__data_rq_dlg_params_st(mode_lib, rq_param.dlg.rq_l); in print__rq_params_st()
44 print__data_rq_misc_params_st(mode_lib, rq_param.misc.rq_l); in print__rq_params_st()
130 print__data_rq_dlg_params_st(mode_lib, rq_dlg_param.rq_l); in print__rq_dlg_params_st()
Ddisplay_mode_structs.h421 display_data_rq_dlg_params_st rq_l; member
426 display_data_rq_sizing_params_st rq_l; member
431 display_data_rq_misc_params_st rq_l; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c196 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()
207 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
212 if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024) { //32kb in extract_rq_regs()
222 if ((double) rq_param.misc.rq_l.stored_swath_bytes in extract_rq_regs()
251 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
255 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2 / 3, in handle_det_buf_split()
290 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
301 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
304 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
[all …]
Ddisplay_rq_dlg_calc_20v2.c196 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()
207 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
212 if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024) { //32kb in extract_rq_regs()
222 if ((double) rq_param.misc.rq_l.stored_swath_bytes in extract_rq_regs()
251 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
255 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2 / 3, in handle_det_buf_split()
290 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
301 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
304 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c204 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
206 …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()
213 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
218 …if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param.yuv420 && rq_param.sizing.rq_c.chun… in extract_rq_regs()
229 …if ((double) rq_param.misc.rq_l.stored_swath_bytes / (double) rq_param.misc.rq_c.stored_swath_byte… in extract_rq_regs()
247 …dml_print("DML_DLG: %s: rq_l.stored_swath_bytes = %0d\n", __func__, rq_param.misc.rq_l.stored_swat… in extract_rq_regs()
249 dml_print("DML_DLG: %s: rq_l.swath_height = %0d\n", __func__, rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
269 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
278 …full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2.0 / 3.0… in handle_det_buf_split()
337 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c174 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()
187 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
192 if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024) { //32kb in extract_rq_regs()
202 if ((double) rq_param.misc.rq_l.stored_swath_bytes in extract_rq_regs()
233 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
238 rq_param->misc.rq_l.full_swath_bytes * 2 / 3, in handle_det_buf_split()
274 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
285 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
288 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c121 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
123 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()
132 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
137 …if (rq_param.sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param.yuv420 && rq_param.sizing.rq_c.chun… in extract_rq_regs()
147 if ((double)rq_param.misc.rq_l.stored_swath_bytes in extract_rq_regs()
176 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
180 …full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2.0 / 3.0, in handle_det_buf_split()
234 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
245 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
248 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
[all …]