/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_rq_dlg_helpers.c | 191 …dlg_regs_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_dlg_regs_st *dlg_regs) in print__dlg_regs_st() argument 197 dlg_regs->refcyc_h_blank_end); in print__dlg_regs_st() 200 dlg_regs->dlg_vblank_end); in print__dlg_regs_st() 203 dlg_regs->min_dst_y_next_start); in print__dlg_regs_st() 206 dlg_regs->refcyc_per_htotal); in print__dlg_regs_st() 209 dlg_regs->refcyc_x_after_scaler); in print__dlg_regs_st() 212 dlg_regs->dst_y_after_scaler); in print__dlg_regs_st() 215 dlg_regs->dst_y_prefetch); in print__dlg_regs_st() 218 dlg_regs->dst_y_per_vm_vblank); in print__dlg_regs_st() 221 dlg_regs->dst_y_per_row_vblank); in print__dlg_regs_st() [all …]
|
D | display_mode_lib.h | 53 display_dlg_regs_st *dlg_regs, 71 display_dlg_regs_st *dlg_regs,
|
D | dml1_display_rq_dlg_calc.h | 56 struct _vcs_dpi_display_dlg_regs_st *dlg_regs,
|
D | display_rq_dlg_helpers.h | 43 …lg_regs_st(struct display_mode_lib *mode_lib, const struct _vcs_dpi_display_dlg_regs_st *dlg_regs);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_rq_dlg_calc_32.c | 207 display_dlg_regs_st *dlg_regs, in dml32_rq_dlg_get_dlg_reg() argument 266 memset(dlg_regs, 0, sizeof(*dlg_regs)); in dml32_rq_dlg_get_dlg_reg() 275 dlg_regs->ref_freq_to_pix_freq = (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml32_rq_dlg_get_dlg_reg() 276 …dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_pow(2, … in dml32_rq_dlg_get_dlg_reg() 277 dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml32_rq_dlg_get_dlg_reg() 290 dlg_regs->vready_after_vcount0 = vready_after_vcount0; in dml32_rq_dlg_get_dlg_reg() 292 dml_print("DML_DLG: %s: vready_after_vcount0 = %d\n", __func__, dlg_regs->vready_after_vcount0); in dml32_rq_dlg_get_dlg_reg() 334 dlg_regs->refcyc_h_blank_end = (unsigned int) ((double) hblank_end * ref_freq_to_pix_freq); in dml32_rq_dlg_get_dlg_reg() 341 dlg_regs->refcyc_h_blank_end = (unsigned int) (((double) hblank_end in dml32_rq_dlg_get_dlg_reg() 345 ASSERT(dlg_regs->refcyc_h_blank_end < (unsigned int)dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() [all …]
|
D | display_rq_dlg_calc_32.h | 64 display_dlg_regs_st *dlg_regs,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer_debug.c | 251 struct _vcs_dpi_display_dlg_regs_st *dlg_regs = &s->dlg_attr; in dcn10_get_dlg_states() local 261 …pool->hubps[i]->inst, dlg_regs->refcyc_h_blank_end, dlg_regs->dlg_vblank_end, dlg_regs->min_dst_y_… in dcn10_get_dlg_states() 262 dlg_regs->refcyc_per_htotal, dlg_regs->refcyc_x_after_scaler, dlg_regs->dst_y_after_scaler, in dcn10_get_dlg_states() 263 dlg_regs->dst_y_prefetch, dlg_regs->dst_y_per_vm_vblank, dlg_regs->dst_y_per_row_vblank, in dcn10_get_dlg_states() 264 dlg_regs->dst_y_per_vm_flip, dlg_regs->dst_y_per_row_flip, dlg_regs->ref_freq_to_pix_freq, in dcn10_get_dlg_states() 265 dlg_regs->vratio_prefetch, dlg_regs->vratio_prefetch_c, dlg_regs->refcyc_per_pte_group_vblank_l, in dcn10_get_dlg_states() 266 dlg_regs->refcyc_per_pte_group_vblank_c, dlg_regs->refcyc_per_meta_chunk_vblank_l, in dcn10_get_dlg_states() 267 dlg_regs->refcyc_per_meta_chunk_vblank_c, dlg_regs->refcyc_per_pte_group_flip_l, in dcn10_get_dlg_states() 268 dlg_regs->refcyc_per_pte_group_flip_c, dlg_regs->refcyc_per_meta_chunk_flip_l, in dcn10_get_dlg_states() 269 dlg_regs->refcyc_per_meta_chunk_flip_c, dlg_regs->dst_y_per_pte_row_nom_l, in dcn10_get_dlg_states() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_utils.c | 177 memset(&out->dlg_regs, 0, sizeof(out->dlg_regs)); in dml21_update_pipe_ctx_dchub_regs() 178 out->dlg_regs.refcyc_h_blank_end = disp_dlg_regs->refcyc_h_blank_end; in dml21_update_pipe_ctx_dchub_regs() 179 out->dlg_regs.dlg_vblank_end = disp_dlg_regs->dlg_vblank_end; in dml21_update_pipe_ctx_dchub_regs() 180 out->dlg_regs.min_dst_y_next_start = disp_dlg_regs->min_dst_y_next_start; in dml21_update_pipe_ctx_dchub_regs() 181 out->dlg_regs.refcyc_per_htotal = disp_dlg_regs->refcyc_per_htotal; in dml21_update_pipe_ctx_dchub_regs() 182 out->dlg_regs.refcyc_x_after_scaler = disp_dlg_regs->refcyc_x_after_scaler; in dml21_update_pipe_ctx_dchub_regs() 183 out->dlg_regs.dst_y_after_scaler = disp_dlg_regs->dst_y_after_scaler; in dml21_update_pipe_ctx_dchub_regs() 184 out->dlg_regs.dst_y_prefetch = disp_dlg_regs->dst_y_prefetch; in dml21_update_pipe_ctx_dchub_regs() 185 out->dlg_regs.dst_y_per_vm_vblank = disp_dlg_regs->dst_y_per_vm_vblank; in dml21_update_pipe_ctx_dchub_regs() 186 out->dlg_regs.dst_y_per_row_vblank = disp_dlg_regs->dst_y_per_row_vblank; in dml21_update_pipe_ctx_dchub_regs() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_util.c | 249 void dml_print_dlg_regs_st(const dml_display_dlg_regs_st *dlg_regs) in dml_print_dlg_regs_st() argument 253 dml_print("DML: refcyc_h_blank_end = 0x%x\n", dlg_regs->refcyc_h_blank_end); in dml_print_dlg_regs_st() 254 dml_print("DML: dlg_vblank_end = 0x%x\n", dlg_regs->dlg_vblank_end); in dml_print_dlg_regs_st() 255 dml_print("DML: min_dst_y_next_start = 0x%x\n", dlg_regs->min_dst_y_next_start); in dml_print_dlg_regs_st() 256 dml_print("DML: refcyc_per_htotal = 0x%x\n", dlg_regs->refcyc_per_htotal); in dml_print_dlg_regs_st() 257 dml_print("DML: refcyc_x_after_scaler = 0x%x\n", dlg_regs->refcyc_x_after_scaler); in dml_print_dlg_regs_st() 258 dml_print("DML: dst_y_after_scaler = 0x%x\n", dlg_regs->dst_y_after_scaler); in dml_print_dlg_regs_st() 259 dml_print("DML: dst_y_prefetch = 0x%x\n", dlg_regs->dst_y_prefetch); in dml_print_dlg_regs_st() 260 dml_print("DML: dst_y_per_vm_vblank = 0x%x\n", dlg_regs->dst_y_per_vm_vblank); in dml_print_dlg_regs_st() 261 dml_print("DML: dst_y_per_row_vblank = 0x%x\n", dlg_regs->dst_y_per_row_vblank); in dml_print_dlg_regs_st() [all …]
|
D | dml2_translation_helper.c | 1434 memset(&out->dlg_regs, 0, sizeof(out->dlg_regs)); in dml2_update_pipe_ctx_dchub_regs() 1435 out->dlg_regs.refcyc_h_blank_end = disp_dlg_regs->refcyc_h_blank_end; in dml2_update_pipe_ctx_dchub_regs() 1436 out->dlg_regs.dlg_vblank_end = disp_dlg_regs->dlg_vblank_end; in dml2_update_pipe_ctx_dchub_regs() 1437 out->dlg_regs.min_dst_y_next_start = disp_dlg_regs->min_dst_y_next_start; in dml2_update_pipe_ctx_dchub_regs() 1438 out->dlg_regs.refcyc_per_htotal = disp_dlg_regs->refcyc_per_htotal; in dml2_update_pipe_ctx_dchub_regs() 1439 out->dlg_regs.refcyc_x_after_scaler = disp_dlg_regs->refcyc_x_after_scaler; in dml2_update_pipe_ctx_dchub_regs() 1440 out->dlg_regs.dst_y_after_scaler = disp_dlg_regs->dst_y_after_scaler; in dml2_update_pipe_ctx_dchub_regs() 1441 out->dlg_regs.dst_y_prefetch = disp_dlg_regs->dst_y_prefetch; in dml2_update_pipe_ctx_dchub_regs() 1442 out->dlg_regs.dst_y_per_vm_vblank = disp_dlg_regs->dst_y_per_vm_vblank; in dml2_update_pipe_ctx_dchub_regs() 1443 out->dlg_regs.dst_y_per_row_vblank = disp_dlg_regs->dst_y_per_row_vblank; in dml2_update_pipe_ctx_dchub_regs() [all …]
|
D | dml_display_rq_dlg_calc.h | 55 void dml_rq_dlg_get_dlg_reg(dml_display_dlg_regs_st *dlg_regs,
|
D | display_mode_util.h | 56 __DML_DLL_EXPORT__ void dml_print_dlg_regs_st(const dml_display_dlg_regs_st *dlg_regs);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
D | dcn10_hwseq.c | 240 struct _vcs_dpi_display_dlg_regs_st *dlg_regs = &s->dlg_attr; in dcn10_log_hubp_states() local 246 …pool->hubps[i]->inst, dlg_regs->refcyc_h_blank_end, dlg_regs->dlg_vblank_end, dlg_regs->min_dst_y_… in dcn10_log_hubp_states() 247 dlg_regs->refcyc_per_htotal, dlg_regs->refcyc_x_after_scaler, dlg_regs->dst_y_after_scaler, in dcn10_log_hubp_states() 248 dlg_regs->dst_y_prefetch, dlg_regs->dst_y_per_vm_vblank, dlg_regs->dst_y_per_row_vblank, in dcn10_log_hubp_states() 249 dlg_regs->dst_y_per_vm_flip, dlg_regs->dst_y_per_row_flip, dlg_regs->ref_freq_to_pix_freq, in dcn10_log_hubp_states() 250 dlg_regs->vratio_prefetch, dlg_regs->vratio_prefetch_c, dlg_regs->refcyc_per_pte_group_vblank_l, in dcn10_log_hubp_states() 251 dlg_regs->refcyc_per_pte_group_vblank_c, dlg_regs->refcyc_per_meta_chunk_vblank_l, in dcn10_log_hubp_states() 252 dlg_regs->refcyc_per_meta_chunk_vblank_c, dlg_regs->refcyc_per_pte_group_flip_l, in dcn10_log_hubp_states() 253 dlg_regs->refcyc_per_pte_group_flip_c, dlg_regs->refcyc_per_meta_chunk_flip_l, in dcn10_log_hubp_states() 254 dlg_regs->refcyc_per_meta_chunk_flip_c, dlg_regs->dst_y_per_pte_row_nom_l, in dcn10_log_hubp_states() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.h | 58 display_dlg_regs_st *dlg_regs,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.h | 62 display_dlg_regs_st *dlg_regs,
|
D | display_rq_dlg_calc_20v2.h | 62 display_dlg_regs_st *dlg_regs,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.h | 58 display_dlg_regs_st *dlg_regs,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.h | 62 display_dlg_regs_st *dlg_regs,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.h | 59 display_dlg_regs_st *dlg_regs,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | hubp.h | 142 struct _vcs_dpi_display_dlg_regs_st *dlg_regs, 149 struct _vcs_dpi_display_dlg_regs_st *dlg_regs,
|
D | mem_input.h | 107 struct _vcs_dpi_display_dlg_regs_st *dlg_regs,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
D | dml_top_dchub_registers.h | 148 struct dml2_display_dlg_regs dlg_regs; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 459 struct _vcs_dpi_display_dlg_regs_st *dlg_regs = &pipe->dlg_regs; in dcn_bw_calc_rq_dlg_ttu() local 470 memset(dlg_regs, 0, sizeof(*dlg_regs)); in dcn_bw_calc_rq_dlg_ttu() 511 dlg_regs, in dcn_bw_calc_rq_dlg_ttu()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 454 struct _vcs_dpi_display_dlg_regs_st dlg_regs; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
D | dcn20_hwseq.c | 1594 struct _vcs_dpi_display_dlg_regs_st old_dlg_attr = old_pipe->dlg_regs; in dcn20_detect_pipe_changes() 1596 struct _vcs_dpi_display_dlg_regs_st *new_dlg_attr = &new_pipe->dlg_regs; in dcn20_detect_pipe_changes() 1639 if (memcmp(&old_dlg_attr, &new_pipe->dlg_regs, sizeof(old_dlg_attr)) || in dcn20_detect_pipe_changes() 1682 &pipe_ctx->dlg_regs, in dcn20_update_dchubp_dpp() 1694 &pipe_ctx->dlg_regs, in dcn20_update_dchubp_dpp() 2440 pipe_ctx->dlg_regs.min_dst_y_next_start); in dcn20_optimize_bandwidth() 2489 &pipe_ctx->dlg_regs, in dcn20_update_bandwidth()
|