Home
last modified time | relevance | path

Searched refs:rq_sizing (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_rq_dlg_helpers.c50 …ruct display_mode_lib *mode_lib, const struct _vcs_dpi_display_data_rq_sizing_params_st *rq_sizing) in print__data_rq_sizing_params_st() argument
54 dml_print("DML_RQ_DLG_CALC: chunk_bytes = %0d\n", rq_sizing->chunk_bytes); in print__data_rq_sizing_params_st()
55 dml_print("DML_RQ_DLG_CALC: min_chunk_bytes = %0d\n", rq_sizing->min_chunk_bytes); in print__data_rq_sizing_params_st()
56 dml_print("DML_RQ_DLG_CALC: meta_chunk_bytes = %0d\n", rq_sizing->meta_chunk_bytes); in print__data_rq_sizing_params_st()
59 rq_sizing->min_meta_chunk_bytes); in print__data_rq_sizing_params_st()
60 dml_print("DML_RQ_DLG_CALC: mpte_group_bytes = %0d\n", rq_sizing->mpte_group_bytes); in print__data_rq_sizing_params_st()
61 dml_print("DML_RQ_DLG_CALC: dpte_group_bytes = %0d\n", rq_sizing->dpte_group_bytes); in print__data_rq_sizing_params_st()
Ddisplay_rq_dlg_helpers.h35 …uct display_mode_lib *mode_lib, const struct _vcs_dpi_display_data_rq_sizing_params_st *rq_sizing);
Ddml1_display_rq_dlg_calc.c209 const struct _vcs_dpi_display_data_rq_sizing_params_st *rq_sizing) in extract_rq_sizing_regs() argument
212 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
214 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()
216 if (rq_sizing->min_chunk_bytes == 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()
222 if (rq_sizing->min_meta_chunk_bytes == 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()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c167 const display_data_rq_sizing_params_st *rq_sizing) in extract_rq_sizing_regs() argument
170 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
172 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()
174 if (rq_sizing->min_chunk_bytes == 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()
180 if (rq_sizing->min_meta_chunk_bytes == 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()
Ddisplay_rq_dlg_calc_20v2.c167 const display_data_rq_sizing_params_st *rq_sizing) in extract_rq_sizing_regs() argument
170 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
172 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()
174 if (rq_sizing->min_chunk_bytes == 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()
180 if (rq_sizing->min_meta_chunk_bytes == 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()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c144 const display_data_rq_sizing_params_st *rq_sizing) in extract_rq_sizing_regs() argument
147 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
149 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()
151 if (rq_sizing->min_chunk_bytes == 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()
157 if (rq_sizing->min_meta_chunk_bytes == 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()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c91 const display_data_rq_sizing_params_st *rq_sizing) in extract_rq_sizing_regs() argument
94 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
96 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()
98 if (rq_sizing->min_chunk_bytes == 0) in extract_rq_sizing_regs()
101 rq_regs->min_chunk_size = dml_log2(rq_sizing->min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
103 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
104 if (rq_sizing->min_meta_chunk_bytes == 0) in extract_rq_sizing_regs()
107 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing->min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs()
109 rq_regs->dpte_group_size = dml_log2(rq_sizing->dpte_group_bytes) - 6; in extract_rq_sizing_regs()
110 rq_regs->mpte_group_size = dml_log2(rq_sizing->mpte_group_bytes) - 6; in extract_rq_sizing_regs()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c91 …lib *mode_lib, display_data_rq_regs_st *rq_regs, const display_data_rq_sizing_params_st *rq_sizing) in extract_rq_sizing_regs() argument
93 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
95 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()
97 if (rq_sizing->min_chunk_bytes == 0) in extract_rq_sizing_regs()
100 rq_regs->min_chunk_size = dml_log2(rq_sizing->min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
102 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
103 if (rq_sizing->min_meta_chunk_bytes == 0) in extract_rq_sizing_regs()
106 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing->min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs()
108 rq_regs->dpte_group_size = dml_log2(rq_sizing->dpte_group_bytes) - 6; in extract_rq_sizing_regs()
109 rq_regs->mpte_group_size = dml_log2(rq_sizing->mpte_group_bytes) - 6; in extract_rq_sizing_regs()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c179 …lib *mode_lib, display_data_rq_regs_st *rq_regs, const display_data_rq_sizing_params_st *rq_sizing) in extract_rq_sizing_regs() argument
181 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
183 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()
185 if (rq_sizing->min_chunk_bytes == 0) in extract_rq_sizing_regs()
188 rq_regs->min_chunk_size = dml_log2(rq_sizing->min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
190 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
191 if (rq_sizing->min_meta_chunk_bytes == 0) in extract_rq_sizing_regs()
194 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing->min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs()
196 rq_regs->dpte_group_size = dml_log2(rq_sizing->dpte_group_bytes) - 6; in extract_rq_sizing_regs()
197 rq_regs->mpte_group_size = dml_log2(rq_sizing->mpte_group_bytes) - 6; in extract_rq_sizing_regs()