/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hubp.c | 139 struct _vcs_dpi_display_rq_regs_st *rq_regs) in hubp21_program_requestor() argument 144 DET_BUF_PLANE1_BASE_ADDRESS, rq_regs->plane1_base_address); in hubp21_program_requestor() 146 DRQ_EXPANSION_MODE, rq_regs->drq_expansion_mode, in hubp21_program_requestor() 147 PRQ_EXPANSION_MODE, rq_regs->prq_expansion_mode, in hubp21_program_requestor() 148 MRQ_EXPANSION_MODE, rq_regs->mrq_expansion_mode, in hubp21_program_requestor() 149 CRQ_EXPANSION_MODE, rq_regs->crq_expansion_mode); in hubp21_program_requestor() 151 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp21_program_requestor() 152 MIN_CHUNK_SIZE, rq_regs->rq_regs_l.min_chunk_size, in hubp21_program_requestor() 153 META_CHUNK_SIZE, rq_regs->rq_regs_l.meta_chunk_size, in hubp21_program_requestor() 154 MIN_META_CHUNK_SIZE, rq_regs->rq_regs_l.min_meta_chunk_size, in hubp21_program_requestor() [all …]
|
D | dcn21_hubp.h | 133 struct _vcs_dpi_display_rq_regs_st *rq_regs);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubp.c | 197 struct _vcs_dpi_display_rq_regs_st *rq_regs) in hubp2_program_requestor() argument 202 DET_BUF_PLANE1_BASE_ADDRESS, rq_regs->plane1_base_address); in hubp2_program_requestor() 204 DRQ_EXPANSION_MODE, rq_regs->drq_expansion_mode, in hubp2_program_requestor() 205 PRQ_EXPANSION_MODE, rq_regs->prq_expansion_mode, in hubp2_program_requestor() 206 MRQ_EXPANSION_MODE, rq_regs->mrq_expansion_mode, in hubp2_program_requestor() 207 CRQ_EXPANSION_MODE, rq_regs->crq_expansion_mode); in hubp2_program_requestor() 209 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp2_program_requestor() 210 MIN_CHUNK_SIZE, rq_regs->rq_regs_l.min_chunk_size, in hubp2_program_requestor() 211 META_CHUNK_SIZE, rq_regs->rq_regs_l.meta_chunk_size, in hubp2_program_requestor() 212 MIN_META_CHUNK_SIZE, rq_regs->rq_regs_l.min_meta_chunk_size, in hubp2_program_requestor() [all …]
|
D | dcn20_hwseq.c | 1365 memcmp(&old_pipe->rq_regs, &new_pipe->rq_regs, sizeof(old_pipe->rq_regs))) in dcn20_detect_pipe_changes() 1395 &pipe_ctx->rq_regs, in dcn20_update_dchubp_dpp() 1854 &pipe_ctx->rq_regs, in dcn20_update_bandwidth()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_rq_dlg_helpers.c | 159 void print__data_rq_regs_st(struct display_mode_lib *mode_lib, display_data_rq_regs_st rq_regs) in print__data_rq_regs_st() argument 163 dml_print("DML_RQ_DLG_CALC: chunk_size = 0x%0x\n", rq_regs.chunk_size); in print__data_rq_regs_st() 164 dml_print("DML_RQ_DLG_CALC: min_chunk_size = 0x%0x\n", rq_regs.min_chunk_size); in print__data_rq_regs_st() 165 dml_print("DML_RQ_DLG_CALC: meta_chunk_size = 0x%0x\n", rq_regs.meta_chunk_size); in print__data_rq_regs_st() 168 rq_regs.min_meta_chunk_size); in print__data_rq_regs_st() 169 dml_print("DML_RQ_DLG_CALC: dpte_group_size = 0x%0x\n", rq_regs.dpte_group_size); in print__data_rq_regs_st() 170 dml_print("DML_RQ_DLG_CALC: mpte_group_size = 0x%0x\n", rq_regs.mpte_group_size); in print__data_rq_regs_st() 171 dml_print("DML_RQ_DLG_CALC: swath_height = 0x%0x\n", rq_regs.swath_height); in print__data_rq_regs_st() 174 rq_regs.pte_row_height_linear); in print__data_rq_regs_st() 178 void print__rq_regs_st(struct display_mode_lib *mode_lib, display_rq_regs_st rq_regs) in print__rq_regs_st() argument [all …]
|
D | dml1_display_rq_dlg_calc.c | 208 struct _vcs_dpi_display_data_rq_regs_st *rq_regs, in extract_rq_sizing_regs() argument 214 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs() 217 rq_regs->min_chunk_size = 0; in extract_rq_sizing_regs() 219 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs() 221 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs() 223 rq_regs->min_meta_chunk_size = 0; in extract_rq_sizing_regs() 225 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs() 227 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs() 228 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_group_bytes) - 6; in extract_rq_sizing_regs() 233 struct _vcs_dpi_display_rq_regs_st *rq_regs, in dml1_extract_rq_regs() argument [all …]
|
D | dml1_display_rq_dlg_calc.h | 35 struct _vcs_dpi_display_rq_regs_st *rq_regs,
|
D | display_rq_dlg_helpers.h | 42 void print__rq_regs_st(struct display_mode_lib *mode_lib, display_rq_regs_st rq_regs);
|
D | display_mode_lib.h | 62 display_rq_regs_st *rq_regs,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubp.c | 554 struct _vcs_dpi_display_rq_regs_st *rq_regs) in hubp1_program_requestor() argument 559 DET_BUF_PLANE1_BASE_ADDRESS, rq_regs->plane1_base_address); in hubp1_program_requestor() 561 DRQ_EXPANSION_MODE, rq_regs->drq_expansion_mode, in hubp1_program_requestor() 562 PRQ_EXPANSION_MODE, rq_regs->prq_expansion_mode, in hubp1_program_requestor() 563 MRQ_EXPANSION_MODE, rq_regs->mrq_expansion_mode, in hubp1_program_requestor() 564 CRQ_EXPANSION_MODE, rq_regs->crq_expansion_mode); in hubp1_program_requestor() 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() [all …]
|
D | dcn10_hw_sequencer_debug.c | 205 struct _vcs_dpi_display_rq_regs_st *rq_regs = &s->rq_regs; in dcn10_get_rq_states() local 212 …pool->hubps[i]->inst, rq_regs->drq_expansion_mode, rq_regs->prq_expansion_mode, rq_regs->mrq_expan… in dcn10_get_rq_states() 213 rq_regs->crq_expansion_mode, rq_regs->plane1_base_address, rq_regs->rq_regs_l.chunk_size, in dcn10_get_rq_states() 214 rq_regs->rq_regs_l.min_chunk_size, rq_regs->rq_regs_l.meta_chunk_size, in dcn10_get_rq_states() 215 rq_regs->rq_regs_l.min_meta_chunk_size, rq_regs->rq_regs_l.dpte_group_size, in dcn10_get_rq_states() 216 rq_regs->rq_regs_l.mpte_group_size, rq_regs->rq_regs_l.swath_height, in dcn10_get_rq_states() 217 …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() 218 rq_regs->rq_regs_c.meta_chunk_size, rq_regs->rq_regs_c.min_meta_chunk_size, in dcn10_get_rq_states() 219 rq_regs->rq_regs_c.dpte_group_size, rq_regs->rq_regs_c.mpte_group_size, 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 | 198 struct _vcs_dpi_display_rq_regs_st *rq_regs = &s->rq_regs; in dcn10_log_hubp_states() local 202 …pool->hubps[i]->inst, rq_regs->drq_expansion_mode, rq_regs->prq_expansion_mode, rq_regs->mrq_expan… in dcn10_log_hubp_states() 203 rq_regs->crq_expansion_mode, rq_regs->plane1_base_address, rq_regs->rq_regs_l.chunk_size, in dcn10_log_hubp_states() 204 rq_regs->rq_regs_l.min_chunk_size, rq_regs->rq_regs_l.meta_chunk_size, in dcn10_log_hubp_states() 205 rq_regs->rq_regs_l.min_meta_chunk_size, rq_regs->rq_regs_l.dpte_group_size, in dcn10_log_hubp_states() 206 rq_regs->rq_regs_l.mpte_group_size, rq_regs->rq_regs_l.swath_height, in dcn10_log_hubp_states() 207 …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() 208 rq_regs->rq_regs_c.meta_chunk_size, rq_regs->rq_regs_c.min_meta_chunk_size, in dcn10_log_hubp_states() 209 rq_regs->rq_regs_c.dpte_group_size, rq_regs->rq_regs_c.mpte_group_size, in dcn10_log_hubp_states() 210 rq_regs->rq_regs_c.swath_height, rq_regs->rq_regs_c.pte_row_height_linear); in dcn10_log_hubp_states() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubp.c | 440 struct _vcs_dpi_display_rq_regs_st *rq_regs = &s->rq_regs; in hubp3_read_state() local 445 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp3_read_state() 446 MIN_CHUNK_SIZE, &rq_regs->rq_regs_l.min_chunk_size, in hubp3_read_state() 447 META_CHUNK_SIZE, &rq_regs->rq_regs_l.meta_chunk_size, in hubp3_read_state() 448 MIN_META_CHUNK_SIZE, &rq_regs->rq_regs_l.min_meta_chunk_size, in hubp3_read_state() 449 DPTE_GROUP_SIZE, &rq_regs->rq_regs_l.dpte_group_size, in hubp3_read_state() 450 SWATH_HEIGHT, &rq_regs->rq_regs_l.swath_height, in hubp3_read_state() 451 PTE_ROW_HEIGHT_LINEAR, &rq_regs->rq_regs_l.pte_row_height_linear); in hubp3_read_state() 454 CHUNK_SIZE_C, &rq_regs->rq_regs_c.chunk_size, in hubp3_read_state() 455 MIN_CHUNK_SIZE_C, &rq_regs->rq_regs_c.min_chunk_size, in hubp3_read_state() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20v2.c | 166 display_data_rq_regs_st *rq_regs, in extract_rq_sizing_regs() argument 172 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs() 175 rq_regs->min_chunk_size = 0; in extract_rq_sizing_regs() 177 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs() 179 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs() 181 rq_regs->min_meta_chunk_size = 0; in extract_rq_sizing_regs() 183 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs() 185 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs() 186 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_group_bytes) - 6; in extract_rq_sizing_regs() 190 display_rq_regs_st *rq_regs, in extract_rq_regs() argument [all …]
|
D | display_rq_dlg_calc_20.c | 166 display_data_rq_regs_st *rq_regs, in extract_rq_sizing_regs() argument 172 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs() 175 rq_regs->min_chunk_size = 0; in extract_rq_sizing_regs() 177 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs() 179 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs() 181 rq_regs->min_meta_chunk_size = 0; in extract_rq_sizing_regs() 183 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs() 185 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs() 186 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_group_bytes) - 6; in extract_rq_sizing_regs() 190 display_rq_regs_st *rq_regs, in extract_rq_regs() argument [all …]
|
D | display_rq_dlg_calc_20v2.h | 45 display_rq_regs_st *rq_regs,
|
D | display_rq_dlg_calc_20.h | 45 display_rq_regs_st *rq_regs,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 143 display_data_rq_regs_st *rq_regs, in extract_rq_sizing_regs() argument 149 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs() 152 rq_regs->min_chunk_size = 0; in extract_rq_sizing_regs() 154 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs() 156 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs() 158 rq_regs->min_meta_chunk_size = 0; in extract_rq_sizing_regs() 160 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs() 162 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs() 163 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_group_bytes) - 6; in extract_rq_sizing_regs() 168 display_rq_regs_st *rq_regs, in extract_rq_regs() argument [all …]
|
D | display_rq_dlg_calc_21.h | 46 display_rq_regs_st *rq_regs,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 91 display_data_rq_regs_st *rq_regs, in extract_rq_sizing_regs() argument 97 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs() 100 rq_regs->min_chunk_size = 0; in extract_rq_sizing_regs() 102 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs() 104 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs() 106 rq_regs->min_meta_chunk_size = 0; in extract_rq_sizing_regs() 108 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs() 110 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs() 111 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_group_bytes) - 6; in extract_rq_sizing_regs() 115 display_rq_regs_st *rq_regs, in extract_rq_regs() argument [all …]
|
D | display_rq_dlg_calc_30.h | 43 display_rq_regs_st *rq_regs,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mem_input.h | 96 struct _vcs_dpi_display_rq_regs_st *rq_regs,
|
D | hubp.h | 95 struct _vcs_dpi_display_rq_regs_st *rq_regs,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 329 struct _vcs_dpi_display_rq_regs_st rq_regs; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calcs.c | 461 struct _vcs_dpi_display_rq_regs_st *rq_regs = &pipe->rq_regs; in dcn_bw_calc_rq_dlg_ttu() local 472 memset(rq_regs, 0, sizeof(*rq_regs)); in dcn_bw_calc_rq_dlg_ttu() 506 dml1_extract_rq_regs(dml, rq_regs, rq_param); in dcn_bw_calc_rq_dlg_ttu()
|