Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c44 struct display_mode_lib *mode_lib,
57 struct display_mode_lib *mode_lib,
123 struct display_mode_lib *mode_lib,
133 struct display_mode_lib *mode_lib,
162 struct display_mode_lib *mode_lib,
197 struct display_mode_lib *mode_lib,
230 static void dml20_DisplayPipeConfiguration(struct display_mode_lib *mode_lib);
232 struct display_mode_lib *mode_lib);
234 void dml20_recalculate(struct display_mode_lib *mode_lib) in dml20_recalculate() argument
236 ModeSupportAndSystemConfiguration(mode_lib); in dml20_recalculate()
[all …]
Ddisplay_mode_vba_20v2.c45 struct display_mode_lib *mode_lib,
57 struct display_mode_lib *mode_lib,
92 struct display_mode_lib *mode_lib,
147 struct display_mode_lib *mode_lib,
157 struct display_mode_lib *mode_lib,
186 struct display_mode_lib *mode_lib,
221 struct display_mode_lib *mode_lib,
254 static void dml20v2_DisplayPipeConfiguration(struct display_mode_lib *mode_lib);
256 struct display_mode_lib *mode_lib);
258 void dml20v2_recalculate(struct display_mode_lib *mode_lib) in dml20v2_recalculate() argument
[all …]
Ddisplay_rq_dlg_calc_20.c39 struct display_mode_lib *mode_lib,
46 static void dml20_rq_dlg_get_dlg_params(struct display_mode_lib *mode_lib,
65 static void calculate_ttu_cursor(struct display_mode_lib *mode_lib,
118 static double get_refcyc_per_delivery(struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument
165 static void extract_rq_sizing_regs(struct display_mode_lib *mode_lib, in extract_rq_sizing_regs() argument
170 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
189 static void extract_rq_regs(struct display_mode_lib *mode_lib, in extract_rq_regs() argument
193 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs()
196 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
202 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in extract_rq_regs()
[all …]
Ddisplay_rq_dlg_calc_20v2.c39 struct display_mode_lib *mode_lib,
46 static void dml20v2_rq_dlg_get_dlg_params(struct display_mode_lib *mode_lib,
65 static void calculate_ttu_cursor(struct display_mode_lib *mode_lib,
118 static double get_refcyc_per_delivery(struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument
165 static void extract_rq_sizing_regs(struct display_mode_lib *mode_lib, in extract_rq_sizing_regs() argument
170 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
189 static void extract_rq_regs(struct display_mode_lib *mode_lib, in extract_rq_regs() argument
193 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs()
196 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
202 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in extract_rq_regs()
[all …]
Ddisplay_mode_vba_20.h29 void dml20_recalculate(struct display_mode_lib *mode_lib);
30 void dml20_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
Ddisplay_mode_vba_20v2.h29 void dml20v2_recalculate(struct display_mode_lib *mode_lib);
30 void dml20v2_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
Ddisplay_rq_dlg_calc_20v2.h44 struct display_mode_lib *mode_lib,
61 struct display_mode_lib *mode_lib,
/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c41 static void fetch_socbb_params(struct display_mode_lib *mode_lib);
42 static void fetch_ip_params(struct display_mode_lib *mode_lib);
43 static void fetch_pipe_params(struct display_mode_lib *mode_lib);
45 struct display_mode_lib *mode_lib,
52 struct display_mode_lib *mode_lib, in dml_get_voltage_level() argument
56 bool need_recalculate = memcmp(&mode_lib->soc, &mode_lib->vba.soc, sizeof(mode_lib->vba.soc)) != 0 in dml_get_voltage_level()
57 || memcmp(&mode_lib->ip, &mode_lib->vba.ip, sizeof(mode_lib->vba.ip)) != 0 in dml_get_voltage_level()
58 || num_pipes != mode_lib->vba.cache_num_pipes in dml_get_voltage_level()
59 || memcmp(pipes, mode_lib->vba.cache_pipes, in dml_get_voltage_level()
62 mode_lib->vba.soc = mode_lib->soc; in dml_get_voltage_level()
[all …]
Ddisplay_mode_lib.c136 struct display_mode_lib *mode_lib, in dml_log_pipe_params() argument
262 void dml_log_mode_support_params(struct display_mode_lib *mode_lib) in dml_log_mode_support_params() argument
266 for (i = mode_lib->vba.soc.num_states; i >= 0; i--) { in dml_log_mode_support_params()
269 …dml_print("DML SUPPORT: Mode Supported : %s\n", mode_lib->vba.ModeSupport[i][0] ?… in dml_log_mode_support_params()
270 …dml_print("DML SUPPORT: Mode Supported (pipe split) : %s\n", mode_lib->vba.ModeSupport[i][1] ?… in dml_log_mode_support_params()
271 …dml_print("DML SUPPORT: Scale Ratio And Taps : %s\n", mode_lib->vba.ScaleRatioA… in dml_log_mode_support_params()
272 …dml_print("DML SUPPORT: Source Format Pixel And Scan : %s\n", mode_lib->vba.SourceForma… in dml_log_mode_support_params()
273 … : [%s, %s]\n", mode_lib->vba.ViewportSizeSupport[i][0] ? "Supported" : "NOT S… in dml_log_mode_support_params()
274 …dml_print("DML SUPPORT: DIO Support : %s\n", mode_lib->vba.DIOSupport[… in dml_log_mode_support_params()
275 …dml_print("DML SUPPORT: ODM Combine 4To1 Support Check : %s\n", mode_lib->vba.ODMCombine4… in dml_log_mode_support_params()
[all …]
Ddisplay_rq_dlg_helpers.h34 void print__rq_params_st(struct display_mode_lib *mode_lib, display_rq_params_st rq_param);
35 void print__data_rq_sizing_params_st(struct display_mode_lib *mode_lib, display_data_rq_sizing_para…
36 void print__data_rq_dlg_params_st(struct display_mode_lib *mode_lib, display_data_rq_dlg_params_st …
37 void print__data_rq_misc_params_st(struct display_mode_lib *mode_lib, display_data_rq_misc_params_s…
38 void print__rq_dlg_params_st(struct display_mode_lib *mode_lib, display_rq_dlg_params_st rq_dlg_par…
39 void print__dlg_sys_params_st(struct display_mode_lib *mode_lib, display_dlg_sys_params_st dlg_sys_…
41 void print__data_rq_regs_st(struct display_mode_lib *mode_lib, display_data_rq_regs_st data_rq_regs…
42 void print__rq_regs_st(struct display_mode_lib *mode_lib, display_rq_regs_st rq_regs);
43 void print__dlg_regs_st(struct display_mode_lib *mode_lib, display_dlg_regs_st dlg_regs);
44 void print__ttu_regs_st(struct display_mode_lib *mode_lib, display_ttu_regs_st ttu_regs);
Ddisplay_rq_dlg_helpers.c29 void print__rq_params_st(struct display_mode_lib *mode_lib, display_rq_params_st rq_param) in print__rq_params_st() argument
34 print__data_rq_sizing_params_st(mode_lib, rq_param.sizing.rq_l); in print__rq_params_st()
36 print__data_rq_sizing_params_st(mode_lib, rq_param.sizing.rq_c); in print__rq_params_st()
39 print__data_rq_dlg_params_st(mode_lib, rq_param.dlg.rq_l); in print__rq_params_st()
41 print__data_rq_dlg_params_st(mode_lib, rq_param.dlg.rq_c); in print__rq_params_st()
44 print__data_rq_misc_params_st(mode_lib, rq_param.misc.rq_l); in print__rq_params_st()
46 print__data_rq_misc_params_st(mode_lib, rq_param.misc.rq_c); in print__rq_params_st()
50 void print__data_rq_sizing_params_st(struct display_mode_lib *mode_lib, display_data_rq_sizing_para… in print__data_rq_sizing_params_st() argument
65 void print__data_rq_dlg_params_st(struct display_mode_lib *mode_lib, display_data_rq_dlg_params_st … in print__data_rq_dlg_params_st() argument
108 void print__data_rq_misc_params_st(struct display_mode_lib *mode_lib, display_data_rq_misc_params_s… in print__data_rq_misc_params_st() argument
[all …]
Ddml1_display_rq_dlg_calc.c98 struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument
129 struct display_mode_lib *mode_lib, in get_vratio_pre() argument
171 struct display_mode_lib *mode_lib, in get_swath_need() argument
207 struct display_mode_lib *mode_lib, in extract_rq_sizing_regs() argument
212 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
232 struct display_mode_lib *mode_lib, in dml1_extract_rq_regs() argument
236 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in dml1_extract_rq_regs()
239 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in dml1_extract_rq_regs()
241 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in dml1_extract_rq_regs()
273 struct display_mode_lib *mode_lib, in handle_det_buf_split() argument
[all …]
Ddisplay_mode_lib.h49 struct display_mode_lib *mode_lib,
61 struct display_mode_lib *mode_lib,
64 void (*recalculate)(struct display_mode_lib *mode_lib);
65 void (*validate)(struct display_mode_lib *mode_lib);
85 struct display_mode_lib *mode_lib,
89 void dml_log_mode_support_params(struct display_mode_lib *mode_lib);
Ddml1_display_rq_dlg_calc.h34 struct display_mode_lib *mode_lib,
46 struct display_mode_lib *mode_lib,
55 struct display_mode_lib *mode_lib,
/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c70 static void DisplayPipeConfiguration(struct display_mode_lib *mode_lib);
72 struct display_mode_lib *mode_lib);
82 struct display_mode_lib *mode_lib,
161 struct display_mode_lib *mode_lib,
171 struct display_mode_lib *mode_lib,
214 struct display_mode_lib *mode_lib,
248 struct display_mode_lib *mode_lib,
286 struct display_mode_lib *mode_lib,
343 struct display_mode_lib *mode_lib,
487 void dml21_recalculate(struct display_mode_lib *mode_lib) in dml21_recalculate() argument
[all …]
Ddisplay_rq_dlg_calc_21.c42 struct display_mode_lib *mode_lib,
94 struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument
142 struct display_mode_lib *mode_lib, in extract_rq_sizing_regs() argument
147 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
167 struct display_mode_lib *mode_lib, in extract_rq_regs() argument
171 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs()
174 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
181 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in extract_rq_regs()
216 struct display_mode_lib *mode_lib, in handle_det_buf_split() argument
231 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split()
[all …]
Ddisplay_mode_vba_21.h29 void dml21_recalculate(struct display_mode_lib *mode_lib);
30 void dml21_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
Ddisplay_rq_dlg_calc_21.h45 struct display_mode_lib *mode_lib,
61 struct display_mode_lib *mode_lib,
/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c130 struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument
178 static void extract_rq_sizing_regs(struct display_mode_lib *mode_lib, display_data_rq_regs_st *rq_r… in extract_rq_sizing_regs() argument
180 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
199 static void extract_rq_regs(struct display_mode_lib *mode_lib, display_rq_regs_st *rq_regs, const d… in extract_rq_regs() argument
201 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs()
204 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
209 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in extract_rq_regs()
254 static void handle_det_buf_split(struct display_mode_lib *mode_lib, display_rq_params_st *rq_param,… in handle_det_buf_split() argument
267 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split()
387 struct display_mode_lib *mode_lib, in get_meta_and_pte_attr() argument
[all …]
Ddisplay_mode_vba_31.h29 void dml31_recalculate(struct display_mode_lib *mode_lib);
30 void dml31_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
Ddisplay_rq_dlg_calc_31.h42 void dml31_rq_dlg_get_rq_reg(struct display_mode_lib *mode_lib,
57 void dml31_rq_dlg_get_dlg_reg(struct display_mode_lib *mode_lib,
/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c43 static double get_refcyc_per_delivery(struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument
90 static void extract_rq_sizing_regs(struct display_mode_lib *mode_lib, in extract_rq_sizing_regs() argument
95 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs()
114 static void extract_rq_regs(struct display_mode_lib *mode_lib, in extract_rq_regs() argument
118 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs()
121 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), rq_param.sizing.rq_l); in extract_rq_regs()
127 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), rq_param.sizing.rq_c); in extract_rq_regs()
159 static void handle_det_buf_split(struct display_mode_lib *mode_lib, in handle_det_buf_split() argument
174 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split()
368 static void get_meta_and_pte_attr(struct display_mode_lib *mode_lib, in get_meta_and_pte_attr() argument
[all …]
Ddisplay_mode_vba_30.c69 static void DisplayPipeConfiguration(struct display_mode_lib *mode_lib);
71 struct display_mode_lib *mode_lib);
84 struct display_mode_lib *mode_lib,
174 struct display_mode_lib *mode_lib,
184 struct display_mode_lib *mode_lib,
242 struct display_mode_lib *mode_lib,
297 struct display_mode_lib *mode_lib,
356 struct display_mode_lib *mode_lib,
398 struct display_mode_lib *mode_lib,
727 void dml30_recalculate(struct display_mode_lib *mode_lib) in dml30_recalculate() argument
[all …]
Ddisplay_mode_vba_30.h29 void dml30_recalculate(struct display_mode_lib *mode_lib);
30 void dml30_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
Ddisplay_rq_dlg_calc_30.h42 void dml30_rq_dlg_get_rq_reg(struct display_mode_lib *mode_lib,
57 void dml30_rq_dlg_get_dlg_reg(struct display_mode_lib *mode_lib,

12