/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn21/ |
D | dcn21_hubp.c | 162 CHUNK_SIZE_C, rq_regs->rq_regs_c.chunk_size, in hubp21_program_requestor() 163 MIN_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_chunk_size, in hubp21_program_requestor() 164 META_CHUNK_SIZE_C, rq_regs->rq_regs_c.meta_chunk_size, in hubp21_program_requestor() 165 MIN_META_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_meta_chunk_size, in hubp21_program_requestor() 166 DPTE_GROUP_SIZE_C, rq_regs->rq_regs_c.dpte_group_size, in hubp21_program_requestor() 167 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height, in hubp21_program_requestor() 168 PTE_ROW_HEIGHT_LINEAR_C, rq_regs->rq_regs_c.pte_row_height_linear); in hubp21_program_requestor() 284 CHUNK_SIZE_C, &rq_regs.rq_regs_c.chunk_size, in hubp21_validate_dml_output() 285 MIN_CHUNK_SIZE_C, &rq_regs.rq_regs_c.min_chunk_size, in hubp21_validate_dml_output() 286 META_CHUNK_SIZE_C, &rq_regs.rq_regs_c.meta_chunk_size, in hubp21_validate_dml_output() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
D | dcn20_hubp.c | 219 CHUNK_SIZE_C, rq_regs->rq_regs_c.chunk_size, in hubp2_program_requestor() 220 MIN_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_chunk_size, in hubp2_program_requestor() 221 META_CHUNK_SIZE_C, rq_regs->rq_regs_c.meta_chunk_size, in hubp2_program_requestor() 222 MIN_META_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_meta_chunk_size, in hubp2_program_requestor() 223 DPTE_GROUP_SIZE_C, rq_regs->rq_regs_c.dpte_group_size, in hubp2_program_requestor() 224 MPTE_GROUP_SIZE_C, rq_regs->rq_regs_c.mpte_group_size, in hubp2_program_requestor() 225 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height, in hubp2_program_requestor() 226 PTE_ROW_HEIGHT_LINEAR_C, rq_regs->rq_regs_c.pte_row_height_linear); in hubp2_program_requestor() 1326 CHUNK_SIZE_C, &rq_regs->rq_regs_c.chunk_size, in hubp2_read_state() 1327 MIN_CHUNK_SIZE_C, &rq_regs->rq_regs_c.min_chunk_size, in hubp2_read_state() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn201/ |
D | dcn201_hubp.c | 89 CHUNK_SIZE_C, rq_regs->rq_regs_c.chunk_size, in hubp201_program_requestor() 90 MIN_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_chunk_size, in hubp201_program_requestor() 91 META_CHUNK_SIZE_C, rq_regs->rq_regs_c.meta_chunk_size, in hubp201_program_requestor() 92 MIN_META_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_meta_chunk_size, in hubp201_program_requestor() 93 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height); in hubp201_program_requestor()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_utils.c | 161 out->rq_regs.rq_regs_c.chunk_size = rq_regs->rq_regs_c.chunk_size; in dml21_update_pipe_ctx_dchub_regs() 162 out->rq_regs.rq_regs_c.min_chunk_size = rq_regs->rq_regs_c.min_chunk_size; in dml21_update_pipe_ctx_dchub_regs() 165 out->rq_regs.rq_regs_c.dpte_group_size = rq_regs->rq_regs_c.dpte_group_size; in dml21_update_pipe_ctx_dchub_regs() 166 out->rq_regs.rq_regs_c.mpte_group_size = rq_regs->rq_regs_c.mpte_group_size; in dml21_update_pipe_ctx_dchub_regs() 167 out->rq_regs.rq_regs_c.swath_height = rq_regs->rq_regs_c.swath_height; in dml21_update_pipe_ctx_dchub_regs() 168 out->rq_regs.rq_regs_c.pte_row_height_linear = rq_regs->rq_regs_c.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 | 575 CHUNK_SIZE_C, rq_regs->rq_regs_c.chunk_size, in hubp1_program_requestor() 576 MIN_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_chunk_size, in hubp1_program_requestor() 577 META_CHUNK_SIZE_C, rq_regs->rq_regs_c.meta_chunk_size, in hubp1_program_requestor() 578 MIN_META_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_meta_chunk_size, in hubp1_program_requestor() 579 DPTE_GROUP_SIZE_C, rq_regs->rq_regs_c.dpte_group_size, in hubp1_program_requestor() 580 MPTE_GROUP_SIZE_C, rq_regs->rq_regs_c.mpte_group_size, in hubp1_program_requestor() 581 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height, in hubp1_program_requestor() 582 PTE_ROW_HEIGHT_LINEAR_C, rq_regs->rq_regs_c.pte_row_height_linear); in hubp1_program_requestor() 1091 CHUNK_SIZE_C, &rq_regs->rq_regs_c.chunk_size, in hubp1_read_state() 1092 MIN_CHUNK_SIZE_C, &rq_regs->rq_regs_c.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 | 99 rq_regs->rq_regs_c.chunk_size = dml_log2(p1_pixel_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg() 107 rq_regs->rq_regs_c.min_chunk_size = 0; in dml32_rq_dlg_get_rq_reg() 109 rq_regs->rq_regs_c.min_chunk_size = dml_log2(p1_min_pixel_chunk_bytes) - 8 + 1; in dml32_rq_dlg_get_rq_reg() 112 rq_regs->rq_regs_c.meta_chunk_size = dml_log2(p1_meta_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg() 120 rq_regs->rq_regs_c.min_meta_chunk_size = 0; in dml32_rq_dlg_get_rq_reg() 122 rq_regs->rq_regs_c.min_meta_chunk_size = dml_log2(p1_min_meta_chunk_bytes) - 6 + 1; in dml32_rq_dlg_get_rq_reg() 126 rq_regs->rq_regs_c.dpte_group_size = dml_log2(p1_dpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg() 127 rq_regs->rq_regs_c.mpte_group_size = dml_log2(p1_mpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg() 146 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(p1_pte_row_height_linear), 1) - 3; 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml_display_rq_dlg_calc.c | 98 rq_regs->rq_regs_c.chunk_size = (dml_uint_t)(dml_log2((dml_float_t) p1_pixel_chunk_bytes) - 10); in dml_rq_dlg_get_rq_reg() 106 rq_regs->rq_regs_c.min_chunk_size = 0; in dml_rq_dlg_get_rq_reg() 108 …rq_regs->rq_regs_c.min_chunk_size = (dml_uint_t)(dml_log2((dml_float_t) p1_min_pixel_chunk_bytes) … in dml_rq_dlg_get_rq_reg() 111 …rq_regs->rq_regs_c.meta_chunk_size = (dml_uint_t)(dml_log2((dml_float_t) p1_meta_chunk_bytes) - 10… in dml_rq_dlg_get_rq_reg() 119 rq_regs->rq_regs_c.min_meta_chunk_size = 0; in dml_rq_dlg_get_rq_reg() 121 …rq_regs->rq_regs_c.min_meta_chunk_size = (dml_uint_t)(dml_log2((dml_float_t) p1_min_meta_chunk_byt… in dml_rq_dlg_get_rq_reg() 125 rq_regs->rq_regs_c.dpte_group_size = (dml_uint_t)(dml_log2((dml_float_t) p1_dpte_group_bytes) - 6); in dml_rq_dlg_get_rq_reg() 126 rq_regs->rq_regs_c.mpte_group_size = (dml_uint_t)(dml_log2((dml_float_t) p1_mpte_group_bytes) - 6); in dml_rq_dlg_get_rq_reg() 142 …rq_regs->rq_regs_c.pte_row_height_linear = (dml_uint_t)(dml_floor(dml_log2((dml_float_t) p1_pte_ro… in dml_rq_dlg_get_rq_reg() 146 …rq_regs->rq_regs_c.swath_height = (dml_uint_t)(dml_log2((dml_float_t) dml_get_swath_height_c(mode_… in dml_rq_dlg_get_rq_reg()
|
D | dml2_translation_helper.c | 1419 out->rq_regs.rq_regs_c.chunk_size = rq_regs->rq_regs_c.chunk_size; in dml2_update_pipe_ctx_dchub_regs() 1420 out->rq_regs.rq_regs_c.min_chunk_size = rq_regs->rq_regs_c.min_chunk_size; in dml2_update_pipe_ctx_dchub_regs() 1421 out->rq_regs.rq_regs_c.meta_chunk_size = rq_regs->rq_regs_c.meta_chunk_size; in dml2_update_pipe_ctx_dchub_regs() 1422 out->rq_regs.rq_regs_c.min_meta_chunk_size = rq_regs->rq_regs_c.min_meta_chunk_size; in dml2_update_pipe_ctx_dchub_regs() 1423 out->rq_regs.rq_regs_c.dpte_group_size = rq_regs->rq_regs_c.dpte_group_size; in dml2_update_pipe_ctx_dchub_regs() 1424 out->rq_regs.rq_regs_c.mpte_group_size = rq_regs->rq_regs_c.mpte_group_size; in dml2_update_pipe_ctx_dchub_regs() 1425 out->rq_regs.rq_regs_c.swath_height = rq_regs->rq_regs_c.swath_height; in dml2_update_pipe_ctx_dchub_regs() 1426 out->rq_regs.rq_regs_c.pte_row_height_linear = rq_regs->rq_regs_c.pte_row_height_linear; in dml2_update_pipe_ctx_dchub_regs()
|
D | display_mode_util.c | 240 dml_print_data_rq_regs_st(&rq_regs->rq_regs_c); in dml_print_rq_regs_st()
|
D | display_mode_core_structs.h | 1966 dml_display_plane_rq_regs_st rq_regs_c; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn30/ |
D | dcn30_hubp.c | 444 CHUNK_SIZE_C, &rq_regs->rq_regs_c.chunk_size, in hubp3_read_state() 445 MIN_CHUNK_SIZE_C, &rq_regs->rq_regs_c.min_chunk_size, in hubp3_read_state() 446 META_CHUNK_SIZE_C, &rq_regs->rq_regs_c.meta_chunk_size, in hubp3_read_state() 447 MIN_META_CHUNK_SIZE_C, &rq_regs->rq_regs_c.min_meta_chunk_size, in hubp3_read_state() 448 DPTE_GROUP_SIZE_C, &rq_regs->rq_regs_c.dpte_group_size, in hubp3_read_state() 449 SWATH_HEIGHT_C, &rq_regs->rq_regs_c.swath_height, in hubp3_read_state() 450 PTE_ROW_HEIGHT_LINEAR_C, &rq_regs->rq_regs_c.pte_row_height_linear); in hubp3_read_state()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer_debug.c | 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() 219 rq_regs->rq_regs_c.meta_chunk_size, rq_regs->rq_regs_c.min_meta_chunk_size, in dcn10_get_rq_states() 220 rq_regs->rq_regs_c.dpte_group_size, rq_regs->rq_regs_c.mpte_group_size, in dcn10_get_rq_states() 221 rq_regs->rq_regs_c.swath_height, rq_regs->rq_regs_c.pte_row_height_linear); in dcn10_get_rq_states()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
D | dcn401_hubp.c | 190 CHUNK_SIZE_C, rq_regs->rq_regs_c.chunk_size, in hubp401_program_requestor() 191 MIN_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_chunk_size, in hubp401_program_requestor() 192 DPTE_GROUP_SIZE_C, rq_regs->rq_regs_c.dpte_group_size, in hubp401_program_requestor() 193 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height, in hubp401_program_requestor() 194 PTE_ROW_HEIGHT_LINEAR_C, rq_regs->rq_regs_c.pte_row_height_linear); in hubp401_program_requestor() 784 CHUNK_SIZE_C, &rq_regs->rq_regs_c.chunk_size, in hubp401_read_state() 785 MIN_CHUNK_SIZE_C, &rq_regs->rq_regs_c.min_chunk_size, in hubp401_read_state() 786 DPTE_GROUP_SIZE_C, &rq_regs->rq_regs_c.dpte_group_size, in hubp401_read_state() 787 SWATH_HEIGHT_C, &rq_regs->rq_regs_c.swath_height, in hubp401_read_state() 788 PTE_ROW_HEIGHT_LINEAR_C, &rq_regs->rq_regs_c.pte_row_height_linear); in hubp401_read_state()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
D | dml_top_dchub_registers.h | 117 struct dml2_display_plane_rq_regs rq_regs_c; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_rq_dlg_helpers.c | 182 print__data_rq_regs_st(mode_lib, &rq_regs->rq_regs_c); in print__rq_regs_st()
|
D | display_mode_structs.h | 711 display_data_rq_regs_st rq_regs_c; member
|
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()
|
/linux-6.12.1/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() 182 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor( 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()
|
/linux-6.12.1/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()
|
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()
|
/linux-6.12.1/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()
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
D | dcn10_hwseq.c | 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() 224 rq_regs->rq_regs_c.meta_chunk_size, rq_regs->rq_regs_c.min_meta_chunk_size, in dcn10_log_hubp_states() 225 rq_regs->rq_regs_c.dpte_group_size, rq_regs->rq_regs_c.mpte_group_size, in dcn10_log_hubp_states() 226 rq_regs->rq_regs_c.swath_height, rq_regs->rq_regs_c.pte_row_height_linear); in dcn10_log_hubp_states()
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared.c | 11508 rq_regs->rq_regs_c.chunk_size = log_and_substract_if_non_zero(p1_pixel_chunk_bytes, 10); in rq_dlg_get_rq_reg() 11516 rq_regs->rq_regs_c.min_chunk_size = 0; in rq_dlg_get_rq_reg() 11518 …rq_regs->rq_regs_c.min_chunk_size = log_and_substract_if_non_zero(p1_min_pixel_chunk_bytes, 8 - 1); in rq_dlg_get_rq_reg() 11522 rq_regs->rq_regs_c.dpte_group_size = log_and_substract_if_non_zero(p1_dpte_group_bytes, 6); in rq_dlg_get_rq_reg() 11523 rq_regs->rq_regs_c.mpte_group_size = log_and_substract_if_non_zero(p1_mpte_group_bytes, 6); in rq_dlg_get_rq_reg() 11545 rq_regs->rq_regs_c.pte_row_height_linear = math_log2_approx(p1_pte_row_height_linear) - 3; in rq_dlg_get_rq_reg() 11549 rq_regs->rq_regs_c.pte_row_height_linear = 0; in rq_dlg_get_rq_reg() 11553 …rq_regs->rq_regs_c.swath_height = log_and_substract_if_non_zero(mode_lib->mp.SwathHeightC[mode_lib… in rq_dlg_get_rq_reg()
|