Searched refs:dpte_row_height (Results 1 - 22 of 22) sorted by relevance

/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c177 dml_log2(rq_param->dlg.rq_l.dpte_row_height),
183 dml_log2(rq_param->dlg.rq_c.dpte_row_height),
606 unsigned int dpte_row_height; local
625 // the dpte_row_width_ub is the upper bound of data_pitch*dpte_row_height in elements with this unique buffering.
626 dpte_row_height = 1 << log2_dpte_row_height;
628 data_pitch * dpte_row_height - 1,
654 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
1200 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height;
1201 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height;
H A Ddisplay_mode_vba_21.c195 unsigned int *dpte_row_height,
268 unsigned int dpte_row_height,
433 unsigned int dpte_row_height[],
1283 unsigned int *dpte_row_height,
1418 *dpte_row_height = dml_min(128,
1423 *dpte_row_width_ub = (dml_ceil((double) (Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTEReqWidth;
1426 *dpte_row_height = *PixelPTEReqHeight;
1430 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
1964 &locals->dpte_row_height[k],
1994 locals->dpte_row_height[
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
3163 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) argument
5835 CalculateMetaAndPTETimes( unsigned int NumberOfActivePlanes, bool GPUVMEnable, unsigned int MetaChunkSize, unsigned int MinMetaChunkSizeBytes, unsigned int GPUVMMaxPageTableLevels, unsigned int HTotal[], double VRatio[], double VRatioPrefetchY[], double VRatioPrefetchC[], double DestinationLinesToRequestRowInVBlank[], double DestinationLinesToRequestRowInImmediateFlip[], double DestinationLinesToRequestVMInVBlank[], double DestinationLinesToRequestVMInImmediateFlip[], bool DCCEnable[], double PixelClock[], double BytePerPixelDETY[], double BytePerPixelDETC[], enum scan_direction_class SourceScan[], unsigned int dpte_row_height[], unsigned int dpte_row_height_chroma[], unsigned int meta_row_width[], unsigned int meta_row_height[], unsigned int meta_req_width[], unsigned int meta_req_height[], int dpte_group_bytes[], unsigned int PTERequestSizeY[], unsigned int PTERequestSizeC[], unsigned int PixelPTEReqWidthY[], unsigned int PixelPTEReqHeightY[], unsigned int PixelPTEReqWidthC[], unsigned int PixelPTEReqHeightC[], unsigned int dpte_row_width_luma_ub[], unsigned int dpte_row_width_chroma_ub[], unsigned int vm_group_bytes[], unsigned int dpde0_bytes_per_frame_ub_l[], unsigned int dpde0_bytes_per_frame_ub_c[], unsigned int meta_pte_bytes_per_frame_ub_l[], unsigned int meta_pte_bytes_per_frame_ub_c[], 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 TimePerMetaChunkNominal[], double TimePerMetaChunkVBlank[], double TimePerMetaChunkFlip[], 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[], double TimePerVMGroupVBlank[], double TimePerVMGroupFlip[], double TimePerVMRequestVBlank[], double TimePerVMRequestFlip[]) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20v2.c198 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_l.dpte_row_height),
203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height),
608 unsigned int dpte_row_height; local
624 // the dpte_row_width_ub is the upper bound of data_pitch*dpte_row_height in elements with this unique buffering.
625 dpte_row_height = 1 << log2_dpte_row_height;
626 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1,
652 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
1149 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height;
1150 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height;
H A Ddisplay_rq_dlg_calc_20.c198 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_l.dpte_row_height),
203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height),
608 unsigned int dpte_row_height; local
624 // the dpte_row_width_ub is the upper bound of data_pitch*dpte_row_height in elements with this unique buffering.
625 dpte_row_height = 1 << log2_dpte_row_height;
626 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1,
652 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
1148 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height;
1149 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height;
H A Ddisplay_mode_vba_20v2.c178 unsigned int *dpte_row_height,
237 unsigned int dpte_row_height,
941 unsigned int *dpte_row_height,
1099 *dpte_row_height =
1115 (double) (Pitch * *dpte_row_height - 1)
1119 *dpte_row_height = PixelPTEReqHeight;
1124 *dpte_row_height = dml_min(PixelPTEReqWidth, *MacroTileWidth);
1927 &mode_lib->vba.dpte_row_height[k],
2006 mode_lib->vba.dpte_row_height[k],
2324 mode_lib->vba.dpte_row_height[
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.c154 unsigned int *dpte_row_height,
213 unsigned int dpte_row_height,
881 unsigned int *dpte_row_height,
1039 *dpte_row_height =
1055 (double) (Pitch * *dpte_row_height - 1)
1059 *dpte_row_height = PixelPTEReqHeight;
1064 *dpte_row_height = dml_min(PixelPTEReqWidth, *MacroTileWidth);
1891 &mode_lib->vba.dpte_row_height[k],
1970 mode_lib->vba.dpte_row_height[k],
2290 mode_lib->vba.dpte_row_height[
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/
H A Ddml1_display_rq_dlg_calc.c615 unsigned int dpte_row_height; local
809 dpte_row_height = 0;
859 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
862 * the dpte_row_width_ub is the upper bound of data_pitch*dpte_row_height in elements with this unique buffering.
865 data_pitch * dpte_row_height - 1,
884 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
896 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
951 if (rq_dlg_param->dpte_row_height != func_dpte_row_height) {
953 "MISMATCH: rq_dlg_param->dpte_row_height = %d",
954 rq_dlg_param->dpte_row_height);
[all...]
H A Ddisplay_rq_dlg_helpers.c88 "DML_RQ_DLG_CALC: dpte_row_height = %0d\n",
89 rq_dlg_param->dpte_row_height);
H A Ddisplay_mode_structs.h587 unsigned int dpte_row_height; member in struct:_vcs_dpi_display_data_rq_dlg_params_st
H A Ddisplay_mode_vba.h830 unsigned int dpte_row_height[DC__NUM_DPP__MAX]; member in struct:vba_vars_st
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.h464 unsigned int *dpte_row_height,
792 unsigned int dpte_row_height,
906 unsigned int dpte_row_height[],
H A Ddisplay_mode_vba_util_32.c2288 unsigned int *dpte_row_height,
2452 *dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests *
2455 dml_print("DML::%s: dpte_row_height = %d (1)\n", __func__,
2457 dml_print("DML::%s: dpte_row_height = %f (2)\n", __func__,
2459 dml_print("DML::%s: dpte_row_height = %f (3)\n", __func__,
2461 dml_print("DML::%s: dpte_row_height = %d (4)\n", __func__,
2464 dml_print("DML::%s: dpte_row_height = %d\n", __func__, *dpte_row_height);
2466 *dpte_row_width_ub = dml_ceil(((double) Pitch * (double) *dpte_row_height - 1),
2477 *dpte_row_height
2258 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
4115 dml32_CalculateFlipSchedule( double HostVMInefficiencyFactor, 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, bool use_one_row_for_frame_flip, double *DestinationLinesToRequestVMInImmediateFlip, double *DestinationLinesToRequestRowInImmediateFlip, double *final_flip_bw, bool *ImmediateFlipSupportedForPipe) argument
4870 dml32_CalculateMetaAndPTETimes( bool use_one_row_for_frame[], unsigned int NumberOfActiveSurfaces, bool GPUVMEnable, unsigned int MetaChunkSize, unsigned int MinMetaChunkSizeBytes, unsigned int HTotal[], double VRatio[], double VRatioChroma[], double DestinationLinesToRequestRowInVBlank[], double DestinationLinesToRequestRowInImmediateFlip[], bool DCCEnable[], double PixelClock[], unsigned int BytePerPixelY[], unsigned int BytePerPixelC[], enum dm_rotation_angle SourceRotation[], unsigned int dpte_row_height[], unsigned int dpte_row_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 meta_req_width[], unsigned int meta_req_width_chroma[], unsigned int meta_req_height[], unsigned int meta_req_height_chroma[], unsigned int dpte_group_bytes[], unsigned int PTERequestSizeY[], unsigned int PTERequestSizeC[], unsigned int PixelPTEReqWidthY[], unsigned int PixelPTEReqHeightY[], unsigned int PixelPTEReqWidthC[], unsigned int PixelPTEReqHeightC[], unsigned int dpte_row_width_luma_ub[], unsigned 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[]) argument
[all...]
H A Ddisplay_mode_vba_32.c489 v->dpte_row_height,
1057 v->dpte_row_height[k],
1303 v->dpte_row_height,
2782 mode_lib->vba.dpte_row_height,
3492 mode_lib->vba.dpte_row_height[k],
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_rq_dlg_calc_31.c119 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_l.dpte_row_height), 1) - 3;
123 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height), 1) - 3;
578 unsigned int dpte_row_height; local
593 // the dpte_row_width_ub is the upper bound of data_pitch*dpte_row_height in elements with this unique buffering.
594 dpte_row_height = 1 << log2_dpte_row_height;
595 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, dpte_req_width, 1) + dpte_req_width;
615 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
1142 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height;
1143 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height;
H A Ddisplay_mode_vba_31.c222 unsigned int *dpte_row_height,
415 int dpte_row_height[],
1815 unsigned int *dpte_row_height,
1951 *dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1));
1952 *dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTEReqWidth;
1955 *dpte_row_height = *PixelPTEReqHeight;
1959 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2406 &v->dpte_row_height[k],
2446 v->dpte_row_height[k],
3034 v->dpte_row_height,
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
6032 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[]) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c122 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_l.dpte_row_height),
127 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height),
577 unsigned int dpte_row_height = 0; local
592 // the dpte_row_width_ub is the upper bound of data_pitch*dpte_row_height in elements with this unique buffering.
593 dpte_row_height = 1 << log2_dpte_row_height;
594 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1,
620 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
1301 dpte_row_height_l = rq_dlg_param.rq_l.dpte_row_height;
1302 dpte_row_height_c = rq_dlg_param.rq_c.dpte_row_height;
H A Ddisplay_mode_vba_30.c205 unsigned int *dpte_row_height,
261 unsigned int dpte_row_height,
451 int dpte_row_height[],
1681 unsigned int *dpte_row_height,
1803 *dpte_row_height = 1;
1805 *dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1));
1809 *dpte_row_height = *PixelPTEReqHeight;
1813 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2275 &v->dpte_row_height[k],
2316 v->dpte_row_height[
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
3344 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) argument
5661 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[]) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_rq_dlg_calc_314.c207 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_l.dpte_row_height), 1) - 3;
211 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height), 1) - 3;
666 unsigned int dpte_row_height; local
681 // the dpte_row_width_ub is the upper bound of data_pitch*dpte_row_height in elements with this unique buffering.
682 dpte_row_height = 1 << log2_dpte_row_height;
683 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, dpte_req_width, 1) + dpte_req_width;
703 rq_dlg_param->dpte_row_height = 1 << log2_dpte_row_height;
1230 dpte_row_height_l = rq_dlg_param->rq_l.dpte_row_height;
1231 dpte_row_height_c = rq_dlg_param->rq_c.dpte_row_height;
H A Ddisplay_mode_vba_314.c234 unsigned int *dpte_row_height,
427 int dpte_row_height[],
1835 unsigned int *dpte_row_height,
1971 *dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1));
1972 *dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTEReqWidth;
1975 *dpte_row_height = *PixelPTEReqHeight;
1979 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2428 &v->dpte_row_height[k],
2468 v->dpte_row_height[k],
3056 v->dpte_row_height,
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
6130 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[]) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.h38 dml_uint_t *dpte_row_height,
H A Ddisplay_mode_core.c259 dml_uint_t *dpte_row_height,
328 dml_uint_t dpte_row_height,
508 dml_uint_t dpte_row_height[],
1965 dml_uint_t dpte_row_height,
2036 min_row_time = dml_min(dpte_row_height * LineTime / VRatio, dpte_row_height_chroma * LineTime / VRatioChroma);
2040 min_row_time = dml_min4(dpte_row_height * LineTime / VRatio, meta_row_height * LineTime / VRatio, dpte_row_height_chroma * LineTime / VRatioChroma, meta_row_height_chroma * LineTime / VRatioChroma);
2044 min_row_time = dpte_row_height * LineTime / VRatio;
2048 min_row_time = dml_min(dpte_row_height * LineTime / VRatio, meta_row_height * LineTime / VRatio);
2474 dml_uint_t *dpte_row_height,
2615 *dpte_row_height
1945 CalculateFlipSchedule( dml_float_t HostVMInefficiencyFactor, dml_float_t UrgentExtraLatency, dml_float_t UrgentLatency, dml_uint_t GPUVMMaxPageTableLevels, dml_bool_t HostVMEnable, dml_uint_t HostVMMaxNonCachedPageTableLevels, dml_bool_t GPUVMEnable, dml_uint_t HostVMMinPageSize, dml_float_t PDEAndMetaPTEBytesPerFrame, dml_float_t MetaRowBytes, dml_float_t DPTEBytesPerRow, dml_float_t BandwidthAvailableForImmediateFlip, dml_uint_t TotImmediateFlipBytes, enum dml_source_format_class SourcePixelFormat, dml_float_t LineTime, dml_float_t VRatio, dml_float_t VRatioChroma, dml_float_t Tno_bw, dml_bool_t DCCEnable, dml_uint_t dpte_row_height, dml_uint_t meta_row_height, dml_uint_t dpte_row_height_chroma, dml_uint_t meta_row_height_chroma, dml_bool_t use_one_row_for_frame_flip, dml_float_t *DestinationLinesToRequestVMInImmediateFlip, dml_float_t *DestinationLinesToRequestRowInImmediateFlip, dml_float_t *final_flip_bw, dml_bool_t *ImmediateFlipSupportedForPipe) argument
2446 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
3418 CalculateMetaAndPTETimes( dml_bool_t use_one_row_for_frame[], dml_uint_t NumberOfActiveSurfaces, dml_bool_t GPUVMEnable, dml_uint_t MetaChunkSize, dml_uint_t MinMetaChunkSizeBytes, dml_uint_t HTotal[], dml_float_t VRatio[], dml_float_t VRatioChroma[], dml_float_t DestinationLinesToRequestRowInVBlank[], dml_float_t DestinationLinesToRequestRowInImmediateFlip[], dml_bool_t DCCEnable[], dml_float_t PixelClock[], dml_uint_t BytePerPixelY[], dml_uint_t BytePerPixelC[], enum dml_rotation_angle SourceScan[], dml_uint_t dpte_row_height[], dml_uint_t dpte_row_height_chroma[], dml_uint_t meta_row_width[], dml_uint_t meta_row_width_chroma[], dml_uint_t meta_row_height[], dml_uint_t meta_row_height_chroma[], dml_uint_t meta_req_width[], dml_uint_t meta_req_width_chroma[], dml_uint_t meta_req_height[], dml_uint_t meta_req_height_chroma[], dml_uint_t dpte_group_bytes[], dml_uint_t PTERequestSizeY[], dml_uint_t PTERequestSizeC[], dml_uint_t PixelPTEReqWidthY[], dml_uint_t PixelPTEReqHeightY[], dml_uint_t PixelPTEReqWidthC[], dml_uint_t PixelPTEReqHeightC[], dml_uint_t dpte_row_width_luma_ub[], dml_uint_t dpte_row_width_chroma_ub[], dml_float_t DST_Y_PER_PTE_ROW_NOM_L[], dml_float_t DST_Y_PER_PTE_ROW_NOM_C[], dml_float_t DST_Y_PER_META_ROW_NOM_L[], dml_float_t DST_Y_PER_META_ROW_NOM_C[], dml_float_t TimePerMetaChunkNominal[], dml_float_t TimePerChromaMetaChunkNominal[], dml_float_t TimePerMetaChunkVBlank[], dml_float_t TimePerChromaMetaChunkVBlank[], dml_float_t TimePerMetaChunkFlip[], dml_float_t TimePerChromaMetaChunkFlip[], dml_float_t time_per_pte_group_nom_luma[], dml_float_t time_per_pte_group_vblank_luma[], dml_float_t time_per_pte_group_flip_luma[], dml_float_t time_per_pte_group_nom_chroma[], dml_float_t time_per_pte_group_vblank_chroma[], dml_float_t time_per_pte_group_flip_chroma[]) argument
9901 dml_core_get_row_heights( dml_uint_t *dpte_row_height, dml_uint_t *meta_row_height, const struct display_mode_lib_st *mode_lib, dml_bool_t is_plane1, enum dml_source_format_class SourcePixelFormat, enum dml_swizzle_mode SurfaceTiling, enum dml_rotation_angle ScanDirection, dml_uint_t pitch, dml_uint_t GPUVMMinPageSizeKBytes) argument
[all...]
H A Ddisplay_mode_core_structs.h880 dml_uint_t dpte_row_height[__DML_NUM_PLANES__]; member in struct:mode_support_st
1003 dml_uint_t dpte_row_height[__DML_NUM_PLANES__]; member in struct:mode_program_st

Completed in 661 milliseconds