/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 132 unsigned int swath_height, in get_vratio_pre() argument 139 vratio_pre = (max_num_sw * swath_height + max_partial_sw) / l_sw; in get_vratio_pre() 141 if (swath_height > 4) { in get_vratio_pre() 142 double tmp0 = (max_num_sw * swath_height) / (l_sw - (prefill - 3.0) / 2.0); in get_vratio_pre() 150 DTRACE("DLG: %s: swath_height = %0d", __func__, swath_height); in get_vratio_pre() 174 unsigned int swath_height, in get_swath_need() argument 180 DTRACE("DLG: %s: swath_height = %0d", __func__, swath_height); in get_swath_need() 185 …*max_num_sw = (unsigned int) (dml_ceil((prefill - 1.0) / (double) swath_height, 1) + 1.0); /* pref… in get_swath_need() 188 (swath_height - 1) : in get_swath_need() 189 ((unsigned int) (prefill - 2.0) % swath_height); in get_swath_need() [all …]
|
D | display_rq_dlg_helpers.c | 74 rq_dlg_param->swath_height); in print__data_rq_dlg_params_st() 168 dml_print("DML_RQ_DLG_CALC: swath_height = 0x%0x\n", rq_regs->swath_height); in print__data_rq_regs_st()
|
D | display_mode_structs.h | 580 unsigned int swath_height; member 702 unsigned int swath_height; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hubp.c | 157 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height, in hubp21_program_requestor() 165 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height, in hubp21_program_requestor() 279 SWATH_HEIGHT, &rq_regs.rq_regs_l.swath_height, in hubp21_validate_dml_output() 287 SWATH_HEIGHT_C, &rq_regs.rq_regs_c.swath_height, in hubp21_validate_dml_output() 324 if (rq_regs.rq_regs_l.swath_height != dml_rq_regs->rq_regs_l.swath_height) in hubp21_validate_dml_output() 326 dml_rq_regs->rq_regs_l.swath_height, rq_regs.rq_regs_l.swath_height); in hubp21_validate_dml_output() 346 if (rq_regs.rq_regs_c.swath_height != dml_rq_regs->rq_regs_c.swath_height) in hubp21_validate_dml_output() 348 dml_rq_regs->rq_regs_c.swath_height, rq_regs.rq_regs_c.swath_height); in hubp21_validate_dml_output()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hubp.c | 85 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height); in hubp201_program_requestor() 92 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height); in hubp201_program_requestor()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubp.c | 214 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height, in hubp2_program_requestor() 223 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height, in hubp2_program_requestor() 1311 SWATH_HEIGHT, &rq_regs->rq_regs_l.swath_height, in hubp2_read_state() 1321 SWATH_HEIGHT_C, &rq_regs->rq_regs_c.swath_height, in hubp2_read_state() 1354 SWATH_HEIGHT, &rq_regs.rq_regs_l.swath_height, in hubp2_validate_dml_output() 1363 SWATH_HEIGHT_C, &rq_regs.rq_regs_c.swath_height, in hubp2_validate_dml_output() 1400 if (rq_regs.rq_regs_l.swath_height != dml_rq_regs->rq_regs_l.swath_height) in hubp2_validate_dml_output() 1402 dml_rq_regs->rq_regs_l.swath_height, rq_regs.rq_regs_l.swath_height); in hubp2_validate_dml_output() 1425 if (rq_regs.rq_regs_c.swath_height != dml_rq_regs->rq_regs_c.swath_height) in hubp2_validate_dml_output() 1427 dml_rq_regs->rq_regs_c.swath_height, rq_regs.rq_regs_c.swath_height); in hubp2_validate_dml_output()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 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() 162 dml_print("DML_DLG: %s: rq_l.swath_height = %0d\n", __func__, rq_param->dlg.rq_l.swath_height); 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() 286 rq_param->dlg.rq_l.swath_height = 1 << log2_swath_height_l; in handle_det_buf_split() 287 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split() 294 dml_print("DML_DLG: %s: swath_height luma = %0d\n", __func__, rq_param->dlg.rq_l.swath_height); in handle_det_buf_split() 295 dml_print("DML_DLG: %s: swath_height chroma = %0d\n", __func__, rq_param->dlg.rq_c.swath_height); in handle_det_buf_split()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 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() 250 dml_print("DML_DLG: %s: rq_l.swath_height = %0d\n", __func__, rq_param->dlg.rq_l.swath_height); 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() 374 rq_param->dlg.rq_l.swath_height = 1 << log2_swath_height_l; in handle_det_buf_split() 375 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split() 382 dml_print("DML_DLG: %s: swath_height luma = %0d\n", __func__, rq_param->dlg.rq_l.swath_height); in handle_det_buf_split() 383 dml_print("DML_DLG: %s: swath_height chroma = %0d\n", __func__, rq_param->dlg.rq_c.swath_height); in handle_det_buf_split()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 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() 321 rq_param->dlg.rq_l.swath_height = 1 << log2_swath_height_l; in handle_det_buf_split() 322 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split()
|
D | display_rq_dlg_calc_20v2.c | 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() 321 rq_param->dlg.rq_l.swath_height = 1 << log2_swath_height_l; in handle_det_buf_split() 322 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 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() 305 rq_param->dlg.rq_l.swath_height = 1 << log2_swath_height_l; in handle_det_buf_split() 306 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 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() 266 rq_param->dlg.rq_l.swath_height = 1 << log2_swath_height_l; in handle_det_buf_split() 267 rq_param->dlg.rq_c.swath_height = 1 << log2_swath_height_c; in handle_det_buf_split()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubp.c | 444 SWATH_HEIGHT, &rq_regs->rq_regs_l.swath_height, in hubp3_read_state() 453 SWATH_HEIGHT_C, &rq_regs->rq_regs_c.swath_height, in hubp3_read_state()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubp.c | 572 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height, in hubp1_program_requestor() 581 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height, in hubp1_program_requestor() 1086 SWATH_HEIGHT, &rq_regs->rq_regs_l.swath_height, in hubp1_read_state() 1096 SWATH_HEIGHT_C, &rq_regs->rq_regs_c.swath_height, in hubp1_read_state()
|
D | dcn10_hw_sequencer_debug.c | 216 rq_regs->rq_regs_l.mpte_group_size, rq_regs->rq_regs_l.swath_height, in dcn10_get_rq_states() 220 rq_regs->rq_regs_c.swath_height, rq_regs->rq_regs_c.pte_row_height_linear); in dcn10_get_rq_states()
|
D | dcn10_hw_sequencer.c | 217 rq_regs->rq_regs_l.mpte_group_size, rq_regs->rq_regs_l.swath_height, in dcn10_log_hubp_states() 221 rq_regs->rq_regs_c.swath_height, rq_regs->rq_regs_c.pte_row_height_linear); in dcn10_log_hubp_states()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_rq_dlg_calc_32.c | 149 …rq_regs->rq_regs_l.swath_height = dml_log2(get_swath_height_l(mode_lib, e2e_pipe_param, num_pipes,… in dml32_rq_dlg_get_rq_reg() 150 …rq_regs->rq_regs_c.swath_height = dml_log2(get_swath_height_c(mode_lib, e2e_pipe_param, num_pipes,… in dml32_rq_dlg_get_rq_reg()
|