/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn21/ |
D | dcn21_hubp.c | 153 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp21_program_requestor() 154 MIN_CHUNK_SIZE, rq_regs->rq_regs_l.min_chunk_size, in hubp21_program_requestor() 155 META_CHUNK_SIZE, rq_regs->rq_regs_l.meta_chunk_size, in hubp21_program_requestor() 156 MIN_META_CHUNK_SIZE, rq_regs->rq_regs_l.min_meta_chunk_size, in hubp21_program_requestor() 157 DPTE_GROUP_SIZE, rq_regs->rq_regs_l.dpte_group_size, in hubp21_program_requestor() 158 VM_GROUP_SIZE, rq_regs->rq_regs_l.mpte_group_size, in hubp21_program_requestor() 159 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height, in hubp21_program_requestor() 160 PTE_ROW_HEIGHT_LINEAR, rq_regs->rq_regs_l.pte_row_height_linear); in hubp21_program_requestor() 275 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp21_validate_dml_output() 276 MIN_CHUNK_SIZE, &rq_regs.rq_regs_l.min_chunk_size, in hubp21_validate_dml_output() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
D | dcn20_hubp.c | 210 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp2_program_requestor() 211 MIN_CHUNK_SIZE, rq_regs->rq_regs_l.min_chunk_size, in hubp2_program_requestor() 212 META_CHUNK_SIZE, rq_regs->rq_regs_l.meta_chunk_size, in hubp2_program_requestor() 213 MIN_META_CHUNK_SIZE, rq_regs->rq_regs_l.min_meta_chunk_size, in hubp2_program_requestor() 214 DPTE_GROUP_SIZE, rq_regs->rq_regs_l.dpte_group_size, in hubp2_program_requestor() 215 MPTE_GROUP_SIZE, rq_regs->rq_regs_l.mpte_group_size, in hubp2_program_requestor() 216 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height, in hubp2_program_requestor() 217 PTE_ROW_HEIGHT_LINEAR, rq_regs->rq_regs_l.pte_row_height_linear); in hubp2_program_requestor() 1316 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp2_read_state() 1317 MIN_CHUNK_SIZE, &rq_regs->rq_regs_l.min_chunk_size, in hubp2_read_state() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn201/ |
D | dcn201_hubp.c | 82 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp201_program_requestor() 83 MIN_CHUNK_SIZE, rq_regs->rq_regs_l.min_chunk_size, in hubp201_program_requestor() 84 META_CHUNK_SIZE, rq_regs->rq_regs_l.meta_chunk_size, in hubp201_program_requestor() 85 MIN_META_CHUNK_SIZE, rq_regs->rq_regs_l.min_meta_chunk_size, in hubp201_program_requestor() 86 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height); in hubp201_program_requestor()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_utils.c | 152 out->rq_regs.rq_regs_l.chunk_size = rq_regs->rq_regs_l.chunk_size; in dml21_update_pipe_ctx_dchub_regs() 153 out->rq_regs.rq_regs_l.min_chunk_size = rq_regs->rq_regs_l.min_chunk_size; in dml21_update_pipe_ctx_dchub_regs() 156 out->rq_regs.rq_regs_l.dpte_group_size = rq_regs->rq_regs_l.dpte_group_size; in dml21_update_pipe_ctx_dchub_regs() 157 out->rq_regs.rq_regs_l.mpte_group_size = rq_regs->rq_regs_l.mpte_group_size; in dml21_update_pipe_ctx_dchub_regs() 158 out->rq_regs.rq_regs_l.swath_height = rq_regs->rq_regs_l.swath_height; in dml21_update_pipe_ctx_dchub_regs() 159 out->rq_regs.rq_regs_l.pte_row_height_linear = rq_regs->rq_regs_l.pte_row_height_linear; in dml21_update_pipe_ctx_dchub_regs()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn10/ |
D | dcn10_hubp.c | 566 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp1_program_requestor() 567 MIN_CHUNK_SIZE, rq_regs->rq_regs_l.min_chunk_size, in hubp1_program_requestor() 568 META_CHUNK_SIZE, rq_regs->rq_regs_l.meta_chunk_size, in hubp1_program_requestor() 569 MIN_META_CHUNK_SIZE, rq_regs->rq_regs_l.min_meta_chunk_size, in hubp1_program_requestor() 570 DPTE_GROUP_SIZE, rq_regs->rq_regs_l.dpte_group_size, in hubp1_program_requestor() 571 MPTE_GROUP_SIZE, rq_regs->rq_regs_l.mpte_group_size, in hubp1_program_requestor() 572 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height, in hubp1_program_requestor() 573 PTE_ROW_HEIGHT_LINEAR, rq_regs->rq_regs_l.pte_row_height_linear); in hubp1_program_requestor() 1081 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp1_read_state() 1082 MIN_CHUNK_SIZE, &rq_regs->rq_regs_l.min_chunk_size, in hubp1_read_state() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_rq_dlg_calc_32.c | 98 rq_regs->rq_regs_l.chunk_size = dml_log2(pixel_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg() 102 rq_regs->rq_regs_l.min_chunk_size = 0; in dml32_rq_dlg_get_rq_reg() 104 rq_regs->rq_regs_l.min_chunk_size = dml_log2(min_pixel_chunk_bytes) - 8 + 1; in dml32_rq_dlg_get_rq_reg() 111 rq_regs->rq_regs_l.meta_chunk_size = dml_log2(meta_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg() 115 rq_regs->rq_regs_l.min_meta_chunk_size = 0; in dml32_rq_dlg_get_rq_reg() 117 rq_regs->rq_regs_l.min_meta_chunk_size = dml_log2(min_meta_chunk_bytes) - 6 + 1; in dml32_rq_dlg_get_rq_reg() 124 rq_regs->rq_regs_l.dpte_group_size = dml_log2(dpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg() 125 rq_regs->rq_regs_l.mpte_group_size = dml_log2(mpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg() 137 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(pte_row_height_linear), 1) - 3; in dml32_rq_dlg_get_rq_reg() 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml_display_rq_dlg_calc.c | 97 rq_regs->rq_regs_l.chunk_size = (dml_uint_t)(dml_log2((dml_float_t) pixel_chunk_bytes) - 10); in dml_rq_dlg_get_rq_reg() 101 rq_regs->rq_regs_l.min_chunk_size = 0; in dml_rq_dlg_get_rq_reg() 103 …rq_regs->rq_regs_l.min_chunk_size = (dml_uint_t)(dml_log2((dml_float_t) min_pixel_chunk_bytes) - 8… in dml_rq_dlg_get_rq_reg() 110 rq_regs->rq_regs_l.meta_chunk_size = (dml_uint_t)(dml_log2((dml_float_t) meta_chunk_bytes) - 10); in dml_rq_dlg_get_rq_reg() 114 rq_regs->rq_regs_l.min_meta_chunk_size = 0; in dml_rq_dlg_get_rq_reg() 116 …rq_regs->rq_regs_l.min_meta_chunk_size = (dml_uint_t)(dml_log2((dml_float_t) min_meta_chunk_bytes)… in dml_rq_dlg_get_rq_reg() 123 rq_regs->rq_regs_l.dpte_group_size = (dml_uint_t)(dml_log2((dml_float_t) dpte_group_bytes) - 6); in dml_rq_dlg_get_rq_reg() 124 rq_regs->rq_regs_l.mpte_group_size = (dml_uint_t)(dml_log2((dml_float_t) mpte_group_bytes) - 6); in dml_rq_dlg_get_rq_reg() 135 …rq_regs->rq_regs_l.pte_row_height_linear = (dml_uint_t)(dml_floor(dml_log2((dml_float_t) pte_row_h… in dml_rq_dlg_get_rq_reg() 145 …rq_regs->rq_regs_l.swath_height = (dml_uint_t)(dml_log2((dml_float_t) dml_get_swath_height_l(mode_… in dml_rq_dlg_get_rq_reg()
|
D | dml2_translation_helper.c | 1410 out->rq_regs.rq_regs_l.chunk_size = rq_regs->rq_regs_l.chunk_size; in dml2_update_pipe_ctx_dchub_regs() 1411 out->rq_regs.rq_regs_l.min_chunk_size = rq_regs->rq_regs_l.min_chunk_size; in dml2_update_pipe_ctx_dchub_regs() 1412 out->rq_regs.rq_regs_l.meta_chunk_size = rq_regs->rq_regs_l.meta_chunk_size; in dml2_update_pipe_ctx_dchub_regs() 1413 out->rq_regs.rq_regs_l.min_meta_chunk_size = rq_regs->rq_regs_l.min_meta_chunk_size; in dml2_update_pipe_ctx_dchub_regs() 1414 out->rq_regs.rq_regs_l.dpte_group_size = rq_regs->rq_regs_l.dpte_group_size; in dml2_update_pipe_ctx_dchub_regs() 1415 out->rq_regs.rq_regs_l.mpte_group_size = rq_regs->rq_regs_l.mpte_group_size; in dml2_update_pipe_ctx_dchub_regs() 1416 out->rq_regs.rq_regs_l.swath_height = rq_regs->rq_regs_l.swath_height; in dml2_update_pipe_ctx_dchub_regs() 1417 out->rq_regs.rq_regs_l.pte_row_height_linear = rq_regs->rq_regs_l.pte_row_height_linear; in dml2_update_pipe_ctx_dchub_regs()
|
D | display_mode_util.c | 238 dml_print_data_rq_regs_st(&rq_regs->rq_regs_l); in dml_print_rq_regs_st()
|
D | display_mode_core_structs.h | 1965 dml_display_plane_rq_regs_st rq_regs_l; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn30/ |
D | dcn30_hubp.c | 435 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp3_read_state() 436 MIN_CHUNK_SIZE, &rq_regs->rq_regs_l.min_chunk_size, in hubp3_read_state() 437 META_CHUNK_SIZE, &rq_regs->rq_regs_l.meta_chunk_size, in hubp3_read_state() 438 MIN_META_CHUNK_SIZE, &rq_regs->rq_regs_l.min_meta_chunk_size, in hubp3_read_state() 439 DPTE_GROUP_SIZE, &rq_regs->rq_regs_l.dpte_group_size, in hubp3_read_state() 440 SWATH_HEIGHT, &rq_regs->rq_regs_l.swath_height, in hubp3_read_state() 441 PTE_ROW_HEIGHT_LINEAR, &rq_regs->rq_regs_l.pte_row_height_linear); in hubp3_read_state()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
D | dcn401_hubp.c | 183 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp401_program_requestor() 184 MIN_CHUNK_SIZE, rq_regs->rq_regs_l.min_chunk_size, in hubp401_program_requestor() 185 DPTE_GROUP_SIZE, rq_regs->rq_regs_l.dpte_group_size, in hubp401_program_requestor() 186 VM_GROUP_SIZE, rq_regs->rq_regs_l.mpte_group_size, in hubp401_program_requestor() 187 SWATH_HEIGHT, rq_regs->rq_regs_l.swath_height, in hubp401_program_requestor() 188 PTE_ROW_HEIGHT_LINEAR, rq_regs->rq_regs_l.pte_row_height_linear); in hubp401_program_requestor() 777 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp401_read_state() 778 MIN_CHUNK_SIZE, &rq_regs->rq_regs_l.min_chunk_size, in hubp401_read_state() 779 DPTE_GROUP_SIZE, &rq_regs->rq_regs_l.dpte_group_size, in hubp401_read_state() 780 SWATH_HEIGHT, &rq_regs->rq_regs_l.swath_height, in hubp401_read_state() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer_debug.c | 214 rq_regs->crq_expansion_mode, rq_regs->plane1_base_address, rq_regs->rq_regs_l.chunk_size, in dcn10_get_rq_states() 215 rq_regs->rq_regs_l.min_chunk_size, rq_regs->rq_regs_l.meta_chunk_size, in dcn10_get_rq_states() 216 rq_regs->rq_regs_l.min_meta_chunk_size, rq_regs->rq_regs_l.dpte_group_size, in dcn10_get_rq_states() 217 rq_regs->rq_regs_l.mpte_group_size, rq_regs->rq_regs_l.swath_height, in dcn10_get_rq_states() 218 …rq_regs->rq_regs_l.pte_row_height_linear, rq_regs->rq_regs_c.chunk_size, rq_regs->rq_regs_c.min_ch… in dcn10_get_rq_states()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
D | dml_top_dchub_registers.h | 116 struct dml2_display_plane_rq_regs rq_regs_l; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_rq_dlg_helpers.c | 180 print__data_rq_regs_st(mode_lib, &rq_regs->rq_regs_l); in print__rq_regs_st()
|
D | display_mode_structs.h | 710 display_data_rq_regs_st rq_regs_l; member
|
D | dml1_display_rq_dlg_calc.c | 239 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 174 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs() 176 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor( 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 196 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()
|
D | display_rq_dlg_calc_20v2.c | 196 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 117 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 120 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
D | dcn10_hwseq.c | 219 rq_regs->crq_expansion_mode, rq_regs->plane1_base_address, rq_regs->rq_regs_l.chunk_size, in dcn10_log_hubp_states() 220 rq_regs->rq_regs_l.min_chunk_size, rq_regs->rq_regs_l.meta_chunk_size, in dcn10_log_hubp_states() 221 rq_regs->rq_regs_l.min_meta_chunk_size, rq_regs->rq_regs_l.dpte_group_size, in dcn10_log_hubp_states() 222 rq_regs->rq_regs_l.mpte_group_size, rq_regs->rq_regs_l.swath_height, in dcn10_log_hubp_states() 223 …rq_regs->rq_regs_l.pte_row_height_linear, rq_regs->rq_regs_c.chunk_size, rq_regs->rq_regs_c.min_ch… in dcn10_log_hubp_states()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 205 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared.c | 11507 rq_regs->rq_regs_l.chunk_size = log_and_substract_if_non_zero(pixel_chunk_bytes, 10); in rq_dlg_get_rq_reg() 11511 rq_regs->rq_regs_l.min_chunk_size = 0; in rq_dlg_get_rq_reg() 11513 rq_regs->rq_regs_l.min_chunk_size = log_and_substract_if_non_zero(min_pixel_chunk_bytes, 8 - 1); in rq_dlg_get_rq_reg() 11520 rq_regs->rq_regs_l.dpte_group_size = log_and_substract_if_non_zero(dpte_group_bytes, 6); in rq_dlg_get_rq_reg() 11521 rq_regs->rq_regs_l.mpte_group_size = log_and_substract_if_non_zero(mpte_group_bytes, 6); in rq_dlg_get_rq_reg() 11535 rq_regs->rq_regs_l.pte_row_height_linear = math_log2_approx(p0_pte_row_height_linear) - 3; in rq_dlg_get_rq_reg() 11548 rq_regs->rq_regs_l.pte_row_height_linear = 0; in rq_dlg_get_rq_reg() 11552 …rq_regs->rq_regs_l.swath_height = log_and_substract_if_non_zero(mode_lib->mp.SwathHeightY[mode_lib… in rq_dlg_get_rq_reg()
|