Home
last modified time | relevance | path

Searched refs:minDET_pipe (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c937 unsigned int minDET_pipe; in dml32_CalculateDETBufferSize() local
973 minDET_pipe = 0; in dml32_CalculateDETBufferSize()
976 while (minDET <= max_minDET && minDET_pipe == 0) { in dml32_CalculateDETBufferSize()
979 minDET_pipe = minDET; in dml32_CalculateDETBufferSize()
986 dml_print("DML::%s: k=%0d minDET_pipe = %d\n", __func__, k, minDET_pipe); in dml32_CalculateDETBufferSize()
993 if (minDET_pipe == 0) { in dml32_CalculateDETBufferSize()
994 minDET_pipe = dml_max(128, dml_ceil(((double)RoundedUpMaxSwathSizeBytesY[k] + in dml32_CalculateDETBufferSize()
998 __func__, k, minDET_pipe); in dml32_CalculateDETBufferSize()
1008 } else if ((ForceSingleDPP ? 1 : DPPPerSurface[k]) * minDET_pipe <= DETBufferSizePoolInKByte) { in dml32_CalculateDETBufferSize()
1009 DETBufferSizeInKByte[k] = minDET_pipe; in dml32_CalculateDETBufferSize()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared_types.h1330 unsigned int minDET_pipe; member
Ddml2_core_shared.c3704 unsigned int minDET_pipe; in CalculateDETBufferSize() local
3741 minDET_pipe = 0; in CalculateDETBufferSize()
3744 while (minDET <= max_minDET && minDET_pipe == 0) { in CalculateDETBufferSize()
3746 minDET_pipe = minDET; in CalculateDETBufferSize()
3753 dml2_printf("DML::%s: k=%u minDET_pipe = %u\n", __func__, k, minDET_pipe); in CalculateDETBufferSize()
3758 if (minDET_pipe == 0) { in CalculateDETBufferSize()
3759minDET_pipe = (unsigned int)(math_max2(128, math_ceil2(((double)p->full_swath_bytes_l[k] + (double… in CalculateDETBufferSize()
3761 …tf("DML::%s: k=%u minDET_pipe = %u (assume each plane take half DET)\n", __func__, k, minDET_pipe); in CalculateDETBufferSize()
3770 …} else if ((p->ForceSingleDPP ? 1 : p->DPPPerSurface[k]) * minDET_pipe <= DETBufferSizePoolInKByte… in CalculateDETBufferSize()
3771 p->DETBufferSizeInKByte[k] = minDET_pipe; in CalculateDETBufferSize()
[all …]
Ddml2_core_dcn4_calcs.c1063 l->minDET_pipe = 0; in CalculateDETBufferSize()
1066 while (l->minDET <= l->max_minDET && l->minDET_pipe == 0) { in CalculateDETBufferSize()
1068 l->minDET_pipe = l->minDET; in CalculateDETBufferSize()
1075 dml2_printf("DML::%s: k=%u minDET_pipe = %u\n", __func__, k, l->minDET_pipe); in CalculateDETBufferSize()
1080 if (l->minDET_pipe == 0) { in CalculateDETBufferSize()
1081 …l->minDET_pipe = (unsigned int)(math_max2(128, math_ceil2(((double)full_swath_bytes_l[k] + (double… in CalculateDETBufferSize()
1083 …"DML::%s: k=%u minDET_pipe = %u (assume each plane take half DET)\n", __func__, k, l->minDET_pipe); in CalculateDETBufferSize()
1092 …} else if ((ForceSingleDPP ? 1 : DPPPerSurface[k]) * l->minDET_pipe <= l->DETBufferSizePoolInKByte… in CalculateDETBufferSize()
1093 DETBufferSizeInKByte[k] = l->minDET_pipe; in CalculateDETBufferSize()
1094 …olInKByte = l->DETBufferSizePoolInKByte - (ForceSingleDPP ? 1 : DPPPerSurface[k]) * l->minDET_pipe; in CalculateDETBufferSize()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c4839 dml_uint_t minDET_pipe; in CalculateDETBufferSize() local
4870 minDET_pipe = 0; in CalculateDETBufferSize()
4873 while (minDET <= max_minDET && minDET_pipe == 0) { in CalculateDETBufferSize()
4875 minDET_pipe = minDET; in CalculateDETBufferSize()
4882 dml_print("DML::%s: k=%u minDET_pipe = %u\n", __func__, k, minDET_pipe); in CalculateDETBufferSize()
4887 if (minDET_pipe == 0) { in CalculateDETBufferSize()
4888minDET_pipe = (dml_uint_t)(dml_max(128, dml_ceil(((dml_float_t)RoundedUpMaxSwathSizeBytesY[k] + (d… in CalculateDETBufferSize()
4890 …nt("DML::%s: k=%u minDET_pipe = %u (assume each plane take half DET)\n", __func__, k, minDET_pipe); in CalculateDETBufferSize()
4899 } else if ((ForceSingleDPP ? 1 : DPPPerSurface[k]) * minDET_pipe <= DETBufferSizePoolInKByte) { in CalculateDETBufferSize()
4900 DETBufferSizeInKByte[k] = minDET_pipe; in CalculateDETBufferSize()
[all …]