/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.h | 418 double PrefetchSourceLinesC[], 740 double PrefetchSourceLinesC,
|
D | display_mode_vba_util_32.c | 1955 double PrefetchSourceLinesC[], in dml32_CalculateVMRowAndSwath() 2061 PrefetchSourceLinesC[k] = dml32_CalculatePrefetchSourceLines( in dml32_CalculateVMRowAndSwath() 2084 PrefetchSourceLinesC[k] = 0; in dml32_CalculateVMRowAndSwath() 3414 double PrefetchSourceLinesC, in dml32_CalculatePrefetchSchedule() argument 3637 + PrefetchSourceLinesC * swath_width_chroma_ub * myPipe->BytePerPixelC; in dml32_CalculatePrefetchSchedule() 3639 prefetch_sw_bytes / (dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime)); in dml32_CalculatePrefetchSchedule() 3641 min_Lsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) / max_vratio_pre; in dml32_CalculatePrefetchSchedule() 3687 dml_print("DML::%s: PrefetchSourceLinesC = %f\n", __func__, PrefetchSourceLinesC); in dml32_CalculatePrefetchSchedule() 3970 *VRatioPrefetchC = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData; in dml32_CalculatePrefetchSchedule() 3992 dml_print("DML::%s: PrefetchSourceLinesC = %f\n", __func__, PrefetchSourceLinesC); in dml32_CalculatePrefetchSchedule() [all …]
|
D | display_mode_vba_32.c | 514 v->PrefetchSourceLinesC, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 804 v->PrefetchSourceLinesC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared_types.h | 581 unsigned int PrefetchSourceLinesC[DML2_MAX_PLANES]; member 1146 unsigned int *PrefetchSourceLinesC; member 1727 double PrefetchSourceLinesC; member
|
D | dml2_core_shared.c | 1729 CalculateVMRowAndSwath_params->PrefetchSourceLinesC = mode_lib->ms.PrefetchLinesC; in dml2_core_shared_mode_support() 2350 CalculatePrefetchSchedule_params->PrefetchSourceLinesC = mode_lib->ms.PrefetchLinesC[k]; in dml2_core_shared_mode_support() 5630 p->PrefetchSourceLinesC[k] = CalculatePrefetchSourceLines( in CalculateVMRowAndSwath() 5654 p->PrefetchSourceLinesC[k] = 0; in CalculateVMRowAndSwath() 7746 s->max_Tsw = (math_max2(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) * s->LineTime); in CalculatePrefetchSchedule() 7748 …ceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixelY + p->PrefetchSourceLinesC * p->swath_… in CalculatePrefetchSchedule() 7753 …s->min_Lsw_oto = math_max2(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) / __DML2_CALCS_MAX_VR… in CalculatePrefetchSchedule() 7820 dml2_printf("DML::%s: PrefetchSourceLinesC = %f\n", __func__, p->PrefetchSourceLinesC); in CalculatePrefetchSchedule() 8090 *p->VRatioPrefetchC = (double)p->PrefetchSourceLinesC / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 8108 dml2_printf("DML::%s: PrefetchSourceLinesC = %f\n", __func__, p->PrefetchSourceLinesC); in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_dcn4_calcs.c | 2960 p->PrefetchSourceLinesC[k] = CalculatePrefetchSourceLines( in CalculateVMRowAndSwath() 2984 p->PrefetchSourceLinesC[k] = 0; in CalculateVMRowAndSwath() 5277 s->max_Tsw = (math_max2(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) * s->LineTime); in CalculatePrefetchSchedule() 5279 …ceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixelY + p->PrefetchSourceLinesC * p->swath_… in CalculatePrefetchSchedule() 5284 …s->min_Lsw_oto = math_max2(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) / __DML2_CALCS_MAX_VR… in CalculatePrefetchSchedule() 5288 …s->min_Lsw_equ = math_max2(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) / __DML2_CALCS_MAX_VR… in CalculatePrefetchSchedule() 5365 dml2_printf("DML::%s: PrefetchSourceLinesC = %f\n", __func__, p->PrefetchSourceLinesC); in CalculatePrefetchSchedule() 5693 *p->VRatioPrefetchC = (double)p->PrefetchSourceLinesC / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 5711 dml2_printf("DML::%s: PrefetchSourceLinesC = %f\n", __func__, p->PrefetchSourceLinesC); in CalculatePrefetchSchedule() 5717 …*p->RequiredPrefetchPixelDataBWChroma = (double)p->PrefetchSourceLinesC / s->LinesToRequestPrefetc… in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 116 double PrefetchSourceLinesC, 669 double PrefetchSourceLinesC, in CalculatePrefetchSchedule() 805 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule() 817 …ceLinesY * *swath_width_luma_ub * dml_ceil(BytePerPixelDETY, 1) + PrefetchSourceLinesC * *swath_wi… in CalculatePrefetchSchedule() 870 + PrefetchSourceLinesC * *swath_width_chroma_ub * dml_ceil(BytePerPixelDETC, 2)) in CalculatePrefetchSchedule() 876 PrefetchSourceLinesC * *swath_width_chroma_ub * in CalculatePrefetchSchedule() 884 PrefetchSourceLinesC * *swath_width_chroma_ub * in CalculatePrefetchSchedule() 891 dml_ceil(BytePerPixelDETY, 1) + PrefetchSourceLinesC * in CalculatePrefetchSchedule() 978 *VRatioPrefetchC = (double) PrefetchSourceLinesC in CalculatePrefetchSchedule() 1005 * (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 117 double PrefetchSourceLinesC, 847 double PrefetchSourceLinesC, in CalculatePrefetchSchedule() 1006 Lsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC); in CalculatePrefetchSchedule() 1009 …o = (PrefetchSourceLinesY * swath_width_luma_ub * BytePerPixelY + PrefetchSourceLinesC * swath_wid… in CalculatePrefetchSchedule() 1065 + PrefetchSourceLinesC * swath_width_chroma_ub * BytePerPixelC) in CalculatePrefetchSchedule() 1078 PrefetchSourceLinesC * swath_width_chroma_ub * in CalculatePrefetchSchedule() 1087 swath_width_luma_ub * BytePerPixelY + PrefetchSourceLinesC * in CalculatePrefetchSchedule() 1098 …4 = (PrefetchSourceLinesY * swath_width_luma_ub * BytePerPixelY + PrefetchSourceLinesC * swath_wid… in CalculatePrefetchSchedule() 1213 *VRatioPrefetchC = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 1229 …*RequiredPrefetchPixDataBWChroma = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData… in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core_structs.h | 978 dml_uint_t PrefetchSourceLinesC[__DML_NUM_PLANES__]; member 1384 dml_uint_t *PrefetchSourceLinesC; member 1560 dml_float_t PrefetchSourceLinesC; member
|
D | display_mode_core.c | 1188 s->max_Tsw = (dml_max(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) * s->LineTime); in CalculatePrefetchSchedule() 1190 …ceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixelY + p->PrefetchSourceLinesC * p->swath_… in CalculatePrefetchSchedule() 1193 …s->min_Lsw_oto = dml_max(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) / __DML_MAX_VRATIO_PRE_… in CalculatePrefetchSchedule() 1236 dml_print("DML::%s: PrefetchSourceLinesC = %f\n", __func__, p->PrefetchSourceLinesC); in CalculatePrefetchSchedule() 1466 *p->VRatioPrefetchC = (dml_float_t)p->PrefetchSourceLinesC / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 1484 dml_print("DML::%s: PrefetchSourceLinesC = %f\n", __func__, p->PrefetchSourceLinesC); in CalculatePrefetchSchedule() 1499 …*p->RequiredPrefetchPixDataBWChroma = (dml_float_t)p->PrefetchSourceLinesC / s->LinesToRequestPref… in CalculatePrefetchSchedule() 5126 p->PrefetchSourceLinesC[k] = CalculatePrefetchSourceLines ( in CalculateVMRowAndSwath() 5150 p->PrefetchSourceLinesC[k] = 0; in CalculateVMRowAndSwath() 6248 CalculatePrefetchSchedule_params->PrefetchSourceLinesC = mode_lib->ms.PrefetchLinesC[j][k]; in set_calculate_prefetch_schedule_params() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 95 double PrefetchSourceLinesC, 478 double PrefetchSourceLinesC, in CalculatePrefetchSchedule() 598 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule() 602 + PrefetchSourceLinesC * SwathWidthY / 2 * dml_ceil(BytePerPixelDETC, 2)) in CalculatePrefetchSchedule() 658 + PrefetchSourceLinesC * SwathWidthY / 2 in CalculatePrefetchSchedule() 739 *VRatioPrefetchC = (double) PrefetchSourceLinesC in CalculatePrefetchSchedule() 768 + (double) PrefetchSourceLinesC in CalculatePrefetchSchedule() 1935 mode_lib->vba.PrefetchSourceLinesC[k] = CalculatePrefetchSourceLines( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1950 mode_lib->vba.PrefetchSourceLinesC[k] = 0; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2134 mode_lib->vba.PrefetchSourceLinesC[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
D | display_mode_vba_20v2.c | 120 double PrefetchSourceLinesC, 570 double PrefetchSourceLinesC, in CalculatePrefetchSchedule() 658 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule() 662 + PrefetchSourceLinesC * SwathWidthY / 2 * dml_ceil(BytePerPixelDETC, 2)) in CalculatePrefetchSchedule() 718 + PrefetchSourceLinesC * SwathWidthY / 2 in CalculatePrefetchSchedule() 799 *VRatioPrefetchC = (double) PrefetchSourceLinesC in CalculatePrefetchSchedule() 828 + (double) PrefetchSourceLinesC in CalculatePrefetchSchedule() 1971 mode_lib->vba.PrefetchSourceLinesC[k] = CalculatePrefetchSourceLines( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1986 mode_lib->vba.PrefetchSourceLinesC[k] = 0; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2168 mode_lib->vba.PrefetchSourceLinesC[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 135 double PrefetchSourceLinesC, 847 double PrefetchSourceLinesC, 1059 max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; 1060 …fetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY + PrefetchSourceLinesC * swath_wid… 1063 min_Lsw = dml_max(1, dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) / max_vratio_pre); 1330 *VRatioPrefetchC = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData; 1351 dml_print("DML::%s: PrefetchSourceLinesC = %f\n", __func__, PrefetchSourceLinesC); 1368 …*RequiredPrefetchPixDataBWChroma = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData… 2353 v->PrefetchSourceLinesC[k] = CalculatePrefetchSourceLines( 2370 v->PrefetchSourceLinesC[k] = 0; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 144 double PrefetchSourceLinesC, 865 double PrefetchSourceLinesC, 1077 max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; 1078 …fetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY + PrefetchSourceLinesC * swath_wid… 1081 min_Lsw = dml_max(1, dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) / max_vratio_pre); 1348 *VRatioPrefetchC = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData; 1369 dml_print("DML::%s: PrefetchSourceLinesC = %f\n", __func__, PrefetchSourceLinesC); 1386 …*RequiredPrefetchPixDataBWChroma = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData… 2372 v->PrefetchSourceLinesC[k] = CalculatePrefetchSourceLines( 2389 v->PrefetchSourceLinesC[k] = 0; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.h | 944 double PrefetchSourceLinesC[DC__NUM_DPP__MAX]; member
|