Home
last modified time | relevance | path

Searched refs:rq_regs (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c139 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 …]
Ddcn21_hubp.h133 struct _vcs_dpi_display_rq_regs_st *rq_regs);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c197 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 …]
Ddcn20_hwseq.c1365 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/
Ddisplay_rq_dlg_helpers.c159 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 …]
Ddml1_display_rq_dlg_calc.c208 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 …]
Ddml1_display_rq_dlg_calc.h35 struct _vcs_dpi_display_rq_regs_st *rq_regs,
Ddisplay_rq_dlg_helpers.h42 void print__rq_regs_st(struct display_mode_lib *mode_lib, display_rq_regs_st rq_regs);
Ddisplay_mode_lib.h62 display_rq_regs_st *rq_regs,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c554 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 …]
Ddcn10_hw_sequencer_debug.c205 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()
217rq_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()
Ddcn10_hw_sequencer.c198 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()
207rq_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/
Ddcn30_hubp.c440 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/
Ddisplay_rq_dlg_calc_20v2.c166 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 …]
Ddisplay_rq_dlg_calc_20.c166 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 …]
Ddisplay_rq_dlg_calc_20v2.h45 display_rq_regs_st *rq_regs,
Ddisplay_rq_dlg_calc_20.h45 display_rq_regs_st *rq_regs,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c143 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 …]
Ddisplay_rq_dlg_calc_21.h46 display_rq_regs_st *rq_regs,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c91 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 …]
Ddisplay_rq_dlg_calc_30.h43 display_rq_regs_st *rq_regs,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h96 struct _vcs_dpi_display_rq_regs_st *rq_regs,
Dhubp.h95 struct _vcs_dpi_display_rq_regs_st *rq_regs,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h329 struct _vcs_dpi_display_rq_regs_st rq_regs; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c461 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()

12