/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 3375 locals->BytePerPixelInDETC[k] = 0.0; in dml20_ModeSupportAndSystemConfigurationFull() 3378 locals->BytePerPixelInDETC[k] = 0.0; in dml20_ModeSupportAndSystemConfigurationFull() 3382 locals->BytePerPixelInDETC[k] = 0.0; in dml20_ModeSupportAndSystemConfigurationFull() 3385 locals->BytePerPixelInDETC[k] = 0.0; in dml20_ModeSupportAndSystemConfigurationFull() 3388 locals->BytePerPixelInDETC[k] = 2.0; in dml20_ModeSupportAndSystemConfigurationFull() 3391 locals->BytePerPixelInDETC[k] = 8.0 / 3; in dml20_ModeSupportAndSystemConfigurationFull() 3402 locals->ReadBandwidthChroma[k] = locals->SwathWidthYSingleDPP[k] / 2 * dml_ceil(locals->BytePerPixelInDETC[k], 2.0) in dml20_ModeSupportAndSystemConfigurationFull() 3680 if (locals->BytePerPixelInDETC[k] == 0.0) { in dml20_ModeSupportAndSystemConfigurationFull() 3752 dml_ceil(locals->BytePerPixelInDETC[k], 2.0), in dml20_ModeSupportAndSystemConfigurationFull() 3822 + locals->BytePerPixelInDETC[ in dml20_ModeSupportAndSystemConfigurationFull() [all...] |
H A D | display_mode_vba_20v2.c | 3482 locals->BytePerPixelInDETC[k] = 0.0; in dml20v2_ModeSupportAndSystemConfigurationFull() 3485 locals->BytePerPixelInDETC[k] = 0.0; in dml20v2_ModeSupportAndSystemConfigurationFull() 3489 locals->BytePerPixelInDETC[k] = 0.0; in dml20v2_ModeSupportAndSystemConfigurationFull() 3492 locals->BytePerPixelInDETC[k] = 0.0; in dml20v2_ModeSupportAndSystemConfigurationFull() 3495 locals->BytePerPixelInDETC[k] = 2.0; in dml20v2_ModeSupportAndSystemConfigurationFull() 3498 locals->BytePerPixelInDETC[k] = 8.0 / 3; in dml20v2_ModeSupportAndSystemConfigurationFull() 3509 locals->ReadBandwidthChroma[k] = locals->SwathWidthYSingleDPP[k] / 2 * dml_ceil(locals->BytePerPixelInDETC[k], 2.0) in dml20v2_ModeSupportAndSystemConfigurationFull() 3787 if (locals->BytePerPixelInDETC[k] == 0.0) { in dml20v2_ModeSupportAndSystemConfigurationFull() 3859 dml_ceil(locals->BytePerPixelInDETC[k], 2.0), in dml20v2_ModeSupportAndSystemConfigurationFull() 3929 + locals->BytePerPixelInDETC[ in dml20v2_ModeSupportAndSystemConfigurationFull() [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 376 double BytePerPixelInDETC, 3489 locals->BytePerPixelInDETC[k], in CalculatePrefetchSchedulePerPlane() 3609 locals->BytePerPixelInDETC[k] = 0.0; in dml21_ModeSupportAndSystemConfigurationFull() 3612 locals->BytePerPixelInDETC[k] = 0.0; in dml21_ModeSupportAndSystemConfigurationFull() 3616 locals->BytePerPixelInDETC[k] = 0.0; in dml21_ModeSupportAndSystemConfigurationFull() 3619 locals->BytePerPixelInDETC[k] = 0.0; in dml21_ModeSupportAndSystemConfigurationFull() 3622 locals->BytePerPixelInDETC[k] = 2.0; in dml21_ModeSupportAndSystemConfigurationFull() 3625 locals->BytePerPixelInDETC[k] = 8.0 / 3; in dml21_ModeSupportAndSystemConfigurationFull() 3636 locals->ReadBandwidthChroma[k] = locals->SwathWidthYSingleDPP[k] / 2 * dml_ceil(locals->BytePerPixelInDETC[k], 2.0) in dml21_ModeSupportAndSystemConfigurationFull() 3876 if (locals->BytePerPixelInDETC[ in dml21_ModeSupportAndSystemConfigurationFull() 5622 CalculateUrgentBurstFactor(unsigned int DETBufferSizeInKByte,unsigned int SwathHeightY,unsigned int SwathHeightC,unsigned int SwathWidthY,double LineTime,double UrgentLatency,double CursorBufferSize,unsigned int CursorWidth,unsigned int CursorBPP,double VRatio,double VRatioPreY,double VRatioPreC,double BytePerPixelInDETY,double BytePerPixelInDETC,double * UrgentBurstFactorCursor,double * UrgentBurstFactorCursorPre,double * UrgentBurstFactorLuma,double * UrgentBurstFactorLumaPre,double * UrgentBurstFactorChroma,double * UrgentBurstFactorChromaPre,unsigned int * NotEnoughUrgentLatencyHiding,unsigned int * NotEnoughUrgentLatencyHidingPre) CalculateUrgentBurstFactor() argument [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 387 double BytePerPixelInDETC, 3615 &v->BytePerPixelInDETC[k], in dml30_ModeSupportAndSystemConfigurationFull() 3632 v->ReadBandwidthChroma[k] = v->SwathWidthYSingleDPP[k] / 2 * dml_ceil(v->BytePerPixelInDETC[k], 2.0) / (v->HTotal[k] / v->PixelClock[k]) * v->VRatio[k] / 2.0; in dml30_ModeSupportAndSystemConfigurationFull() 3831 v->BytePerPixelInDETC, in dml30_ModeSupportAndSystemConfigurationFull() 4296 v->BytePerPixelInDETC, in dml30_ModeSupportAndSystemConfigurationFull() 4509 v->BytePerPixelInDETC[k], in dml30_ModeSupportAndSystemConfigurationFull() 4853 v->BytePerPixelInDETC[k], in dml30_ModeSupportAndSystemConfigurationFull() 5050 v->BytePerPixelInDETC, in dml30_ModeSupportAndSystemConfigurationFull() 5474 double BytePerPixelInDETC, in CalculateUrgentBurstFactor() argument 5519 if (BytePerPixelInDETC > in CalculateUrgentBurstFactor() [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared_types.h | 436 double BytePerPixelInDETC[DML2_MAX_PLANES]; member 669 double BytePerPixelInDETC[DML2_MAX_PLANES]; member
|
H A D | dml2_core_dcn4_calcs.c | 3422 double BytePerPixelInDETC, in CalculateUrgentBurstFactor() argument 3460 if (BytePerPixelInDETC > 0) { in CalculateUrgentBurstFactor() 3461 LinesInDETChroma = (dml_is_phantom_pipe(plane_cfg) ? 1024 * 1024 : DETBufferSizeC) / BytePerPixelInDETC / swath_width_chroma_ub; in CalculateUrgentBurstFactor() 7608 mode_lib->ms.BytePerPixelInDETC[k], in dml_core_ms_prefetch_check() 7888 CalculateWatermarks_params->BytePerPixelDETC = mode_lib->ms.BytePerPixelInDETC; in dml_core_ms_prefetch_check() 8043 &mode_lib->ms.BytePerPixelInDETC[k], in dml_core_mode_support() 8076 DML_LOG_VERBOSE("DML::%s: k=%u, old_ReadBandwidthChroma = %f\n", __func__, k, mode_lib->ms.SwathWidthYSingleDPP[k] / 2 * math_ceil2(mode_lib->ms.BytePerPixelInDETC[k], 2.0) / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)) * display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio / 2.0); in dml_core_mode_support() 8320 CalculateSwathAndDETConfiguration_params->BytePerPixDETC = mode_lib->ms.BytePerPixelInDETC; in dml_core_mode_support() 9116 mode_lib->ms.BytePerPixelInDETC[k], in dml_core_mode_support() 10513 &mode_lib->mp.BytePerPixelInDETC[ in dml_core_mode_programming() 12030 double BytePerPixelInDETC; dml2_core_calcs_get_dpte_row_height() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 361 double BytePerPixelInDETC, 3945 &v->BytePerPixelInDETC[k], 3963 v->ReadBandwidthChroma[k] = v->SwathWidthYSingleDPP[k] / 2 * dml_ceil(v->BytePerPixelInDETC[k], 2.0) 4133 v->BytePerPixelInDETC, 4757 v->BytePerPixelInDETC, 5008 v->BytePerPixelInDETC[k], 5275 v->BytePerPixelInDETC[k], 5448 v->BytePerPixelInDETC, 5920 double BytePerPixelInDETC, argument 5965 if (BytePerPixelInDETC > [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 352 double BytePerPixelInDETC, 3854 &v->BytePerPixelInDETC[k], 3872 v->ReadBandwidthChroma[k] = v->SwathWidthYSingleDPP[k] / 2 * dml_ceil(v->BytePerPixelInDETC[k], 2.0) 4043 v->BytePerPixelInDETC, 4671 v->BytePerPixelInDETC, 4920 v->BytePerPixelInDETC[k], 5189 v->BytePerPixelInDETC[k], 5362 v->BytePerPixelInDETC, 5826 double BytePerPixelInDETC, argument 5871 if (BytePerPixelInDETC > [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_32.c | 1811 &mode_lib->vba.BytePerPixelInDETC[k], in dml32_ModeSupportAndSystemConfigurationFull() 1835 v->ReadBandwidthChroma[k] = v->SwathWidthYSingleDPP[k] / 2 * dml_ceil(v->BytePerPixelInDETC[k], 2.0) in dml32_ModeSupportAndSystemConfigurationFull() 1998 mode_lib->vba.BytePerPixelInDETC, in dml32_ModeSupportAndSystemConfigurationFull() 2598 mode_lib->vba.BytePerPixelInDETC, in dml32_ModeSupportAndSystemConfigurationFull() 2877 mode_lib->vba.BytePerPixelInDETC[k], in dml32_ModeSupportAndSystemConfigurationFull() 3218 mode_lib->vba.BytePerPixelInDETC, in dml32_ModeSupportAndSystemConfigurationFull() 3359 mode_lib->vba.BytePerPixelInDETC[k], in dml32_ModeSupportAndSystemConfigurationFull() 3601 v->BytePerPixelInDETC, in dml32_ModeSupportAndSystemConfigurationFull()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.h | 793 double BytePerPixelInDETC[DC__NUM_DPP__MAX]; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core_structs.h | 921 dml_float_t BytePerPixelInDETC[__DML_NUM_PLANES__]; member
|