Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c117 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()
126 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param->dlg.rq_l.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()
142 …if ((double) rq_param->misc.rq_l.stored_swath_bytes / (double) rq_param->misc.rq_c.stored_swath_by… in extract_rq_regs()
160 …dml_print("DML_DLG: %s: rq_l.stored_swath_bytes = %0d\n", __func__, rq_param->misc.rq_l.stored_swa… in extract_rq_regs()
162 dml_print("DML_DLG: %s: rq_l.swath_height = %0d\n", __func__, rq_param->dlg.rq_l.swath_height); in extract_rq_regs()
182 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
191 …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()
250 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
[all …]
/linux-6.6.21/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.h596 display_data_rq_dlg_params_st rq_l; member
601 display_data_rq_sizing_params_st rq_l; member
606 display_data_rq_misc_params_st rq_l; member
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c205 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()
214 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param->dlg.rq_l.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()
230 …if ((double) rq_param->misc.rq_l.stored_swath_bytes / (double) rq_param->misc.rq_c.stored_swath_by… in extract_rq_regs()
248 …dml_print("DML_DLG: %s: rq_l.stored_swath_bytes = %0d\n", __func__, rq_param->misc.rq_l.stored_swa… in extract_rq_regs()
250 dml_print("DML_DLG: %s: rq_l.swath_height = %0d\n", __func__, rq_param->dlg.rq_l.swath_height); in extract_rq_regs()
270 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
279 …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()
338 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
[all …]
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c120 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs()
122 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()
131 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param->dlg.rq_l.swath_height); in extract_rq_regs()
136 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs()
146 if ((double)rq_param->misc.rq_l.stored_swath_bytes in extract_rq_regs()
175 full_swath_bytes_packed_l = rq_param->misc.rq_l.full_swath_bytes; in handle_det_buf_split()
179 …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()
233 rq_param->misc.rq_l.stored_swath_bytes = swath_bytes_l; in handle_det_buf_split()
244 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
247 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
[all …]