Home
last modified time | relevance | path

Searched refs:dst_y_per_row_flip (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c917 double dst_y_per_row_flip; in dml_rq_dlg_get_dlg_params() local
1150 dst_y_per_row_flip = get_dst_y_per_row_flip(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); in dml_rq_dlg_get_dlg_params()
1163 dml_print("DML_DLG: %s: dst_y_per_row_flip = %3.2f\n", __func__, dst_y_per_row_flip); in dml_rq_dlg_get_dlg_params()
1454 disp_dlg_regs->dst_y_per_row_flip = (unsigned int) (dst_y_per_row_flip * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params()
1462 …G: %s: disp_dlg_regs->dst_y_per_row_flip = 0x%x\n", __func__, disp_dlg_regs->dst_y_per_row_flip); in dml_rq_dlg_get_dlg_params()
1496 disp_dlg_regs->refcyc_per_pte_group_flip_l = (unsigned int) (dst_y_per_row_flip * htotal in dml_rq_dlg_get_dlg_params()
1498 disp_dlg_regs->refcyc_per_meta_chunk_flip_l = (unsigned int) (dst_y_per_row_flip * htotal in dml_rq_dlg_get_dlg_params()
1502 disp_dlg_regs->refcyc_per_pte_group_flip_c = (unsigned int) (dst_y_per_row_flip in dml_rq_dlg_get_dlg_params()
1504 disp_dlg_regs->refcyc_per_meta_chunk_flip_c = (unsigned int) (dst_y_per_row_flip in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_rq_dlg_calc_32.c246 double dst_y_per_row_flip; in dml32_rq_dlg_get_dlg_reg() local
357dst_y_per_row_flip = get_dst_y_per_row_flip(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); // Fr… in dml32_rq_dlg_get_dlg_reg()
367 dml_print("DML_DLG: %s: dst_y_per_row_flip = %3.2f\n", __func__, dst_y_per_row_flip); in dml32_rq_dlg_get_dlg_reg()
450 dlg_regs->dst_y_per_row_flip = (unsigned int) (dst_y_per_row_flip * dml_pow(2, 2)); in dml32_rq_dlg_get_dlg_reg()
458 …nt("DML_DLG: %s: dlg_regs->dst_y_per_row_flip = 0x%x\n", __func__, dlg_regs->dst_y_per_row_flip); in dml32_rq_dlg_get_dlg_reg()
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml_display_rq_dlg_calc.c229 dml_float_t dst_y_per_row_flip; in dml_rq_dlg_get_dlg_reg() local
344 dst_y_per_row_flip = dml_get_dst_y_per_row_flip(mode_lib, pipe_idx); in dml_rq_dlg_get_dlg_reg()
354 dml_print("DML_DLG: %s: dst_y_per_row_flip = %3.2f\n", __func__, dst_y_per_row_flip); in dml_rq_dlg_get_dlg_reg()
420 disp_dlg_regs->dst_y_per_row_flip = (dml_uint_t)(dst_y_per_row_flip * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_reg()
428 …DLG: %s: disp_dlg_regs->dst_y_per_row_flip = 0x%x\n", __func__, disp_dlg_regs->dst_y_per_row_flip); in dml_rq_dlg_get_dlg_reg()
H A Ddisplay_mode_core.h137 dml_get_per_surface_var_decl(dst_y_per_row_flip, dml_float_t);
H A Ddml2_translation_helper.c1485 out->dlg_regs.dst_y_per_row_flip = disp_dlg_regs->dst_y_per_row_flip; in dml2_update_pipe_ctx_dchub_regs()
H A Ddisplay_mode_util.c263 dml_print("DML: dst_y_per_row_flip = 0x%x\n", dlg_regs->dst_y_per_row_flip); in dml_print_dlg_regs_st()
H A Ddisplay_mode_core_structs.h1940 dml_uint_t dst_y_per_row_flip; member
H A Ddisplay_mode_core.c10268 dml_get_per_surface_var_func(dst_y_per_row_flip, dml_float_t, mode_lib->mp.DestinationLinesToReques…
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c983 double dst_y_per_row_flip = 0; in dml_rq_dlg_get_dlg_params() local
1254 dst_y_per_row_flip = get_dst_y_per_row_flip(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); in dml_rq_dlg_get_dlg_params()
1267 dml_print("DML_DLG: %s: dst_y_per_row_flip = %3.2f\n", __func__, dst_y_per_row_flip); in dml_rq_dlg_get_dlg_params()
1556 disp_dlg_regs->dst_y_per_row_flip = (unsigned int)(dst_y_per_row_flip * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params()
1564 …G: %s: disp_dlg_regs->dst_y_per_row_flip = 0x%x\n", __func__, disp_dlg_regs->dst_y_per_row_flip); in dml_rq_dlg_get_dlg_params()
1587 disp_dlg_regs->refcyc_per_pte_group_flip_l = (unsigned int)(dst_y_per_row_flip * htotal in dml_rq_dlg_get_dlg_params()
1589 disp_dlg_regs->refcyc_per_meta_chunk_flip_l = (unsigned int)(dst_y_per_row_flip * htotal in dml_rq_dlg_get_dlg_params()
1593 disp_dlg_regs->refcyc_per_pte_group_flip_c = (unsigned int)(dst_y_per_row_flip in dml_rq_dlg_get_dlg_params()
1595 disp_dlg_regs->refcyc_per_meta_chunk_flip_c = (unsigned int)(dst_y_per_row_flip in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20.c871 double dst_y_per_row_flip; in dml20_rq_dlg_get_dlg_params() local
1100 dst_y_per_row_flip = get_dst_y_per_row_flip(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); in dml20_rq_dlg_get_dlg_params()
1384 disp_dlg_regs->dst_y_per_row_flip = (unsigned int) (dst_y_per_row_flip * dml_pow(2, 2)); in dml20_rq_dlg_get_dlg_params()
1410 disp_dlg_regs->refcyc_per_pte_group_flip_l = (unsigned int) (dst_y_per_row_flip * htotal in dml20_rq_dlg_get_dlg_params()
1412 disp_dlg_regs->refcyc_per_meta_chunk_flip_l = (unsigned int) (dst_y_per_row_flip * htotal in dml20_rq_dlg_get_dlg_params()
1416 disp_dlg_regs->refcyc_per_pte_group_flip_c = (unsigned int) (dst_y_per_row_flip in dml20_rq_dlg_get_dlg_params()
1418 disp_dlg_regs->refcyc_per_meta_chunk_flip_c = (unsigned int) (dst_y_per_row_flip in dml20_rq_dlg_get_dlg_params()
H A Ddisplay_rq_dlg_calc_20v2.c871 double dst_y_per_row_flip; in dml20v2_rq_dlg_get_dlg_params() local
1101 dst_y_per_row_flip = get_dst_y_per_row_flip(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); in dml20v2_rq_dlg_get_dlg_params()
1385 disp_dlg_regs->dst_y_per_row_flip = (unsigned int) (dst_y_per_row_flip * dml_pow(2, 2)); in dml20v2_rq_dlg_get_dlg_params()
1411 disp_dlg_regs->refcyc_per_pte_group_flip_l = (unsigned int) (dst_y_per_row_flip * htotal in dml20v2_rq_dlg_get_dlg_params()
1413 disp_dlg_regs->refcyc_per_meta_chunk_flip_l = (unsigned int) (dst_y_per_row_flip * htotal in dml20v2_rq_dlg_get_dlg_params()
1417 disp_dlg_regs->refcyc_per_pte_group_flip_c = (unsigned int) (dst_y_per_row_flip in dml20v2_rq_dlg_get_dlg_params()
1419 disp_dlg_regs->refcyc_per_meta_chunk_flip_c = (unsigned int) (dst_y_per_row_flip in dml20v2_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
H A Ddml_top_dchub_registers.h22 uint32_t dst_y_per_row_flip; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared_types.h446 double dst_y_per_row_flip[DML2_MAX_PLANES]; member
744 double dst_y_per_row_flip[DML2_MAX_PLANES]; member
1443 double dst_y_per_row_flip; member
1489 double *dst_y_per_row_flip; member
H A Ddml2_core_shared.c659 double *dst_y_per_row_flip,
2593 &mode_lib->ms.dst_y_per_row_flip[k], in dml2_core_shared_mode_support()
8540 double *dst_y_per_row_flip, in CalculateFlipSchedule()
8645 *dst_y_per_row_flip = 1; // not used in CalculateFlipSchedule()
8676 *dst_y_per_row_flip = math_ceil2(4.0 * (l->Tr0_flip / LineTime), 1.0) / 4.0; in CalculateFlipSchedule()
8679 …(l->dpte_row_bytes * HostVMInefficiencyFactor + meta_row_bytes) / (*dst_y_per_row_flip * LineTime)… in CalculateFlipSchedule()
8681 …if (*dst_y_per_vm_flip >= 32 || *dst_y_per_row_flip >= 16 || l->Tvm_flip + 2 * l->Tr0_flip > l->mi… in CalculateFlipSchedule()
8690 *dst_y_per_row_flip = 0; in CalculateFlipSchedule()
8699 *dst_y_per_row_flip = 0; in CalculateFlipSchedule()
8707 dml2_printf("DML::%s: dst_y_per_row_flip = %f (should be < 16)\n", __func__, *dst_y_per_row_flip); in CalculateFlipSchedule()
[all …]
H A Ddml2_core_dcn4_calcs.c6512 double *dst_y_per_row_flip, in CalculateFlipSchedule()
6621 *dst_y_per_row_flip = 1; // not used in CalculateFlipSchedule()
6654 *dst_y_per_row_flip = math_ceil2(4.0 * (l->Tr0_flip / LineTime), 1.0) / 4.0; in CalculateFlipSchedule()
6657 …(l->dpte_row_bytes * HostVMInefficiencyFactor + meta_row_bytes) / (*dst_y_per_row_flip * LineTime)… in CalculateFlipSchedule()
6659 …if (*dst_y_per_vm_flip >= 32 || *dst_y_per_row_flip >= 16 || l->Tvm_flip + 2 * l->Tr0_flip > l->mi… in CalculateFlipSchedule()
6668 *dst_y_per_row_flip = 0; in CalculateFlipSchedule()
6677 *dst_y_per_row_flip = 0; in CalculateFlipSchedule()
6685 dml2_printf("DML::%s: dst_y_per_row_flip = %f (should be < 16)\n", __func__, *dst_y_per_row_flip); in CalculateFlipSchedule()
9347 &mode_lib->ms.dst_y_per_row_flip[k], in dml_core_mode_support()
9785 …p->TimePerMetaChunkFlip[k] = p->dst_y_per_row_flip[k] * p->display_cfg->stream_descriptors[p->disp… in CalculateMetaAndPTETimes()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_rq_dlg_helpers.c227 dlg_regs->dst_y_per_row_flip); in print__dlg_regs_st()
H A Ddisplay_mode_structs.h632 unsigned int dst_y_per_row_flip; member
H A Ddisplay_mode_vba.h90 dml_get_pipe_attr_decl(dst_y_per_row_flip);
H A Ddisplay_mode_vba.c151 dml_get_pipe_attr_func(dst_y_per_row_flip, mode_lib->vba.DestinationLinesToRequestRowInImmediateFli…
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c2613 || (old_dlg_regs.dst_y_per_row_flip != new_dlg_regs->dst_y_per_row_flip) in dcn401_detect_pipe_changes()
2631 old_dlg_regs.dst_y_per_row_flip = new_dlg_regs->dst_y_per_row_flip; in dcn401_detect_pipe_changes()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c1610 old_dlg_attr.dst_y_per_row_flip != new_dlg_attr->dst_y_per_row_flip || in dcn20_detect_pipe_changes()
1628 old_dlg_attr.dst_y_per_row_flip = new_dlg_attr->dst_y_per_row_flip; in dcn20_detect_pipe_changes()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c342 DST_Y_PER_ROW_FLIP, pipe_regs->dlg_regs.dst_y_per_row_flip); in hubp401_setup_interdependent()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c266 DST_Y_PER_ROW_FLIP, dlg_attr->dst_y_per_row_flip); in hubp2_setup_interdependent()