/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/ ! |
D | display_rq_dlg_calc_31.c | 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() 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() 142 …if ((double) rq_param->misc.rq_l.stored_swath_bytes / (double) rq_param->misc.rq_c.stored_swath_by… in extract_rq_regs() 161 …dml_print("DML_DLG: %s: rq_c.stored_swath_bytes = %0d\n", __func__, rq_param->misc.rq_c.stored_swa… in extract_rq_regs() 163 dml_print("DML_DLG: %s: rq_c.swath_height = %0d\n", __func__, rq_param->dlg.rq_c.swath_height); in extract_rq_regs() 183 full_swath_bytes_packed_c = rq_param->misc.rq_c.full_swath_bytes; in handle_det_buf_split() 192 …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() 251 rq_param->misc.rq_c.stored_swath_bytes = swath_bytes_c; in handle_det_buf_split() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/ ! |
D | display_rq_dlg_calc_314.c | 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() 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() 230 …if ((double) rq_param->misc.rq_l.stored_swath_bytes / (double) rq_param->misc.rq_c.stored_swath_by… in extract_rq_regs() 249 …dml_print("DML_DLG: %s: rq_c.stored_swath_bytes = %0d\n", __func__, rq_param->misc.rq_c.stored_swa… in extract_rq_regs() 251 dml_print("DML_DLG: %s: rq_c.swath_height = %0d\n", __func__, rq_param->dlg.rq_c.swath_height); in extract_rq_regs() 271 full_swath_bytes_packed_c = rq_param->misc.rq_c.full_swath_bytes; in handle_det_buf_split() 280 …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() 339 rq_param->misc.rq_c.stored_swath_bytes = swath_bytes_c; in handle_det_buf_split() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/ ! |
D | display_rq_dlg_calc_20.c | 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() 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() 322 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split() [all …]
|
D | display_rq_dlg_calc_20v2.c | 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() 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() 322 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/ ! |
D | display_rq_dlg_calc_30.c | 126 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-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/ ! |
D | display_rq_dlg_calc_21.c | 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() 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() 306 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/ ! |
D | dml1_display_rq_dlg_calc.c | 241 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() 982 &(rq_param->sizing.rq_c), in dml1_rq_dlg_get_rq_params() [all …]
|
D | display_rq_dlg_helpers.c | 36 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()
|
D | display_mode_structs.h | 597 display_data_rq_dlg_params_st rq_c; member 602 display_data_rq_sizing_params_st rq_c; member 607 display_data_rq_misc_params_st rq_c; member
|