Home
last modified time | relevance | path

Searched refs:rq_c (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20.c202 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()
208 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
223 / (double) rq_param->misc.rq_c.stored_swath_bytes <= 1.5) { in extract_rq_regs()
252 full_swath_bytes_packed_c = rq_param->misc.rq_c.full_swath_bytes; in handle_det_buf_split()
258 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2 / 3, in handle_det_buf_split()
291 rq_param->misc.rq_c.stored_swath_bytes = swath_bytes_c; in handle_det_buf_split()
302 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
305 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
319 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split()
[all …]
H A Ddisplay_rq_dlg_calc_20v2.c202 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()
208 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
223 / (double) rq_param->misc.rq_c.stored_swath_bytes <= 1.5) { in extract_rq_regs()
252 full_swath_bytes_packed_c = rq_param->misc.rq_c.full_swath_bytes; in handle_det_buf_split()
258 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2 / 3, in handle_det_buf_split()
291 rq_param->misc.rq_c.stored_swath_bytes = swath_bytes_c; in handle_det_buf_split()
302 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
305 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
319 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c181 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()
188 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
203 / (double) rq_param->misc.rq_c.stored_swath_bytes <= 1.5) { in extract_rq_regs()
234 full_swath_bytes_packed_c = rq_param->misc.rq_c.full_swath_bytes; in handle_det_buf_split()
242 rq_param->misc.rq_c.full_swath_bytes * 2 / 3, in handle_det_buf_split()
275 rq_param->misc.rq_c.stored_swath_bytes = swath_bytes_c; in handle_det_buf_split()
286 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
289 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
303 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c126 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs()
127 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()
132 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.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()
147 / (double)rq_param->misc.rq_c.stored_swath_bytes <= 1.5) { in extract_rq_regs()
176 full_swath_bytes_packed_c = rq_param->misc.rq_c.full_swath_bytes; in handle_det_buf_split()
182 …full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2.0 / 3.0, in handle_det_buf_split()
234 rq_param->misc.rq_c.stored_swath_bytes = swath_bytes_c; in handle_det_buf_split()
245 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
248 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c241 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); 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()
260 / (double) rq_param->misc.rq_c.stored_swath_bytes <= 1.5) { in dml1_extract_rq_regs()
291 full_swath_bytes_packed_c = rq_param->misc.rq_c.full_swath_bytes; in handle_det_buf_split()
299 rq_param->misc.rq_c.full_swath_bytes * 2 / 3, in handle_det_buf_split()
342 rq_param->misc.rq_c.stored_swath_bytes = swath_bytes_c; in handle_det_buf_split()
353 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
356 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
373 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split()
981 &(rq_param->sizing.rq_c), in dml1_rq_dlg_get_rq_params()
[all …]
H A Ddisplay_rq_dlg_helpers.c36 print__data_rq_sizing_params_st(mode_lib, &rq_param->sizing.rq_c); in print__rq_params_st()
41 print__data_rq_dlg_params_st(mode_lib, &rq_param->dlg.rq_c); in print__rq_params_st()
46 print__data_rq_misc_params_st(mode_lib, &rq_param->misc.rq_c); in print__rq_params_st()
132 print__data_rq_dlg_params_st(mode_lib, &rq_dlg_param->rq_c); in print__rq_dlg_params_st()
H A Ddisplay_mode_structs.h598 display_data_rq_dlg_params_st rq_c; member
603 display_data_rq_sizing_params_st rq_c; member
608 display_data_rq_misc_params_st rq_c; member