/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared_types.h | 609 unsigned int meta_row_height_chroma[DML2_MAX_PLANES]; member 751 unsigned int meta_row_height_chroma[DML2_MAX_PLANES]; member 1035 unsigned int meta_row_height_chroma[DML2_MAX_PLANES]; member 1359 unsigned int *meta_row_height_chroma; member 1667 unsigned int *meta_row_height_chroma; member
|
H A D | dml2_core_dcn4_calcs.c | 1907 unsigned int meta_row_height_chroma, in CalculateRowBandwidth() argument 1917 + VRatioChroma * meta_row_bytes_per_row_ub_c / (meta_row_height_chroma * LineTime); in CalculateRowBandwidth() 2922 scratch->calculate_vm_and_row_bytes_params.meta_row_height = &p->meta_row_height_chroma[k]; in CalculateVMRowAndSwath() 3147 p->meta_row_height_chroma[k], in CalculateVMRowAndSwath() 6478 unsigned int meta_row_height_chroma, in CalculateFlipSchedule() 6520 l->min_row_height_chroma = math_min2(dpte_row_height_chroma, meta_row_height_chroma); in CalculateFlipSchedule() 6526 l->min_row_height_chroma = meta_row_height_chroma; in CalculateFlipSchedule() 7779 s->meta_row_height_chroma[k], in dml_core_ms_prefetch_check() 7894 CalculateWatermarks_params->meta_row_height_c = s->meta_row_height_chroma; in dml_core_ms_prefetch_check() 8976 CalculateVMRowAndSwath_params->meta_row_height_chroma in dml_core_mode_support() 6451 CalculateFlipSchedule(struct dml2_core_internal_scratch * s,bool iflip_enable,bool use_lb_flip_bw,double HostVMInefficiencyFactor,double Tvm_trips_flip,double Tr0_trips_flip,double Tvm_trips_flip_rounded,double Tr0_trips_flip_rounded,bool GPUVMEnable,double vm_bytes,double DPTEBytesPerRow,double BandwidthAvailableForImmediateFlip,unsigned int TotImmediateFlipBytes,enum dml2_source_format_class SourcePixelFormat,double LineTime,double VRatio,double VRatioChroma,double Tno_bw_flip,unsigned int dpte_row_height,unsigned int dpte_row_height_chroma,bool use_one_row_for_frame_flip,unsigned int max_flip_time_us,unsigned int max_flip_time_lines,unsigned int per_pipe_flip_bytes,unsigned int meta_row_bytes,unsigned int meta_row_height,unsigned int meta_row_height_chroma,bool dcc_mrq_enable,double * dst_y_per_vm_flip,double * dst_y_per_row_flip,double * final_flip_bw,bool * ImmediateFlipSupportedForPipe) CalculateFlipSchedule() argument [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 232 unsigned int meta_row_height_chroma, 264 unsigned int meta_row_height_chroma, 456 int meta_row_height_chroma[], 2211 &v->meta_row_height_chroma[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2302 v->meta_row_height_chroma[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2671 v->meta_row_height_chroma[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2867 v->meta_row_height_chroma, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3304 unsigned int meta_row_height_chroma, in CalculateRowBandwidth() argument 3317 / (meta_row_height_chroma * LineTime); in CalculateRowBandwidth() 3358 unsigned int meta_row_height_chroma, in CalculateFlipSchedule() 3333 CalculateFlipSchedule(struct display_mode_lib * mode_lib,double PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyPixelMixedWithVMData,double PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyVMDataOnly,double UrgentExtraLatency,double UrgentLatency,unsigned int GPUVMMaxPageTableLevels,bool HostVMEnable,unsigned int HostVMMaxNonCachedPageTableLevels,bool GPUVMEnable,double HostVMMinPageSize,double PDEAndMetaPTEBytesPerFrame,double MetaRowBytes,double DPTEBytesPerRow,double BandwidthAvailableForImmediateFlip,unsigned int TotImmediateFlipBytes,enum source_format_class SourcePixelFormat,double LineTime,double VRatio,double VRatioChroma,double Tno_bw,bool DCCEnable,unsigned int dpte_row_height,unsigned int meta_row_height,unsigned int dpte_row_height_chroma,unsigned int meta_row_height_chroma,double * DestinationLinesToRequestVMInImmediateFlip,double * DestinationLinesToRequestRowInImmediateFlip,double * final_flip_bw,bool * ImmediateFlipSupportedForPipe) CalculateFlipSchedule() argument 5670 CalculateMetaAndPTETimes(int NumberOfActivePlanes,bool GPUVMEnable,int MetaChunkSize,int MinMetaChunkSizeBytes,int HTotal[],double VRatio[],double VRatioChroma[],double DestinationLinesToRequestRowInVBlank[],double DestinationLinesToRequestRowInImmediateFlip[],bool DCCEnable[],double PixelClock[],int BytePerPixelY[],int BytePerPixelC[],enum scan_direction_class SourceScan[],int dpte_row_height[],int dpte_row_height_chroma[],int meta_row_width[],int meta_row_width_chroma[],int meta_row_height[],int meta_row_height_chroma[],int meta_req_width[],int meta_req_width_chroma[],int meta_req_height[],int meta_req_height_chroma[],int dpte_group_bytes[],int PTERequestSizeY[],int PTERequestSizeC[],int PixelPTEReqWidthY[],int PixelPTEReqHeightY[],int PixelPTEReqWidthC[],int PixelPTEReqHeightC[],int dpte_row_width_luma_ub[],int dpte_row_width_chroma_ub[],double DST_Y_PER_PTE_ROW_NOM_L[],double DST_Y_PER_PTE_ROW_NOM_C[],double DST_Y_PER_META_ROW_NOM_L[],double DST_Y_PER_META_ROW_NOM_C[],double TimePerMetaChunkNominal[],double TimePerChromaMetaChunkNominal[],double TimePerMetaChunkVBlank[],double TimePerChromaMetaChunkVBlank[],double TimePerMetaChunkFlip[],double TimePerChromaMetaChunkFlip[],double time_per_pte_group_nom_luma[],double time_per_pte_group_vblank_luma[],double time_per_pte_group_flip_luma[],double time_per_pte_group_nom_chroma[],double time_per_pte_group_vblank_chroma[],double time_per_pte_group_flip_chroma[]) CalculateMetaAndPTETimes() argument [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core_structs.h | 943 dml_uint_t meta_row_height_chroma[__DML_NUM_PLANES__]; member 1076 dml_uint_t meta_row_height_chroma[__DML_NUM_PLANES__]; member 1344 dml_uint_t *meta_row_height_chroma; member 1428 dml_uint_t *meta_row_height_chroma; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 254 unsigned int meta_row_height_chroma, 429 int meta_row_height_chroma[], 2361 &v->meta_row_height_chroma[k], 2451 v->meta_row_height_chroma[k], 3047 v->meta_row_height_chroma, 3562 unsigned int meta_row_height_chroma, argument 3573 *meta_row_bw = VRatio * MetaRowByteLuma / (meta_row_height_luma * LineTime) + VRatioChroma * MetaRowByteChroma / (meta_row_height_chroma * LineTime); 3651 min_row_time = dml_min(v->meta_row_height[k] * LineTime / v->VRatio[k], v->meta_row_height_chroma[k] * LineTime / v->VRatioChroma[k]); 3657 v->meta_row_height_chroma[k] * LineTime / v->VRatioChroma[k]); 4876 &v->meta_row_height_chroma[ 6136 CalculateMetaAndPTETimes(int NumberOfActivePlanes,bool GPUVMEnable,int MetaChunkSize,int MinMetaChunkSizeBytes,int HTotal[],double VRatio[],double VRatioChroma[],double DestinationLinesToRequestRowInVBlank[],double DestinationLinesToRequestRowInImmediateFlip[],bool DCCEnable[],double PixelClock[],int BytePerPixelY[],int BytePerPixelC[],enum scan_direction_class SourceScan[],int dpte_row_height[],int dpte_row_height_chroma[],int meta_row_width[],int meta_row_width_chroma[],int meta_row_height[],int meta_row_height_chroma[],int meta_req_width[],int meta_req_width_chroma[],int meta_req_height[],int meta_req_height_chroma[],int dpte_group_bytes[],int PTERequestSizeY[],int PTERequestSizeC[],int PixelPTEReqWidthY[],int PixelPTEReqHeightY[],int PixelPTEReqWidthC[],int PixelPTEReqHeightC[],int dpte_row_width_luma_ub[],int dpte_row_width_chroma_ub[],double DST_Y_PER_PTE_ROW_NOM_L[],double DST_Y_PER_PTE_ROW_NOM_C[],double DST_Y_PER_META_ROW_NOM_L[],double DST_Y_PER_META_ROW_NOM_C[],double TimePerMetaChunkNominal[],double TimePerChromaMetaChunkNominal[],double TimePerMetaChunkVBlank[],double TimePerChromaMetaChunkVBlank[],double TimePerMetaChunkFlip[],double TimePerChromaMetaChunkFlip[],double time_per_pte_group_nom_luma[],double time_per_pte_group_vblank_luma[],double time_per_pte_group_flip_luma[],double time_per_pte_group_nom_chroma[],double time_per_pte_group_vblank_chroma[],double time_per_pte_group_flip_chroma[]) global() argument [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 245 unsigned int meta_row_height_chroma, 420 int meta_row_height_chroma[], 2342 &v->meta_row_height_chroma[k], 2432 v->meta_row_height_chroma[k], 3028 v->meta_row_height_chroma, 3456 unsigned int meta_row_height_chroma, argument 3467 *meta_row_bw = VRatio * MetaRowByteLuma / (meta_row_height_luma * LineTime) + VRatioChroma * MetaRowByteChroma / (meta_row_height_chroma * LineTime); 3545 min_row_time = dml_min(v->meta_row_height[k] * LineTime / v->VRatio[k], v->meta_row_height_chroma[k] * LineTime / v->VRatioChroma[k]); 3551 v->meta_row_height_chroma[k] * LineTime / v->VRatioChroma[k]); 4790 &v->meta_row_height_chroma[ 6041 CalculateMetaAndPTETimes(int NumberOfActivePlanes,bool GPUVMEnable,int MetaChunkSize,int MinMetaChunkSizeBytes,int HTotal[],double VRatio[],double VRatioChroma[],double DestinationLinesToRequestRowInVBlank[],double DestinationLinesToRequestRowInImmediateFlip[],bool DCCEnable[],double PixelClock[],int BytePerPixelY[],int BytePerPixelC[],enum scan_direction_class SourceScan[],int dpte_row_height[],int dpte_row_height_chroma[],int meta_row_width[],int meta_row_width_chroma[],int meta_row_height[],int meta_row_height_chroma[],int meta_req_width[],int meta_req_width_chroma[],int meta_req_height[],int meta_req_height_chroma[],int dpte_group_bytes[],int PTERequestSizeY[],int PTERequestSizeC[],int PixelPTEReqWidthY[],int PixelPTEReqHeightY[],int PixelPTEReqWidthC[],int PixelPTEReqHeightC[],int dpte_row_width_luma_ub[],int dpte_row_width_chroma_ub[],double DST_Y_PER_PTE_ROW_NOM_L[],double DST_Y_PER_PTE_ROW_NOM_C[],double DST_Y_PER_META_ROW_NOM_L[],double DST_Y_PER_META_ROW_NOM_C[],double TimePerMetaChunkNominal[],double TimePerChromaMetaChunkNominal[],double TimePerMetaChunkVBlank[],double TimePerChromaMetaChunkVBlank[],double TimePerMetaChunkFlip[],double TimePerChromaMetaChunkFlip[],double time_per_pte_group_nom_luma[],double time_per_pte_group_vblank_luma[],double time_per_pte_group_flip_luma[],double time_per_pte_group_nom_chroma[],double time_per_pte_group_vblank_chroma[],double time_per_pte_group_flip_chroma[]) global() argument [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 240 unsigned int meta_row_height_chroma, 271 unsigned int meta_row_height_chroma, 1908 &locals->meta_row_height_chroma[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1988 locals->meta_row_height_chroma[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2358 locals->meta_row_height_chroma[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3131 unsigned int meta_row_height_chroma, in CalculateActiveRowBandwidth() argument 3144 / (meta_row_height_chroma * LineTime); in CalculateActiveRowBandwidth() 3184 unsigned int meta_row_height_chroma, in CalculateFlipSchedule() 3238 meta_row_height_chroma * LineTime / (VRatioClamped / 2)); in CalculateFlipSchedule() 3244 meta_row_height_chroma * LineTim in CalculateFlipSchedule() 3160 CalculateFlipSchedule(struct display_mode_lib * mode_lib,double PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyPixelMixedWithVMData,double PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyVMDataOnly,double UrgentExtraLatency,double UrgentLatency,unsigned int GPUVMMaxPageTableLevels,bool HostVMEnable,unsigned int HostVMMaxPageTableLevels,unsigned int HostVMCachedPageTableLevels,bool GPUVMEnable,double PDEAndMetaPTEBytesPerFrame,double MetaRowBytes,double DPTEBytesPerRow,double BandwidthAvailableForImmediateFlip,unsigned int TotImmediateFlipBytes,enum source_format_class SourcePixelFormat,double LineTime,double VRatio,double Tno_bw,bool DCCEnable,unsigned int dpte_row_height,unsigned int meta_row_height,unsigned int dpte_row_height_chroma,unsigned int meta_row_height_chroma,double * DestinationLinesToRequestVMInImmediateFlip,double * DestinationLinesToRequestRowInImmediateFlip,double * final_flip_bw,bool * ImmediateFlipSupportedForPipe) CalculateFlipSchedule() argument [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 188 unsigned int meta_row_height_chroma, 1931 &mode_lib->vba.meta_row_height_chroma[k]); in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1964 mode_lib->vba.meta_row_height_chroma[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3044 unsigned int meta_row_height_chroma, in CalculateActiveRowBandwidth() argument 3058 / (meta_row_height_chroma * LineTime); in CalculateActiveRowBandwidth() 4561 &mode_lib->vba.meta_row_height_chroma[k]); in dml20_ModeSupportAndSystemConfigurationFull() 4594 mode_lib->vba.meta_row_height_chroma[k], in dml20_ModeSupportAndSystemConfigurationFull()
|
H A D | display_mode_vba_20v2.c | 212 unsigned int meta_row_height_chroma, 1967 &mode_lib->vba.meta_row_height_chroma[k]); in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2000 mode_lib->vba.meta_row_height_chroma[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3117 unsigned int meta_row_height_chroma, in CalculateActiveRowBandwidth() argument 3131 / (meta_row_height_chroma * LineTime); in CalculateActiveRowBandwidth() 4683 &mode_lib->vba.meta_row_height_chroma[k]); in dml20v2_ModeSupportAndSystemConfigurationFull() 4716 mode_lib->vba.meta_row_height_chroma[k], in dml20v2_ModeSupportAndSystemConfigurationFull()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.h | 838 unsigned int meta_row_height_chroma[DC__NUM_DPP__MAX]; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_32.c | 500 v->meta_row_height_chroma, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1060 v->meta_row_height_chroma[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1308 v->meta_row_height_chroma, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2793 mode_lib->vba.meta_row_height_chroma, in dml32_ModeSupportAndSystemConfigurationFull() 3498 mode_lib->vba.meta_row_height_chroma[k], in dml32_ModeSupportAndSystemConfigurationFull()
|