/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 44 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 …]
|
D | display_mode_vba_20v2.c | 45 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 …]
|
D | display_rq_dlg_calc_20.c | 39 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 …]
|
D | display_rq_dlg_calc_20v2.c | 39 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 …]
|
D | display_mode_vba_20.h | 29 void dml20_recalculate(struct display_mode_lib *mode_lib); 30 void dml20_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
|
D | display_mode_vba_20v2.h | 29 void dml20v2_recalculate(struct display_mode_lib *mode_lib); 30 void dml20v2_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.c | 41 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, 50 static void cache_debug_params(struct display_mode_lib *mode_lib); 53 struct display_mode_lib *mode_lib, in dml_get_voltage_level() argument 57 bool need_recalculate = memcmp(&mode_lib->soc, &mode_lib->vba.soc, sizeof(mode_lib->vba.soc)) != 0 in dml_get_voltage_level() 58 || memcmp(&mode_lib->ip, &mode_lib->vba.ip, sizeof(mode_lib->vba.ip)) != 0 in dml_get_voltage_level() 59 || num_pipes != mode_lib->vba.cache_num_pipes in dml_get_voltage_level() 60 || memcmp(pipes, mode_lib->vba.cache_pipes, in dml_get_voltage_level() [all …]
|
D | display_mode_lib.c | 162 struct display_mode_lib *mode_lib, in dml_log_pipe_params() argument 288 void dml_log_mode_support_params(struct display_mode_lib *mode_lib) in dml_log_mode_support_params() argument 292 for (i = mode_lib->vba.soc.num_states; i >= 0; i--) { in dml_log_mode_support_params() 295 …dml_print("DML SUPPORT: Mode Supported : %s\n", mode_lib->vba.ModeSupport[i][0] ?… in dml_log_mode_support_params() 296 …dml_print("DML SUPPORT: Mode Supported (pipe split) : %s\n", mode_lib->vba.ModeSupport[i][1] ?… in dml_log_mode_support_params() 297 …dml_print("DML SUPPORT: Scale Ratio And Taps : %s\n", mode_lib->vba.ScaleRatioA… in dml_log_mode_support_params() 298 …dml_print("DML SUPPORT: Source Format Pixel And Scan : %s\n", mode_lib->vba.SourceForma… in dml_log_mode_support_params() 299 … : [%s, %s]\n", mode_lib->vba.ViewportSizeSupport[i][0] ? "Supported" : "NOT S… in dml_log_mode_support_params() 300 …dml_print("DML SUPPORT: DIO Support : %s\n", mode_lib->vba.DIOSupport[… in dml_log_mode_support_params() 301 …dml_print("DML SUPPORT: ODM Combine 4To1 Support Check : %s\n", mode_lib->vba.ODMCombine4… in dml_log_mode_support_params() [all …]
|
D | display_rq_dlg_helpers.h | 34 void print__rq_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_rq_params… 35 void print__data_rq_sizing_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_displ… 36 void print__data_rq_dlg_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_… 37 void print__data_rq_misc_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display… 38 void print__rq_dlg_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_rq_dl… 39 void print__dlg_sys_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_dlg_… 41 void print__data_rq_regs_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_data_r… 42 void print__rq_regs_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_rq_regs_st … 43 void print__dlg_regs_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_dlg_regs_s… 44 void print__ttu_regs_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_ttu_regs_s…
|
D | display_rq_dlg_helpers.c | 29 void print__rq_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_rq_params… 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, const struct _vcs_dpi_displ… in print__data_rq_sizing_params_st() argument 65 void print__data_rq_dlg_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_… in print__data_rq_dlg_params_st() argument 108 void print__data_rq_misc_params_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display… in print__data_rq_misc_params_st() argument [all …]
|
D | display_mode_lib.h | 53 struct display_mode_lib *mode_lib, 65 struct display_mode_lib *mode_lib, 71 struct display_mode_lib *mode_lib, 78 struct display_mode_lib *mode_lib, 82 void (*recalculate)(struct display_mode_lib *mode_lib); 83 void (*validate)(struct display_mode_lib *mode_lib); 104 struct display_mode_lib *mode_lib, 108 void dml_log_mode_support_params(struct display_mode_lib *mode_lib);
|
D | dml1_display_rq_dlg_calc.c | 98 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 …]
|
D | dml1_display_rq_dlg_calc.h | 34 struct display_mode_lib *mode_lib, 46 struct display_mode_lib *mode_lib, 55 struct display_mode_lib *mode_lib,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_32.c | 33 void dml32_recalculate(struct display_mode_lib *mode_lib); 35 struct display_mode_lib *mode_lib); 36 void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib); 38 void dml32_recalculate(struct display_mode_lib *mode_lib) in dml32_recalculate() argument 40 ModeSupportAndSystemConfiguration(mode_lib); in dml32_recalculate() 42 dml32_CalculateMaxDETAndMinCompressedBufferSize(mode_lib->vba.ConfigReturnBufferSizeInKByte, in dml32_recalculate() 43 mode_lib->vba.ROBBufferSizeInKByte, in dml32_recalculate() 49 &mode_lib->vba.MaxTotalDETInKByte, &mode_lib->vba.nomDETInKByte, in dml32_recalculate() 50 &mode_lib->vba.MinCompressedBufferSizeInKByte); in dml32_recalculate() 52 PixelClockAdjustmentForProgressiveToInterlaceUnit(mode_lib); in dml32_recalculate() [all …]
|
D | display_rq_dlg_calc_32.c | 44 struct display_mode_lib *mode_lib, in dml32_rq_dlg_get_rq_reg() argument 76 …pixel_chunk_bytes = get_pixel_chunk_size_in_kbyte(mode_lib, e2e_pipe_param, num_pipes) * 1024; // … in dml32_rq_dlg_get_rq_reg() 77 …min_pixel_chunk_bytes = get_min_pixel_chunk_size_in_byte(mode_lib, e2e_pipe_param, num_pipes); // … in dml32_rq_dlg_get_rq_reg() 82 …meta_chunk_bytes = get_meta_chunk_size_in_kbyte(mode_lib, e2e_pipe_param, num_pipes) * 1024; // Fr… in dml32_rq_dlg_get_rq_reg() 83 …min_meta_chunk_bytes = get_min_meta_chunk_size_in_byte(mode_lib, e2e_pipe_param, num_pipes); // Fr… in dml32_rq_dlg_get_rq_reg() 85 …dpte_group_bytes = get_dpte_group_size_in_bytes(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); //… in dml32_rq_dlg_get_rq_reg() 86 …mpte_group_bytes = get_vm_group_size_in_bytes(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); // F… in dml32_rq_dlg_get_rq_reg() 96 …p1_pixel_chunk_bytes = get_alpha_pixel_chunk_size_in_kbyte(mode_lib, e2e_pipe_param, num_pipes) * … in dml32_rq_dlg_get_rq_reg() 129 …detile_buf_size_in_bytes = get_det_buffer_size_kbytes(mode_lib, e2e_pipe_param, num_pipes, pipe_id… in dml32_rq_dlg_get_rq_reg() 131 pte_row_height_linear = get_dpte_row_height_linear_l(mode_lib, e2e_pipe_param, num_pipes, in dml32_rq_dlg_get_rq_reg() [all …]
|
D | display_mode_vba_32.h | 59 void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib); 60 void dml32_recalculate(struct display_mode_lib *mode_lib);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 70 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 …]
|
D | display_rq_dlg_calc_21.c | 42 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 …]
|
D | display_mode_vba_21.h | 29 void dml21_recalculate(struct display_mode_lib *mode_lib); 30 void dml21_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 44 static double get_refcyc_per_delivery(struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument 91 static void extract_rq_sizing_regs(struct display_mode_lib *mode_lib, in extract_rq_sizing_regs() argument 96 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs() 115 static void extract_rq_regs(struct display_mode_lib *mode_lib, in extract_rq_regs() argument 119 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() 122 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs() 128 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 160 static void handle_det_buf_split(struct display_mode_lib *mode_lib, in handle_det_buf_split() argument 175 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() 279 static void get_meta_and_pte_attr(struct display_mode_lib *mode_lib, in get_meta_and_pte_attr() argument [all …]
|
D | display_mode_vba_30.c | 69 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, 661 void dml30_recalculate(struct display_mode_lib *mode_lib) in dml30_recalculate() argument [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 131 struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument 179 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 181 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs() 200 static void extract_rq_regs(struct display_mode_lib *mode_lib, display_rq_regs_st *rq_regs, const d… in extract_rq_regs() argument 202 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() 205 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs() 210 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 255 static void handle_det_buf_split(struct display_mode_lib *mode_lib, display_rq_params_st *rq_param,… in handle_det_buf_split() argument 268 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() 388 struct display_mode_lib *mode_lib, in get_meta_and_pte_attr() argument [all …]
|
D | display_mode_vba_314.h | 30 void dml314_recalculate(struct display_mode_lib *mode_lib); 31 void dml314_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 43 struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() argument 91 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 93 print__data_rq_sizing_params_st(mode_lib, rq_sizing); in extract_rq_sizing_regs() 112 static void extract_rq_regs(struct display_mode_lib *mode_lib, display_rq_regs_st *rq_regs, const d… in extract_rq_regs() argument 114 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() 117 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_l), &rq_param->sizing.rq_l); in extract_rq_regs() 122 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 167 static void handle_det_buf_split(struct display_mode_lib *mode_lib, display_rq_params_st *rq_param,… in handle_det_buf_split() argument 180 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() 300 struct display_mode_lib *mode_lib, in get_meta_and_pte_attr() argument [all …]
|
D | display_mode_vba_31.h | 29 void dml31_recalculate(struct display_mode_lib *mode_lib); 30 void dml31_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib);
|