Searched refs:MetaRowByte (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.h427 double MetaRowByte[],
461 unsigned int *MetaRowByte,
734 unsigned int MetaRowByte,
H A Ddisplay_mode_vba_util_32.c1964 double MetaRowByte[],
2153 MetaRowByte[k] = MetaRowByteY[k] + MetaRowByteC[k];
2207 if (MetaRowByte[k] <= DCCMetaBufferSizeBytes)
2285 unsigned int *MetaRowByte,
2336 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0;
2345 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
2371 *MetaRowByte = 0;
3408 unsigned int MetaRowByte,
3656 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto,
3661 (MetaRowByte
1908 dml32_CalculateVMRowAndSwath( unsigned int NumberOfActiveSurfaces, DmlPipe myPipe[], unsigned int SurfaceSizeInMALL[], unsigned int PTEBufferSizeInRequestsLuma, unsigned int PTEBufferSizeInRequestsChroma, unsigned int DCCMetaBufferSizeBytes, enum dm_use_mall_for_static_screen_mode UseMALLForStaticScreen[], enum dm_use_mall_for_pstate_change_mode UseMALLForPStateChange[], unsigned int MALLAllocatedForDCN, double SwathWidthY[], double SwathWidthC[], bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxNonCachedPageTableLevels, unsigned int GPUVMMaxPageTableLevels, unsigned int GPUVMMinPageSizeKBytes[], unsigned int HostVMMinPageSize, bool PTEBufferSizeNotExceeded[], bool DCCMetaBufferSizeNotExceeded[], unsigned int dpte_row_width_luma_ub[], unsigned int dpte_row_width_chroma_ub[], unsigned int dpte_row_height_luma[], unsigned int dpte_row_height_chroma[], unsigned int dpte_row_height_linear_luma[], unsigned int dpte_row_height_linear_chroma[], unsigned int meta_req_width[], unsigned int meta_req_width_chroma[], unsigned int meta_req_height[], unsigned int meta_req_height_chroma[], unsigned int meta_row_width[], unsigned int meta_row_width_chroma[], unsigned int meta_row_height[], unsigned int meta_row_height_chroma[], unsigned int vm_group_bytes[], unsigned int dpte_group_bytes[], unsigned int PixelPTEReqWidthY[], unsigned int PixelPTEReqHeightY[], unsigned int PTERequestSizeY[], unsigned int PixelPTEReqWidthC[], unsigned int PixelPTEReqHeightC[], unsigned int PTERequestSizeC[], unsigned int dpde0_bytes_per_frame_ub_l[], unsigned int meta_pte_bytes_per_frame_ub_l[], unsigned int dpde0_bytes_per_frame_ub_c[], unsigned int meta_pte_bytes_per_frame_ub_c[], double PrefetchSourceLinesY[], double PrefetchSourceLinesC[], double VInitPreFillY[], double VInitPreFillC[], unsigned int MaxNumSwathY[], unsigned int MaxNumSwathC[], double meta_row_bw[], double dpte_row_bw[], double PixelPTEBytesPerRow[], double PDEAndMetaPTEBytesFrame[], double MetaRowByte[], bool use_one_row_for_frame[], bool use_one_row_for_frame_flip[], bool UsesMALLForStaticScreen[], bool PTE_BUFFER_MODE[], unsigned int BIGK_FRAGMENT_SIZE[]) argument
2260 dml32_CalculateVMAndRowBytes( bool ViewportStationary, bool DCCEnable, unsigned int NumberOfDPPs, unsigned int BlockHeight256Bytes, unsigned int BlockWidth256Bytes, enum source_format_class SourcePixelFormat, unsigned int SurfaceTiling, unsigned int BytePerPixel, enum dm_rotation_angle SourceRotation, double SwathWidth, unsigned int ViewportHeight, unsigned int ViewportXStart, unsigned int ViewportYStart, bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxNonCachedPageTableLevels, unsigned int GPUVMMaxPageTableLevels, unsigned int GPUVMMinPageSizeKBytes, unsigned int HostVMMinPageSize, unsigned int PTEBufferSizeInRequests, unsigned int Pitch, unsigned int DCCMetaPitch, unsigned int MacroTileWidth, unsigned int MacroTileHeight, unsigned int *MetaRowByte, unsigned int *PixelPTEBytesPerRow, unsigned int *dpte_row_width_ub, unsigned int *dpte_row_height, unsigned int *dpte_row_height_linear, unsigned int *PixelPTEBytesPerRow_one_row_per_frame, unsigned int *dpte_row_width_ub_one_row_per_frame, unsigned int *dpte_row_height_one_row_per_frame, unsigned int *MetaRequestWidth, unsigned int *MetaRequestHeight, unsigned int *meta_row_width, unsigned int *meta_row_height, unsigned int *PixelPTEReqWidth, unsigned int *PixelPTEReqHeight, unsigned int *PTERequestSize, unsigned int *DPDE0BytesFrame, unsigned int *MetaPTEBytesFrame) argument
3397 dml32_CalculatePrefetchSchedule( struct vba_vars_st *v, unsigned int k, double HostVMInefficiencyFactor, DmlPipe *myPipe, unsigned int DSCDelay, unsigned int DPP_RECOUT_WIDTH, unsigned int VStartup, unsigned int MaxVStartup, double UrgentLatency, double UrgentExtraLatency, double TCalc, unsigned int PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, double PrefetchSourceLinesY, unsigned int SwathWidthY, unsigned int VInitPreFillY, unsigned int MaxNumSwathY, double PrefetchSourceLinesC, unsigned int SwathWidthC, unsigned int VInitPreFillC, unsigned int MaxNumSwathC, unsigned int swath_width_luma_ub, unsigned int swath_width_chroma_ub, unsigned int SwathHeightY, unsigned int SwathHeightC, double TWait, double TPreReq, bool ExtendPrefetchIfPossible, double *DSTXAfterScaler, double *DSTYAfterScaler, double *DestinationLinesForPrefetch, double *PrefetchBandwidth, double *DestinationLinesToRequestVMInVBlank, double *DestinationLinesToRequestRowInVBlank, double *VRatioPrefetchY, double *VRatioPrefetchC, double *RequiredPrefetchPixDataBWLuma, double *RequiredPrefetchPixDataBWChroma, bool *NotEnoughTimeForDynamicMetadata, double *Tno_bw, double *prefetch_vmrow_bw, double *Tdmdl_vm, double *Tdmdl, double *TSetup, unsigned int *VUpdateOffsetPix, double *VUpdateWidthPix, double *VReadyOffsetPix) argument
[all...]
H A Ddisplay_mode_vba_32.c522 v->MetaRowByte,
798 v->MetaRowByte[k],
1025 + v->MetaRowByte[k]);
1047 v->MetaRowByte[k],
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_mode_vba_20v2.c113 unsigned int MetaRowByte,
175 unsigned int *MetaRowByte,
234 unsigned int MetaRowByte,
563 unsigned int MetaRowByte,
660 prefetch_bw_oto = (MetaRowByte + PixelPTEBytesPerRow
680 (MetaRowByte + PixelPTEBytesPerRow) / prefetch_bw_oto,
715 *PrefetchBandwidth = (PDEAndMetaPTEBytesFrame + 2 * MetaRowByte
743 (MetaRowByte + PixelPTEBytesPerRow)
938 unsigned int *MetaRowByte,
965 *MetaRowByte
541 CalculatePrefetchSchedule( struct display_mode_lib *mode_lib, double DPPCLK, double DISPCLK, double PixelClock, double DCFCLKDeepSleep, unsigned int DPPPerPlane, unsigned int NumberOfCursors, unsigned int VBlank, unsigned int HTotal, unsigned int MaxInterDCNTileRepeaters, unsigned int VStartup, unsigned int PageTableLevels, bool GPUVMEnable, bool DynamicMetadataEnable, unsigned int DynamicMetadataLinesBeforeActiveRequired, unsigned int DynamicMetadataTransmittedBytes, bool DCCEnable, double UrgentLatencyPixelDataOnly, double UrgentExtraLatency, double TCalc, unsigned int PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, double PrefetchSourceLinesY, unsigned int SwathWidthY, double BytePerPixelDETY, double VInitPreFillY, unsigned int MaxNumSwathY, double PrefetchSourceLinesC, double BytePerPixelDETC, double VInitPreFillC, unsigned int MaxNumSwathC, unsigned int SwathHeightY, unsigned int SwathHeightC, double TWait, bool XFCEnabled, double XFCRemoteSurfaceFlipDelay, bool InterlaceEnable, bool ProgressiveToInterlaceUnitInOPP, double DSTXAfterScaler, double DSTYAfterScaler, double *DestinationLinesForPrefetch, double *PrefetchBandwidth, double *DestinationLinesToRequestVMInVBlank, double *DestinationLinesToRequestRowInVBlank, double *VRatioPrefetchY, double *VRatioPrefetchC, double *RequiredPrefetchPixDataBW, double *Tno_bw, unsigned int *VUpdateOffsetPix, double *VUpdateWidthPix, double *VReadyOffsetPix) argument
919 CalculateVMAndRowBytes( struct display_mode_lib *mode_lib, bool DCCEnable, unsigned int BlockHeight256Bytes, unsigned int BlockWidth256Bytes, enum source_format_class SourcePixelFormat, unsigned int SurfaceTiling, unsigned int BytePerPixel, enum scan_direction_class ScanDirection, unsigned int ViewportWidth, unsigned int ViewportHeight, unsigned int SwathWidth, bool GPUVMEnable, unsigned int VMMPageSize, unsigned int PTEBufferSizeInRequestsLuma, unsigned int PDEProcessingBufIn64KBReqs, unsigned int Pitch, unsigned int DCCMetaPitch, unsigned int *MacroTileWidth, unsigned int *MetaRowByte, unsigned int *PixelPTEBytesPerRow, bool *PTEBufferSizeNotExceeded, unsigned int *dpte_row_height, unsigned int *meta_row_height) argument
3156 CalculateFlipSchedule( struct display_mode_lib *mode_lib, double UrgentExtraLatency, double UrgentLatencyPixelDataOnly, unsigned int GPUVMMaxPageTableLevels, bool GPUVMEnable, double BandwidthAvailableForImmediateFlip, unsigned int TotImmediateFlipBytes, enum source_format_class SourcePixelFormat, unsigned int ImmediateFlipBytes, double LineTime, double VRatio, double Tno_bw, double PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, bool DCCEnable, unsigned int dpte_row_height, unsigned int meta_row_height, double qual_row_bw, double *DestinationLinesToRequestVMInImmediateFlip, double *DestinationLinesToRequestRowInImmediateFlip, double *final_flip_bw, bool *ImmediateFlipSupportedForPipe) argument
[all...]
H A Ddisplay_mode_vba_20.c88 unsigned int MetaRowByte,
151 unsigned int *MetaRowByte,
210 unsigned int MetaRowByte,
471 unsigned int MetaRowByte,
600 prefetch_bw_oto = (MetaRowByte + PixelPTEBytesPerRow
620 (MetaRowByte + PixelPTEBytesPerRow) / prefetch_bw_oto,
655 *PrefetchBandwidth = (PDEAndMetaPTEBytesFrame + 2 * MetaRowByte
683 (MetaRowByte + PixelPTEBytesPerRow)
878 unsigned int *MetaRowByte,
905 *MetaRowByte
439 CalculatePrefetchSchedule( struct display_mode_lib *mode_lib, double DPPCLK, double DISPCLK, double PixelClock, double DCFCLKDeepSleep, unsigned int DSCDelay, unsigned int DPPPerPlane, bool ScalerEnabled, unsigned int NumberOfCursors, double DPPCLKDelaySubtotal, double DPPCLKDelaySCL, double DPPCLKDelaySCLLBOnly, double DPPCLKDelayCNVCFormater, double DPPCLKDelayCNVCCursor, double DISPCLKDelaySubtotal, unsigned int ScalerRecoutWidth, enum output_format_class OutputFormat, unsigned int VBlank, unsigned int HTotal, unsigned int MaxInterDCNTileRepeaters, unsigned int VStartup, unsigned int PageTableLevels, bool GPUVMEnable, bool DynamicMetadataEnable, unsigned int DynamicMetadataLinesBeforeActiveRequired, unsigned int DynamicMetadataTransmittedBytes, bool DCCEnable, double UrgentLatencyPixelDataOnly, double UrgentExtraLatency, double TCalc, unsigned int PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, double PrefetchSourceLinesY, unsigned int SwathWidthY, double BytePerPixelDETY, double VInitPreFillY, unsigned int MaxNumSwathY, double PrefetchSourceLinesC, double BytePerPixelDETC, double VInitPreFillC, unsigned int MaxNumSwathC, unsigned int SwathHeightY, unsigned int SwathHeightC, double TWait, bool XFCEnabled, double XFCRemoteSurfaceFlipDelay, bool InterlaceEnable, bool ProgressiveToInterlaceUnitInOPP, double *DSTXAfterScaler, double *DSTYAfterScaler, double *DestinationLinesForPrefetch, double *PrefetchBandwidth, double *DestinationLinesToRequestVMInVBlank, double *DestinationLinesToRequestRowInVBlank, double *VRatioPrefetchY, double *VRatioPrefetchC, double *RequiredPrefetchPixDataBW, unsigned int *VStartupRequiredWhenNotEnoughTimeForDynamicMetadata, double *Tno_bw, unsigned int *VUpdateOffsetPix, double *VUpdateWidthPix, double *VReadyOffsetPix) argument
859 CalculateVMAndRowBytes( struct display_mode_lib *mode_lib, bool DCCEnable, unsigned int BlockHeight256Bytes, unsigned int BlockWidth256Bytes, enum source_format_class SourcePixelFormat, unsigned int SurfaceTiling, unsigned int BytePerPixel, enum scan_direction_class ScanDirection, unsigned int ViewportWidth, unsigned int ViewportHeight, unsigned int SwathWidth, bool GPUVMEnable, unsigned int VMMPageSize, unsigned int PTEBufferSizeInRequestsLuma, unsigned int PDEProcessingBufIn64KBReqs, unsigned int Pitch, unsigned int DCCMetaPitch, unsigned int *MacroTileWidth, unsigned int *MetaRowByte, unsigned int *PixelPTEBytesPerRow, bool *PTEBufferSizeNotExceeded, unsigned int *dpte_row_height, unsigned int *meta_row_height) argument
3083 CalculateFlipSchedule( struct display_mode_lib *mode_lib, double UrgentExtraLatency, double UrgentLatencyPixelDataOnly, unsigned int GPUVMMaxPageTableLevels, bool GPUVMEnable, double BandwidthAvailableForImmediateFlip, unsigned int TotImmediateFlipBytes, enum source_format_class SourcePixelFormat, unsigned int ImmediateFlipBytes, double LineTime, double VRatio, double Tno_bw, double PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, bool DCCEnable, unsigned int dpte_row_height, unsigned int meta_row_height, double qual_row_bw, double *DestinationLinesToRequestVMInImmediateFlip, double *DestinationLinesToRequestRowInImmediateFlip, double *final_flip_bw, bool *ImmediateFlipSupportedForPipe) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_mode_vba_21.c109 unsigned int MetaRowByte,
191 unsigned int *MetaRowByte,
662 unsigned int MetaRowByte,
829 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto,
867 double PrefetchBandwidth1 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + 2 * MetaRowByte
881 double PrefetchBandwidth3 = (2 * MetaRowByte + 2 * PixelPTEBytesPerRow
899 PrefetchBandwidth1 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + 2 * MetaRowByte + 2 * PixelPTEBytesPerRow * HostVMInefficiencyFactor) / ((*DestinationLinesForPrefetch - dml_ceil(Tsw_oto_lines, 1) / 4.0 - 0.75) * LineTime - *Tno_bw);
901 if (*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / PrefetchBandwidth1 >= UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1) && (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth1 >= UrgentLatency * (1 + HostVMDynamicLevels)) {
903 } else if (*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / PrefetchBandwidth2 >= UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1) && (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth2 < UrgentLatency * (1 + HostVMDynamicLevels)) {
905 } else if (*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / PrefetchBandwidth3 < UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1) && (MetaRowByte
634 CalculatePrefetchSchedule( struct display_mode_lib *mode_lib, double PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyPixelMixedWithVMData, double PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyVMDataOnly, Pipe *myPipe, unsigned int DSCDelay, double DPPCLKDelaySubtotal, double DPPCLKDelaySCL, double DPPCLKDelaySCLLBOnly, double DPPCLKDelayCNVCFormater, double DPPCLKDelayCNVCCursor, double DISPCLKDelaySubtotal, unsigned int ScalerRecoutWidth, enum output_format_class OutputFormat, unsigned int MaxInterDCNTileRepeaters, unsigned int VStartup, unsigned int MaxVStartup, unsigned int GPUVMPageTableLevels, bool GPUVMEnable, HostVM *myHostVM, bool DynamicMetadataEnable, int DynamicMetadataLinesBeforeActiveRequired, unsigned int DynamicMetadataTransmittedBytes, bool DCCEnable, double UrgentLatency, double UrgentExtraLatency, double TCalc, unsigned int PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, double PrefetchSourceLinesY, unsigned int SwathWidthY, double BytePerPixelDETY, double VInitPreFillY, unsigned int MaxNumSwathY, double PrefetchSourceLinesC, double BytePerPixelDETC, double VInitPreFillC, unsigned int MaxNumSwathC, unsigned int SwathHeightY, unsigned int SwathHeightC, double TWait, bool XFCEnabled, double XFCRemoteSurfaceFlipDelay, bool ProgressiveToInterlaceUnitInOPP, double *DSTXAfterScaler, double *DSTYAfterScaler, double *DestinationLinesForPrefetch, double *PrefetchBandwidth, double *DestinationLinesToRequestVMInVBlank, double *DestinationLinesToRequestRowInVBlank, double *VRatioPrefetchY, double *VRatioPrefetchC, double *RequiredPrefetchPixDataBWLuma, double *RequiredPrefetchPixDataBWChroma, unsigned int *VStartupRequiredWhenNotEnoughTimeForDynamicMetadata, double *Tno_bw, double *prefetch_vmrow_bw, unsigned int *swath_width_luma_ub, unsigned int *swath_width_chroma_ub, unsigned int *VUpdateOffsetPix, double *VUpdateWidthPix, double *VReadyOffsetPix) argument
1258 CalculateVMAndRowBytes( struct display_mode_lib *mode_lib, bool DCCEnable, unsigned int BlockHeight256Bytes, unsigned int BlockWidth256Bytes, enum source_format_class SourcePixelFormat, unsigned int SurfaceTiling, unsigned int BytePerPixel, enum scan_direction_class ScanDirection, unsigned int ViewportWidth, unsigned int ViewportHeight, unsigned int SwathWidth, bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxPageTableLevels, unsigned int HostVMCachedPageTableLevels, unsigned int VMMPageSize, unsigned int PTEBufferSizeInRequests, unsigned int Pitch, unsigned int DCCMetaPitch, unsigned int *MacroTileWidth, unsigned int *MetaRowByte, unsigned int *PixelPTEBytesPerRow, bool *PTEBufferSizeNotExceeded, unsigned int *dpte_row_width_ub, unsigned int *dpte_row_height, unsigned int *MetaRequestWidth, unsigned int *MetaRequestHeight, unsigned int *meta_row_width, unsigned int *meta_row_height, unsigned int *vm_group_bytes, unsigned int *dpte_group_bytes, unsigned int *PixelPTEReqWidth, unsigned int *PixelPTEReqHeight, unsigned int *PTERequestSize, unsigned int *DPDE0BytesFrame, unsigned int *MetaPTEBytesFrame) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c129 unsigned int MetaRowByte,
218 unsigned int *MetaRowByte,
841 unsigned int MetaRowByte,
1085 Tr0_oto = dml_max4((MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, Tr0_trips, // PREVIOUS_ERROR (missing this term)
1095 dml_print("DML::%s: PDEAndMetaPTEBytesFrame = %d\n", __func__, MetaRowByte);
1096 dml_print("DML::%s: MetaRowByte = %d\n", __func__, MetaRowByte);
1111 dep_bytes = dml_max(PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor, MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor);
1150 PrefetchBandwidth1 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + 2 * MetaRowByte + 2 * PixelPTEBytesPerRow * HostVMInefficiencyFactor
1158 PrefetchBandwidth1 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + 2 * MetaRowByte
813 CalculatePrefetchSchedule( struct display_mode_lib *mode_lib, double HostVMInefficiencyFactor, Pipe *myPipe, unsigned int DSCDelay, double DPPCLKDelaySubtotalPlusCNVCFormater, double DPPCLKDelaySCL, double DPPCLKDelaySCLLBOnly, double DPPCLKDelayCNVCCursor, double DISPCLKDelaySubtotal, unsigned int DPP_RECOUT_WIDTH, enum output_format_class OutputFormat, unsigned int MaxInterDCNTileRepeaters, unsigned int VStartup, unsigned int MaxVStartup, unsigned int GPUVMPageTableLevels, bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxNonCachedPageTableLevels, double HostVMMinPageSize, bool DynamicMetadataEnable, bool DynamicMetadataVMEnabled, int DynamicMetadataLinesBeforeActiveRequired, unsigned int DynamicMetadataTransmittedBytes, double UrgentLatency, double UrgentExtraLatency, double TCalc, unsigned int PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, double PrefetchSourceLinesY, unsigned int SwathWidthY, double VInitPreFillY, unsigned int MaxNumSwathY, double PrefetchSourceLinesC, unsigned int SwathWidthC, double VInitPreFillC, unsigned int MaxNumSwathC, int swath_width_luma_ub, int swath_width_chroma_ub, unsigned int SwathHeightY, unsigned int SwathHeightC, double TWait, double *DSTXAfterScaler, double *DSTYAfterScaler, double *DestinationLinesForPrefetch, double *PrefetchBandwidth, double *DestinationLinesToRequestVMInVBlank, double *DestinationLinesToRequestRowInVBlank, double *VRatioPrefetchY, double *VRatioPrefetchC, double *RequiredPrefetchPixDataBWLuma, double *RequiredPrefetchPixDataBWChroma, bool *NotEnoughTimeForDynamicMetadata, double *Tno_bw, double *prefetch_vmrow_bw, double *Tdmdl_vm, double *Tdmdl, double *TSetup, int *VUpdateOffsetPix, double *VUpdateWidthPix, double *VReadyOffsetPix) argument
1791 CalculateVMAndRowBytes( struct display_mode_lib *mode_lib, bool DCCEnable, unsigned int BlockHeight256Bytes, unsigned int BlockWidth256Bytes, enum source_format_class SourcePixelFormat, unsigned int SurfaceTiling, unsigned int BytePerPixel, enum scan_direction_class ScanDirection, unsigned int SwathWidth, unsigned int ViewportHeight, bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxNonCachedPageTableLevels, unsigned int GPUVMMinPageSize, unsigned int HostVMMinPageSize, unsigned int PTEBufferSizeInRequests, unsigned int Pitch, unsigned int DCCMetaPitch, unsigned int *MacroTileWidth, unsigned int *MetaRowByte, unsigned int *PixelPTEBytesPerRow, bool *PTEBufferSizeNotExceeded, int *dpte_row_width_ub, unsigned int *dpte_row_height, unsigned int *MetaRequestWidth, unsigned int *MetaRequestHeight, unsigned int *meta_row_width, unsigned int *meta_row_height, int *vm_group_bytes, unsigned int *dpte_group_bytes, unsigned int *PixelPTEReqWidth, unsigned int *PixelPTEReqHeight, unsigned int *PTERequestSize, int *DPDE0BytesFrame, int *MetaPTEBytesFrame) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c141 unsigned int MetaRowByte,
230 unsigned int *MetaRowByte,
862 unsigned int MetaRowByte,
1106 Tr0_oto = dml_max4((MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, Tr0_trips, // PREVIOUS_ERROR (missing this term)
1116 dml_print("DML::%s: PDEAndMetaPTEBytesFrame = %d\n", __func__, MetaRowByte);
1117 dml_print("DML::%s: MetaRowByte = %d\n", __func__, MetaRowByte);
1132 dep_bytes = dml_max(PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor, MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor);
1171 PrefetchBandwidth1 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + 2 * MetaRowByte + 2 * PixelPTEBytesPerRow * HostVMInefficiencyFactor
1179 PrefetchBandwidth1 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + 2 * MetaRowByte
834 CalculatePrefetchSchedule( struct display_mode_lib *mode_lib, double HostVMInefficiencyFactor, Pipe *myPipe, unsigned int DSCDelay, double DPPCLKDelaySubtotalPlusCNVCFormater, double DPPCLKDelaySCL, double DPPCLKDelaySCLLBOnly, double DPPCLKDelayCNVCCursor, double DISPCLKDelaySubtotal, unsigned int DPP_RECOUT_WIDTH, enum output_format_class OutputFormat, unsigned int MaxInterDCNTileRepeaters, unsigned int VStartup, unsigned int MaxVStartup, unsigned int GPUVMPageTableLevels, bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxNonCachedPageTableLevels, double HostVMMinPageSize, bool DynamicMetadataEnable, bool DynamicMetadataVMEnabled, int DynamicMetadataLinesBeforeActiveRequired, unsigned int DynamicMetadataTransmittedBytes, double UrgentLatency, double UrgentExtraLatency, double TCalc, unsigned int PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, double PrefetchSourceLinesY, unsigned int SwathWidthY, double VInitPreFillY, unsigned int MaxNumSwathY, double PrefetchSourceLinesC, unsigned int SwathWidthC, double VInitPreFillC, unsigned int MaxNumSwathC, int swath_width_luma_ub, int swath_width_chroma_ub, unsigned int SwathHeightY, unsigned int SwathHeightC, double TWait, double *DSTXAfterScaler, double *DSTYAfterScaler, double *DestinationLinesForPrefetch, double *PrefetchBandwidth, double *DestinationLinesToRequestVMInVBlank, double *DestinationLinesToRequestRowInVBlank, double *VRatioPrefetchY, double *VRatioPrefetchC, double *RequiredPrefetchPixDataBWLuma, double *RequiredPrefetchPixDataBWChroma, bool *NotEnoughTimeForDynamicMetadata, double *Tno_bw, double *prefetch_vmrow_bw, double *Tdmdl_vm, double *Tdmdl, double *TSetup, int *VUpdateOffsetPix, double *VUpdateWidthPix, double *VReadyOffsetPix) argument
1811 CalculateVMAndRowBytes( struct display_mode_lib *mode_lib, bool DCCEnable, unsigned int BlockHeight256Bytes, unsigned int BlockWidth256Bytes, enum source_format_class SourcePixelFormat, unsigned int SurfaceTiling, unsigned int BytePerPixel, enum scan_direction_class ScanDirection, unsigned int SwathWidth, unsigned int ViewportHeight, bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxNonCachedPageTableLevels, unsigned int GPUVMMinPageSize, unsigned int HostVMMinPageSize, unsigned int PTEBufferSizeInRequests, unsigned int Pitch, unsigned int DCCMetaPitch, unsigned int *MacroTileWidth, unsigned int *MetaRowByte, unsigned int *PixelPTEBytesPerRow, bool *PTEBufferSizeNotExceeded, int *dpte_row_width_ub, unsigned int *dpte_row_height, unsigned int *MetaRequestWidth, unsigned int *MetaRequestHeight, unsigned int *meta_row_width, unsigned int *meta_row_height, int *vm_group_bytes, unsigned int *dpte_group_bytes, unsigned int *PixelPTEReqWidth, unsigned int *PixelPTEReqHeight, unsigned int *PTERequestSize, int *DPDE0BytesFrame, int *MetaPTEBytesFrame) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c110 unsigned int MetaRowByte,
201 unsigned int *MetaRowByte,
840 unsigned int MetaRowByte,
1020 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto,
1062 PrefetchBandwidth1 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + 2 * MetaRowByte
1071 PrefetchBandwidth1 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + 2 * MetaRowByte + 2 * PixelPTEBytesPerRow * HostVMInefficiencyFactor) / (Tpre_rounded - Tsw_oto / 4 - 0.75 * LineTime - *Tno_bw);
1085 PrefetchBandwidth3 = (2 * MetaRowByte + 2 * PixelPTEBytesPerRow *
1094 PrefetchBandwidth3 = (2 * MetaRowByte + 2 * PixelPTEBytesPerRow * HostVMInefficiencyFactor) / (Tpre_rounded - Tsw_oto / 4 - 0.75 * LineTime - Tvm_trips_rounded);
1110 >= Tvm_trips_rounded && (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth1 >= Tr0_trips_rounded) {
1121 >= Tvm_trips_rounded && (MetaRowByte
811 CalculatePrefetchSchedule( struct display_mode_lib *mode_lib, double PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyPixelMixedWithVMData, double PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyVMDataOnly, Pipe *myPipe, unsigned int DSCDelay, double DPPCLKDelaySubtotalPlusCNVCFormater, double DPPCLKDelaySCL, double DPPCLKDelaySCLLBOnly, double DPPCLKDelayCNVCCursor, double DISPCLKDelaySubtotal, unsigned int DPP_RECOUT_WIDTH, enum output_format_class OutputFormat, unsigned int MaxInterDCNTileRepeaters, unsigned int VStartup, unsigned int MaxVStartup, unsigned int GPUVMPageTableLevels, bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxNonCachedPageTableLevels, double HostVMMinPageSize, bool DynamicMetadataEnable, bool DynamicMetadataVMEnabled, int DynamicMetadataLinesBeforeActiveRequired, unsigned int DynamicMetadataTransmittedBytes, double UrgentLatency, double UrgentExtraLatency, double TCalc, unsigned int PDEAndMetaPTEBytesFrame, unsigned int MetaRowByte, unsigned int PixelPTEBytesPerRow, double PrefetchSourceLinesY, unsigned int SwathWidthY, int BytePerPixelY, double VInitPreFillY, unsigned int MaxNumSwathY, double PrefetchSourceLinesC, unsigned int SwathWidthC, int BytePerPixelC, double VInitPreFillC, unsigned int MaxNumSwathC, long swath_width_luma_ub, long swath_width_chroma_ub, unsigned int SwathHeightY, unsigned int SwathHeightC, double TWait, bool ProgressiveToInterlaceUnitInOPP, double *DSTXAfterScaler, double *DSTYAfterScaler, double *DestinationLinesForPrefetch, double *PrefetchBandwidth, double *DestinationLinesToRequestVMInVBlank, double *DestinationLinesToRequestRowInVBlank, double *VRatioPrefetchY, double *VRatioPrefetchC, double *RequiredPrefetchPixDataBWLuma, double *RequiredPrefetchPixDataBWChroma, bool *NotEnoughTimeForDynamicMetadata, double *Tno_bw, double *prefetch_vmrow_bw, double *Tdmdl_vm, double *Tdmdl, unsigned int *VUpdateOffsetPix, double *VUpdateWidthPix, double *VReadyOffsetPix) argument
1657 CalculateVMAndRowBytes( struct display_mode_lib *mode_lib, bool DCCEnable, unsigned int BlockHeight256Bytes, unsigned int BlockWidth256Bytes, enum source_format_class SourcePixelFormat, unsigned int SurfaceTiling, unsigned int BytePerPixel, enum scan_direction_class ScanDirection, unsigned int SwathWidth, unsigned int ViewportHeight, bool GPUVMEnable, bool HostVMEnable, unsigned int HostVMMaxNonCachedPageTableLevels, unsigned int GPUVMMinPageSize, unsigned int HostVMMinPageSize, unsigned int PTEBufferSizeInRequests, unsigned int Pitch, unsigned int DCCMetaPitch, unsigned int *MacroTileWidth, unsigned int *MetaRowByte, unsigned int *PixelPTEBytesPerRow, bool *PTEBufferSizeNotExceeded, unsigned int *dpte_row_width_ub, unsigned int *dpte_row_height, unsigned int *MetaRequestWidth, unsigned int *MetaRequestHeight, unsigned int *meta_row_width, unsigned int *meta_row_height, unsigned int *vm_group_bytes, unsigned int *dpte_group_bytes, unsigned int *PixelPTEReqWidth, unsigned int *PixelPTEReqHeight, unsigned int *PTERequestSize, unsigned int *DPDE0BytesFrame, unsigned int *MetaPTEBytesFrame) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core_structs.h972 dml_uint_t MetaRowByte[__DML_NUM_PLANES__]; member in struct:mode_program_st
1391 dml_uint_t *MetaRowByte; member in struct:CalculateVMRowAndSwath_params_st
1553 dml_uint_t MetaRowByte; member in struct:CalculatePrefetchSchedule_params_st
H A Ddisplay_mode_core.c255 dml_uint_t *MetaRowByte,
1207 (p->MetaRowByte + p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor) / s->prefetch_bw_oto,
1211 dml_print("DML::%s: Tr0_oto max0 = %f\n", __func__, (p->MetaRowByte + p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor) / s->prefetch_bw_oto);
1240 dml_print("DML::%s: MetaRowByte = %u\n", __func__, p->MetaRowByte);
1274 s->dep_bytes = dml_max(p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor, p->MetaRowByte + p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor);
1288 s->PrefetchBandwidth1 = (p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor + 2 * p->MetaRowByte
1297 s->PrefetchBandwidth1 = (p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor + 2 * p->MetaRowByte + 2 * p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor) /
1308 s->PrefetchBandwidth3 = (2 * p->MetaRowByte + 2 * p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor + s->prefetch_sw_bytes) /
1317 s->PrefetchBandwidth3 = (2 * p->MetaRowByte
2444 CalculateVMAndRowBytes( dml_bool_t ViewportStationary, dml_bool_t DCCEnable, dml_uint_t NumberOfDPPs, dml_uint_t BlockHeight256Bytes, dml_uint_t BlockWidth256Bytes, enum dml_source_format_class SourcePixelFormat, dml_uint_t SurfaceTiling, dml_uint_t BytePerPixel, enum dml_rotation_angle SourceScan, dml_uint_t SwathWidth, dml_uint_t ViewportHeight, dml_uint_t ViewportXStart, dml_uint_t ViewportYStart, dml_bool_t GPUVMEnable, dml_uint_t GPUVMMaxPageTableLevels, dml_uint_t GPUVMMinPageSizeKBytes, dml_uint_t PTEBufferSizeInRequests, dml_uint_t Pitch, dml_uint_t DCCMetaPitch, dml_uint_t MacroTileWidth, dml_uint_t MacroTileHeight, dml_uint_t *MetaRowByte, dml_uint_t *PixelPTEBytesPerRow, dml_uint_t *PixelPTEBytesPerRowStorage, dml_uint_t *dpte_row_width_ub, dml_uint_t *dpte_row_height, dml_uint_t *dpte_row_height_linear, dml_uint_t *PixelPTEBytesPerRow_one_row_per_frame, dml_uint_t *dpte_row_width_ub_one_row_per_frame, dml_uint_t *dpte_row_height_one_row_per_frame, dml_uint_t *MetaRequestWidth, dml_uint_t *MetaRequestHeight, dml_uint_t *meta_row_width, dml_uint_t *meta_row_height, dml_uint_t *PixelPTEReqWidth, dml_uint_t *PixelPTEReqHeight, dml_uint_t *PTERequestSize, dml_uint_t *DPDE0BytesFrame, dml_uint_t *MetaPTEBytesFrame) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_vba.h940 double MetaRowByte[DC__NUM_DPP__MAX]; member in struct:vba_vars_st

Completed in 246 milliseconds