/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 2668 double LineTime, in dml32_CalculateRowBandwidth() argument 2685 *meta_row_bw = VRatio * MetaRowByteLuma / (meta_row_height_luma * LineTime) + VRatioChroma * in dml32_CalculateRowBandwidth() 2686 MetaRowByteChroma / (meta_row_height_chroma * LineTime); in dml32_CalculateRowBandwidth() 2688 *meta_row_bw = VRatio * MetaRowByteLuma / (meta_row_height_luma * LineTime); in dml32_CalculateRowBandwidth() 2695 *dpte_row_bw = VRatio * PixelPTEBytesPerRowLuma / (dpte_row_height_luma * LineTime) + in dml32_CalculateRowBandwidth() 2696 VRatioChroma * PixelPTEBytesPerRowChroma / (dpte_row_height_chroma * LineTime); in dml32_CalculateRowBandwidth() 2698 *dpte_row_bw = VRatio * PixelPTEBytesPerRowLuma / (dpte_row_height_luma * LineTime); in dml32_CalculateRowBandwidth() 2727 double LineTime, in dml32_CalculateUrgentBurstFactor() argument 2757 CursorBufferSizeInTime = LinesInCursorBuffer * LineTime / VRatio; in dml32_CalculateUrgentBurstFactor() 2774 DETBufferSizeInTimeLuma = dml_floor(LinesInDETLuma, SwathHeightY) * LineTime / VRatio; in dml32_CalculateUrgentBurstFactor() [all …]
|
D | display_mode_vba_util_32.h | 512 double LineTime, 540 double LineTime, 787 double LineTime,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 218 double LineTime, 236 double LineTime, 264 double LineTime, 367 double LineTime, 701 double Tdm, LineTime, Tsetup; in CalculatePrefetchSchedule() local 767 LineTime = (double) myPipe->HTotal / myPipe->PixelClock; in CalculatePrefetchSchedule() 774 Tdmec = LineTime; in CalculatePrefetchSchedule() 776 Tdmsks = myPipe->VBlank * LineTime / 2.0; in CalculatePrefetchSchedule() 778 Tdmsks = DynamicMetadataLinesBeforeActiveRequired * LineTime; in CalculatePrefetchSchedule() 781 if (VStartup * LineTime in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 241 double LineTime, 344 double LineTime, 879 double LineTime; local 945 LineTime = myPipe->HTotal / myPipe->PixelClock; 966 if (VStartup * LineTime < *TSetup + *Tdmdl + Tdmbf + Tdmec + Tdmsks) { 1025 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; 1026 Tr0_trips_rounded = dml_ceil(4.0 * Tr0_trips / LineTime, 1) / 4 * LineTime; 1047 *Tno_bw = LineTime; 1049 *Tno_bw = LineTime / 4; 1059 max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 250 double LineTime, 353 double LineTime, 897 double LineTime; local 963 LineTime = myPipe->HTotal / myPipe->PixelClock; 984 if (VStartup * LineTime < *TSetup + *Tdmdl + Tdmbf + Tdmec + Tdmsks) { 1043 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; 1044 Tr0_trips_rounded = dml_ceil(4.0 * Tr0_trips / LineTime, 1) / 4 * LineTime; 1065 *Tno_bw = LineTime; 1067 *Tno_bw = LineTime / 4; 1077 max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 228 double LineTime, 256 double LineTime, 379 double LineTime, 880 double LineTime = 0, Tsetup = 0; in CalculatePrefetchSchedule() local 933 LineTime = myPipe->HTotal / myPipe->PixelClock; in CalculatePrefetchSchedule() 944 if (VStartup * LineTime < Tsetup + *Tdmdl + Tdmbf + Tdmec + Tdmsks) { in CalculatePrefetchSchedule() 990 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; in CalculatePrefetchSchedule() 991 Tr0_trips_rounded = dml_ceil(4.0 * Tr0_trips / LineTime, 1) / 4 * LineTime; in CalculatePrefetchSchedule() 999 *Tno_bw = LineTime; in CalculatePrefetchSchedule() 1001 *Tno_bw = LineTime / 4; in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 166 double LineTime, 184 double LineTime, 206 double LineTime, 507 double Tdm, LineTime, Tsetup; in CalculatePrefetchSchedule() local 558 LineTime = (double) HTotal / PixelClock; in CalculatePrefetchSchedule() 565 Tdmec = LineTime; in CalculatePrefetchSchedule() 567 Tdmsks = VBlank * LineTime / 2.0; in CalculatePrefetchSchedule() 569 Tdmsks = DynamicMetadataLinesBeforeActiveRequired * LineTime; in CalculatePrefetchSchedule() 572 if (VStartup * LineTime in CalculatePrefetchSchedule() 576 + UrgentExtraLatency + Tdmbf + Tdmec + Tdmsks) / LineTime; in CalculatePrefetchSchedule() [all …]
|
D | display_mode_vba_20v2.c | 190 double LineTime, 208 double LineTime, 230 double LineTime, 597 double Tdm, LineTime, Tsetup; in CalculatePrefetchSchedule() local 621 LineTime = (double) HTotal / PixelClock; in CalculatePrefetchSchedule() 628 Tdmec = LineTime; in CalculatePrefetchSchedule() 630 Tdmsks = VBlank * LineTime / 2.0; in CalculatePrefetchSchedule() 632 Tdmsks = DynamicMetadataLinesBeforeActiveRequired * LineTime; in CalculatePrefetchSchedule() 635 if (VStartup * LineTime in CalculatePrefetchSchedule() 650 *Tno_bw = LineTime; in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 296 dml_float_t LineTime, 324 dml_float_t LineTime, 424 dml_float_t LineTime, 1005 s->LineTime = 0.0; in CalculatePrefetchSchedule() 1076 s->LineTime = p->myPipe->HTotal / p->myPipe->PixelClock; in CalculatePrefetchSchedule() 1093 if (p->VStartup * s->LineTime < *p->TSetup + *p->Tdmdl + s->Tdmbf + s->Tdmec + s->Tdmsks) { in CalculatePrefetchSchedule() 1156 s->Tvm_trips_rounded = dml_ceil(4.0 * s->Tvm_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 1157 s->Tr0_trips_rounded = dml_ceil(4.0 * s->Tr0_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 1161 …->Tr0_trips_rounded = dml_ceil(4.0 * p->UrgentExtraLatency / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 1167 s->Tvm_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() [all …]
|
D | display_mode_core_structs.h | 1781 dml_float_t LineTime; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_dcn4_calcs.c | 1938 double LineTime, in CalculateRowBandwidth() argument 1957 *meta_row_bw = VRatio * meta_row_bytes_per_row_ub_l / (meta_row_height_luma * LineTime) in CalculateRowBandwidth() 1958 + VRatioChroma * meta_row_bytes_per_row_ub_c / (meta_row_height_chroma * LineTime); in CalculateRowBandwidth() 1960 *meta_row_bw = VRatio * meta_row_bytes_per_row_ub_l / (meta_row_height_luma * LineTime); in CalculateRowBandwidth() 1966 *dpte_row_bw = VRatio * PixelPTEBytesPerRowLuma / (dpte_row_height_luma * LineTime) in CalculateRowBandwidth() 1967 + VRatioChroma * PixelPTEBytesPerRowChroma / (dpte_row_height_chroma * LineTime); in CalculateRowBandwidth() 1969 *dpte_row_bw = VRatio * PixelPTEBytesPerRowLuma / (dpte_row_height_luma * LineTime); in CalculateRowBandwidth() 3415 double LineTime, in calculate_cursor_urgent_burst_factor() argument 3427 CursorBufferSizeInTime = LinesInCursorBuffer * LineTime; in calculate_cursor_urgent_burst_factor() 3455 double LineTime, in CalculateUrgentBurstFactor() argument [all …]
|
D | dml2_core_shared.c | 169 double LineTime, 315 double LineTime, 326 double LineTime, 643 double LineTime, 4615 double LineTime, in CalculateRowBandwidth() argument 4634 *meta_row_bw = VRatio * meta_row_bytes_per_row_ub_l / (meta_row_height_luma * LineTime) in CalculateRowBandwidth() 4635 + VRatioChroma * meta_row_bytes_per_row_ub_c / (meta_row_height_chroma * LineTime); in CalculateRowBandwidth() 4637 *meta_row_bw = VRatio * meta_row_bytes_per_row_ub_l / (meta_row_height_luma * LineTime); in CalculateRowBandwidth() 4643 *dpte_row_bw = VRatio * PixelPTEBytesPerRowLuma / (dpte_row_height_luma * LineTime) in CalculateRowBandwidth() 4644 + VRatioChroma * PixelPTEBytesPerRowChroma / (dpte_row_height_chroma * LineTime); in CalculateRowBandwidth() [all …]
|
D | dml2_core_shared_types.h | 1185 double LineTime; member
|