Searched refs:dml_floor (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A D | display_mode_vba_util_32.c | 658 DETBufferSizeY[k] = dml_floor(DETBufferSizeInKByte[k] * 1024 * 2 / 3, 1024); in dml32_CalculateSwathAndDETConfiguration() 795 dml_floor(ViewportXStart[k] + in dml32_CalculateSwathWidth() 799 dml_floor(ViewportXStart[k], in dml32_CalculateSwathWidth() 811 dml_floor(ViewportXStartC[k] + SwathWidthC[k] + in dml32_CalculateSwathWidth() 814 dml_floor(ViewportXStartC[k], in dml32_CalculateSwathWidth() 830 swath_width_luma_ub[k] = dml_min(surface_height_ub_l, dml_floor(ViewportYStart[k] + in dml32_CalculateSwathWidth() 833 dml_floor(ViewportYStart[k], Read256BytesBlockHeightY[k])); in dml32_CalculateSwathWidth() 842 dml_floor(ViewportYStartC[k] + SwathWidthC[k] + in dml32_CalculateSwathWidth() 845 dml_floor(ViewportYStartC[k], in dml32_CalculateSwathWidth() 1116 dml_floor((double) DETBufferSizePoolInKByte, in dml32_CalculateDETBufferSize() [all …]
|
| H A D | display_mode_vba_32.c | 698 dml_floor((mode_lib->vba.VTotal[k] - mode_lib->vba.VActive[k]) / 2.0, 1.0) : in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1442 v->MIN_DST_Y_NEXT_START[k] = ((isInterlaceTiming ? dml_floor((mode_lib->vba.VTotal[k] - in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1448 + dml_floor(4.0 * v->TSetup[k] / (mode_lib->vba.HTotal[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1454 / mode_lib->vba.HTotal[k]) <= (isInterlaceTiming ? dml_floor((mode_lib->vba.VTotal[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2964 dml_floor((mode_lib->vba.VTotal[k] - in dml32_ModeSupportAndSystemConfigurationFull()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | dml_inline_defs.h | 74 static inline double dml_floor(double a, double granularity) in dml_floor() function 85 return dml_floor(a + round_pt, 1); in dml_round()
|
| H A D | dml1_display_rq_dlg_calc.c | 136 double prefill = dml_floor(vinit, 1); in get_vratio_pre() 177 double prefill = dml_floor(vinit, 1); in get_swath_need() 522 log2_dpte_row_height_linear = dml_floor( in dml1_rq_dlg_get_row_heights() 848 log2_dpte_row_height_linear = dml_floor( in get_surf_rq_param() 1348 dst_y_prefetch = dml_floor(4.0 * (dst_y_prefetch + 0.125), 1) / 4; in dml1_rq_dlg_get_dlg_params() 1460 dst_y_per_vm_vblank = dml_floor(4.0 * (dst_y_per_vm_vblank + 0.125), 1) / 4.0; in dml1_rq_dlg_get_dlg_params() 1464 dst_y_per_row_vblank = dml_floor(4.0 * (dst_y_per_row_vblank + 0.125), 1) / 4.0; in dml1_rq_dlg_get_dlg_params() 1683 disp_dlg_regs->refcyc_per_line_delivery_pre_l = (unsigned int) dml_floor( in dml1_rq_dlg_get_dlg_params() 1686 disp_dlg_regs->refcyc_per_line_delivery_l = (unsigned int) dml_floor( in dml1_rq_dlg_get_dlg_params() 1722 disp_dlg_regs->refcyc_per_line_delivery_pre_c = (unsigned int) dml_floor( in dml1_rq_dlg_get_dlg_params() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | display_mode_core.c | 1145 *p->DSTYAfterScaler = (dml_uint_t)(dml_floor(s->DSTTotalPixelsAfterScaler / p->myPipe->HTotal, 1)); in CalculatePrefetchSchedule() 1258 s->dst_y_prefetch_equ = dml_floor(4.0 * (s->dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule() 1424 …*p->DestinationLinesToRequestVMInVBlank = dml_floor(4.0 * s->TimeForFetchingMetaPTE / s->LineTime,… in CalculatePrefetchSchedule() 1425 …*p->DestinationLinesToRequestRowInVBlank = dml_floor(4.0 * s->TimeForFetchingRowInVBlank / s->Line… in CalculatePrefetchSchedule() 2090 return VCOSpeed * 4.0 / dml_floor(VCOSpeed * 4.0 / Clock, 1.0); in RoundToDFSGranularity() 2193 detile_buf_vp_horz_limit = dml_floor(detile_buf_vp_horz_limit - 1, 16); in CalculateDCCConfiguration() 2194 detile_buf_vp_vert_limit = dml_floor(detile_buf_vp_vert_limit - 1, 16); in CalculateDCCConfiguration() 2407 *VInitPreFill = (dml_uint_t)(dml_floor((VRatio + (dml_float_t) VTaps + 1) / 2.0, 1)); in CalculatePrefetchSourceLines() 2409 …*VInitPreFill = (dml_uint_t)(dml_floor((VRatio + (dml_float_t) VTaps + 1 + Interlace * 0.5 * VRati… in CalculatePrefetchSourceLines() 2506 …meta_row_width = (dml_uint_t)(dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, *Meta… in CalculateVMAndRowBytes() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| H A D | display_mode_vba_30.c | 889 v->DSTYAfterScaler[k] = dml_floor(DSTTotalPixelsAfterScaler / myPipe->HTotal, 1); in CalculatePrefetchSchedule() 936 dst_y_prefetch_equ = dml_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule() 1204 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp() 1324 detile_buf_vp_horz_limit = dml_floor(detile_buf_vp_horz_limit - 1, 16); in CalculateDCCConfiguration() 1325 detile_buf_vp_vert_limit = dml_floor(detile_buf_vp_vert_limit - 1, 16); in CalculateDCCConfiguration() 1528 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines() 1530 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines() 1700 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *… in CalculateVMAndRowBytes() 3344 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0; in TruncToValidBPP() 5024 …v->LBLatencyHidingSourceLinesY = dml_min((double) v->MaxLineBufferLines, dml_floor(v->LineBufferSi… in CalculateWatermarksAndDRAMSpeedChangeSupport() [all …]
|