Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c1073 double dst_y_prefetch; in dml1_rq_dlg_get_dlg_params() local
1343 dst_y_prefetch = ((double) min_vblank - 1.0) in dml1_rq_dlg_get_dlg_params()
1345 DTRACE("DLG: %s: dst_y_prefetch (before rnd) = %3.2f", __func__, dst_y_prefetch); in dml1_rq_dlg_get_dlg_params()
1346 ASSERT(dst_y_prefetch >= 2.0); in dml1_rq_dlg_get_dlg_params()
1348 dst_y_prefetch = dml_floor(4.0 * (dst_y_prefetch + 0.125), 1) / 4; in dml1_rq_dlg_get_dlg_params()
1349 DTRACE("DLG: %s: dst_y_prefetch (after rnd) = %3.2f", __func__, dst_y_prefetch); in dml1_rq_dlg_get_dlg_params()
1351 t_pre_us = dst_y_prefetch * line_time_in_us; in dml1_rq_dlg_get_dlg_params()
1450 disp_dlg_regs->dst_y_prefetch = (unsigned int) (dst_y_prefetch * dml_pow(2, 2)); in dml1_rq_dlg_get_dlg_params()
1454 disp_dlg_regs->dst_y_prefetch); in dml1_rq_dlg_get_dlg_params()
1479 DTRACE("DLG: %s: dst_y_prefetch = %3.2f", __func__, dst_y_prefetch); in dml1_rq_dlg_get_dlg_params()
[all …]
H A Ddisplay_rq_dlg_helpers.c215 dlg_regs->dst_y_prefetch); in print__dlg_regs_st()
H A Ddisplay_mode_structs.h628 unsigned int dst_y_prefetch; member
H A Ddisplay_mode_vba.h88 dml_get_pipe_attr_decl(dst_y_prefetch);
H A Ddisplay_mode_vba.c149 dml_get_pipe_attr_func(dst_y_prefetch, mode_lib->vba.DestinationLinesForPrefetch);
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_rq_dlg_calc_32.c242 double dst_y_prefetch; in dml32_rq_dlg_get_dlg_reg() local
351dst_y_prefetch = get_dst_y_prefetch(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); // From… in dml32_rq_dlg_get_dlg_reg()
365 dml_print("DML_DLG: %s: dst_y_prefetch (after rnd) = %3.2f\n", __func__, dst_y_prefetch); in dml32_rq_dlg_get_dlg_reg()
373 ASSERT(dst_y_prefetch > (dst_y_per_vm_vblank + dst_y_per_row_vblank)); in dml32_rq_dlg_get_dlg_reg()
446 dlg_regs->dst_y_prefetch = (unsigned int) (dst_y_prefetch * dml_pow(2, 2)); in dml32_rq_dlg_get_dlg_reg()
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml_display_rq_dlg_calc.c225 dml_float_t dst_y_prefetch; in dml_rq_dlg_get_dlg_reg() local
340 dst_y_prefetch = dml_get_dst_y_prefetch(mode_lib, pipe_idx); in dml_rq_dlg_get_dlg_reg()
352 dml_print("DML_DLG: %s: dst_y_prefetch (after rnd) = %3.2f\n", __func__, dst_y_prefetch); in dml_rq_dlg_get_dlg_reg()
360 ASSERT(dst_y_prefetch > (dst_y_per_vm_vblank + dst_y_per_row_vblank)); in dml_rq_dlg_get_dlg_reg()
416 disp_dlg_regs->dst_y_prefetch = (dml_uint_t)(dst_y_prefetch * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_reg()
H A Ddisplay_mode_core.h135 dml_get_per_surface_var_decl(dst_y_prefetch, dml_float_t);
H A Ddml2_translation_helper.c1481 out->dlg_regs.dst_y_prefetch = disp_dlg_regs->dst_y_prefetch; in dml2_update_pipe_ctx_dchub_regs()
H A Ddisplay_mode_util.c259 dml_print("DML: dst_y_prefetch = 0x%x\n", dlg_regs->dst_y_prefetch); in dml_print_dlg_regs_st()
H A Ddisplay_mode_core_structs.h1936 dml_uint_t dst_y_prefetch; member
H A Ddisplay_mode_core.c10266 dml_get_per_surface_var_func(dst_y_prefetch, dml_float_t, mode_lib->mp.DestinationLinesForPrefetch);
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20.c867 double dst_y_prefetch; in dml20_rq_dlg_get_dlg_params() local
1088 dst_y_prefetch = get_dst_y_prefetch(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); in dml20_rq_dlg_get_dlg_params()
1089 dml_print("DML_DLG: %s: dst_y_prefetch (after rnd) = %3.2f\n", __func__, dst_y_prefetch); in dml20_rq_dlg_get_dlg_params()
1118 ASSERT(dst_y_prefetch > (dst_y_per_vm_vblank + dst_y_per_row_vblank)); in dml20_rq_dlg_get_dlg_params()
1119 lsw = dst_y_prefetch - (dst_y_per_vm_vblank + dst_y_per_row_vblank); in dml20_rq_dlg_get_dlg_params()
1380 disp_dlg_regs->dst_y_prefetch = (unsigned int) (dst_y_prefetch * dml_pow(2, 2)); in dml20_rq_dlg_get_dlg_params()
H A Ddisplay_rq_dlg_calc_20v2.c867 double dst_y_prefetch; in dml20v2_rq_dlg_get_dlg_params() local
1089 dst_y_prefetch = get_dst_y_prefetch(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); in dml20v2_rq_dlg_get_dlg_params()
1090 dml_print("DML_DLG: %s: dst_y_prefetch (after rnd) = %3.2f\n", __func__, dst_y_prefetch); in dml20v2_rq_dlg_get_dlg_params()
1119 ASSERT(dst_y_prefetch > (dst_y_per_vm_vblank + dst_y_per_row_vblank)); in dml20v2_rq_dlg_get_dlg_params()
1120 lsw = dst_y_prefetch - (dst_y_per_vm_vblank + dst_y_per_row_vblank); in dml20v2_rq_dlg_get_dlg_params()
1381 disp_dlg_regs->dst_y_prefetch = (unsigned int) (dst_y_prefetch * dml_pow(2, 2)); in dml20v2_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c913 double dst_y_prefetch; in dml_rq_dlg_get_dlg_params() local
1136 dst_y_prefetch = get_dst_y_prefetch(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); in dml_rq_dlg_get_dlg_params()
1137 dml_print("DML_DLG: %s: dst_y_prefetch (after rnd) = %3.2f\n", __func__, dst_y_prefetch); in dml_rq_dlg_get_dlg_params()
1170 ASSERT(dst_y_prefetch > (dst_y_per_vm_vblank + dst_y_per_row_vblank)); in dml_rq_dlg_get_dlg_params()
1171 lsw = dst_y_prefetch - (dst_y_per_vm_vblank + dst_y_per_row_vblank); in dml_rq_dlg_get_dlg_params()
1450 disp_dlg_regs->dst_y_prefetch = (unsigned int) (dst_y_prefetch * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c979 double dst_y_prefetch = 0; in dml_rq_dlg_get_dlg_params() local
1242 dst_y_prefetch = get_dst_y_prefetch(mode_lib, e2e_pipe_param, num_pipes, pipe_idx); in dml_rq_dlg_get_dlg_params()
1243 dml_print("DML_DLG: %s: dst_y_prefetch (after rnd) = %3.2f\n", __func__, dst_y_prefetch); in dml_rq_dlg_get_dlg_params()
1274 ASSERT(dst_y_prefetch > (dst_y_per_vm_vblank + dst_y_per_row_vblank)); in dml_rq_dlg_get_dlg_params()
1275 lsw = dst_y_prefetch - (dst_y_per_vm_vblank + dst_y_per_row_vblank); in dml_rq_dlg_get_dlg_params()
1552 disp_dlg_regs->dst_y_prefetch = (unsigned int)(dst_y_prefetch * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
H A Ddml_top_dchub_registers.h18 uint32_t dst_y_prefetch; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared_types.h417 double dst_y_prefetch[DML2_MAX_PLANES]; member
740 double dst_y_prefetch[DML2_MAX_PLANES]; member
1439 double dst_y_prefetch; member
1788 double *dst_y_prefetch; member
1839 double *dst_y_prefetch; member
H A Ddml2_core_dcn4_calcs.c5740 *p->dst_y_prefetch = s->dst_y_prefetch_oto; in CalculatePrefetchSchedule()
5751 *p->dst_y_prefetch = s->dst_y_prefetch_equ; in CalculatePrefetchSchedule()
5754 *p->dst_y_prefetch = s->dst_y_prefetch_equ_impacted; in CalculatePrefetchSchedule()
5768 …s->LinesToRequestPrefetchPixelData = *p->dst_y_prefetch - *p->dst_y_per_vm_vblank - 2 * *p->dst_y_… in CalculatePrefetchSchedule()
5778 dml2_printf("DML::%s: dst_y_prefetch = %f\n", __func__, *p->dst_y_prefetch); in CalculatePrefetchSchedule()
5790 dml2_assert(*p->dst_y_prefetch < 64); in CalculatePrefetchSchedule()
5932 *p->dst_y_prefetch = 0; in CalculatePrefetchSchedule()
6093 if (p->impacted_dst_y_pre[i] > p->dst_y_prefetch[i]) { in CheckGlobalPrefetchAdmissibility()
9057 CalculatePrefetchSchedule_params->dst_y_prefetch = &mode_lib->ms.dst_y_prefetch[k]; in dml_core_mode_support()
9115 if (mode_lib->ms.dst_y_prefetch[k] < 2.0 in dml_core_mode_support()
[all …]
H A Ddml2_core_shared.c2375 CalculatePrefetchSchedule_params->dst_y_prefetch = &mode_lib->ms.dst_y_prefetch[k]; in dml2_core_shared_mode_support()
2408 if (mode_lib->ms.dst_y_prefetch[k] < 2.0 in dml2_core_shared_mode_support()
2414 …::%s: k=%d, dst_y_prefetch=%f (should not be < 2)\n", __func__, k, mode_lib->ms.dst_y_prefetch[k]); in dml2_core_shared_mode_support()
8015 *p->dst_y_prefetch = s->dst_y_prefetch_oto; in CalculatePrefetchSchedule()
8026 *p->dst_y_prefetch = s->dst_y_prefetch_equ; in CalculatePrefetchSchedule()
8041 dml2_assert(*p->dst_y_prefetch < 64); in CalculatePrefetchSchedule()
8044 …s->LinesToRequestPrefetchPixelData = *p->dst_y_prefetch - *p->dst_y_per_vm_vblank - 2 * *p->dst_y_… in CalculatePrefetchSchedule()
8053 dml2_printf("DML::%s: dst_y_prefetch = %f\n", __func__, *p->dst_y_prefetch); in CalculatePrefetchSchedule()
8201 *p->dst_y_prefetch = 0; in CalculatePrefetchSchedule()
10702 CalculatePrefetchSchedule_params->dst_y_prefetch = &mode_lib->mp.dst_y_prefetch[k]; in dml2_core_shared_mode_programming()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.c717 DST_Y_PREFETCH, dlg_attr->dst_y_prefetch, in hubp1_setup_interdependent()
940 DST_Y_PREFETCH, &dlg_attr->dst_y_prefetch, in hubp1_read_state_common()
944 DST_Y_PREFETCH, &dlg_attr->dst_y_prefetch, in hubp1_read_state_common()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c330 DST_Y_PREFETCH, pipe_regs->dlg_regs.dst_y_prefetch, in hubp401_setup_interdependent()
838 DST_Y_PREFETCH, &dlg_attr->dst_y_prefetch, in hubp401_read_state()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c254 DST_Y_PREFETCH, dlg_attr->dst_y_prefetch, in hubp2_setup_interdependent()
1171 DST_Y_PREFETCH, &dlg_attr->dst_y_prefetch, in hubp2_read_state_common()
1175 DST_Y_PREFETCH, &dlg_attr->dst_y_prefetch, in hubp2_read_state_common()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c2607 if ((old_dlg_regs.dst_y_prefetch != new_dlg_regs->dst_y_prefetch) in dcn401_detect_pipe_changes()
2625 old_dlg_regs.dst_y_prefetch = new_dlg_regs->dst_y_prefetch; in dcn401_detect_pipe_changes()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c1604 if (old_dlg_attr.dst_y_prefetch != new_dlg_attr->dst_y_prefetch || in dcn20_detect_pipe_changes()
1622 old_dlg_attr.dst_y_prefetch = new_dlg_attr->dst_y_prefetch; in dcn20_detect_pipe_changes()