Home
last modified time | relevance | path

Searched refs:RoundedUpMaxSwathSizeBytesY (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c462 unsigned int RoundedUpMaxSwathSizeBytesY[DC__NUM_DPP__MAX]; in dml32_CalculateSwathAndDETConfiguration() local
516RoundedUpMaxSwathSizeBytesY[k] = swath_width_luma_ub[k] * BytePerPixDETY[k] * MaximumSwathHeightY[… in dml32_CalculateSwathAndDETConfiguration()
524 RoundedUpMaxSwathSizeBytesY[k]); in dml32_CalculateSwathAndDETConfiguration()
533 RoundedUpMaxSwathSizeBytesY[k] = dml_ceil((unsigned int) RoundedUpMaxSwathSizeBytesY[k], 256); in dml32_CalculateSwathAndDETConfiguration()
552 …t) ROBSizeKBytes - (int) *CompBufReservedSpaceKBytes) > (int) (RoundedUpMaxSwathSizeBytesY[0]/512); in dml32_CalculateSwathAndDETConfiguration()
555 *CompBufReservedSpaceKBytes = ROBSizeKBytes - RoundedUpMaxSwathSizeBytesY[0]/512; in dml32_CalculateSwathAndDETConfiguration()
578 RoundedUpMaxSwathSizeBytesY, in dml32_CalculateSwathAndDETConfiguration()
605 if (RoundedUpMaxSwathSizeBytesY[k] + RoundedUpMaxSwathSizeBytesC[k] <= in dml32_CalculateSwathAndDETConfiguration()
609 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY[k]; in dml32_CalculateSwathAndDETConfiguration()
611 } else if (RoundedUpMaxSwathSizeBytesY[k] >= 1.5 * RoundedUpMaxSwathSizeBytesC[k] && in dml32_CalculateSwathAndDETConfiguration()
[all …]
Ddisplay_mode_vba_util_32.h209 unsigned int RoundedUpMaxSwathSizeBytesY[],
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c2729 double RoundedUpMaxSwathSizeBytesY; in dml20_DisplayPipeConfiguration() local
2874 RoundedUpMaxSwathSizeBytesY = (dml_ceil( in dml20_DisplayPipeConfiguration()
2879 RoundedUpMaxSwathSizeBytesY = dml_ceil(RoundedUpMaxSwathSizeBytesY, 256) in dml20_DisplayPipeConfiguration()
2897 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in dml20_DisplayPipeConfiguration()
4308 …locals->RoundedUpMaxSwathSizeBytesY = (dml_ceil(locals->SwathWidthYPerState[i][j][k] - 1, locals->… in dml20_ModeSupportAndSystemConfigurationFull()
4311 locals->RoundedUpMaxSwathSizeBytesY = dml_ceil(locals->RoundedUpMaxSwathSizeBytesY, 256) + 256; in dml20_ModeSupportAndSystemConfigurationFull()
4325 …if (locals->RoundedUpMaxSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBuffer… in dml20_ModeSupportAndSystemConfigurationFull()
Ddisplay_mode_vba_20v2.c2802 double RoundedUpMaxSwathSizeBytesY; in dml20v2_DisplayPipeConfiguration() local
2947 RoundedUpMaxSwathSizeBytesY = (dml_ceil( in dml20v2_DisplayPipeConfiguration()
2952 RoundedUpMaxSwathSizeBytesY = dml_ceil(RoundedUpMaxSwathSizeBytesY, 256) in dml20v2_DisplayPipeConfiguration()
2970 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in dml20v2_DisplayPipeConfiguration()
4429 …locals->RoundedUpMaxSwathSizeBytesY = (dml_ceil(locals->SwathWidthYPerState[i][j][k] - 1, locals->… in dml20v2_ModeSupportAndSystemConfigurationFull()
4432 locals->RoundedUpMaxSwathSizeBytesY = dml_ceil(locals->RoundedUpMaxSwathSizeBytesY, 256) + 256; in dml20v2_ModeSupportAndSystemConfigurationFull()
4446 …if (locals->RoundedUpMaxSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBuffer… in dml20v2_ModeSupportAndSystemConfigurationFull()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c6142 long RoundedUpMaxSwathSizeBytesY = 0; in CalculateSwathAndDETConfiguration() local
6221 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] in CalculateSwathAndDETConfiguration()
6226 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256); in CalculateSwathAndDETConfiguration()
6238 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6242 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY; in CalculateSwathAndDETConfiguration()
6244 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6251 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6252 && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6256 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY; in CalculateSwathAndDETConfiguration()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c4088 dml_uint_t RoundedUpMaxSwathSizeBytesY[__DML_NUM_PLANES__]; in CalculateSwathAndDETConfiguration() local
4148RoundedUpMaxSwathSizeBytesY[k] = (dml_uint_t)(p->swath_width_luma_ub[k] * p->BytePerPixDETY[k] * M… in CalculateSwathAndDETConfiguration()
4155 …t("DML::%s: k=%u RoundedUpMaxSwathSizeBytesY = %u\n", __func__, k, RoundedUpMaxSwathSizeBytesY[k]); in CalculateSwathAndDETConfiguration()
4162RoundedUpMaxSwathSizeBytesY[k] = (dml_uint_t)(dml_ceil((dml_float_t) RoundedUpMaxSwathSizeBytesY[k… in CalculateSwathAndDETConfiguration()
4195 RoundedUpMaxSwathSizeBytesY, in CalculateSwathAndDETConfiguration()
4220 …if (RoundedUpMaxSwathSizeBytesY[k] + RoundedUpMaxSwathSizeBytesC[k] <= DETBufferSizeInKByteForSwat… in CalculateSwathAndDETConfiguration()
4223 RoundedUpSwathSizeBytesY[k] = RoundedUpMaxSwathSizeBytesY[k]; in CalculateSwathAndDETConfiguration()
4225 …} else if (RoundedUpMaxSwathSizeBytesY[k] >= 1.5 * RoundedUpMaxSwathSizeBytesC[k] && RoundedUpMaxS… in CalculateSwathAndDETConfiguration()
4228 RoundedUpSwathSizeBytesY[k] = RoundedUpMaxSwathSizeBytesY[k] / 2; in CalculateSwathAndDETConfiguration()
4230 …} else if (RoundedUpMaxSwathSizeBytesY[k] < 1.5 * RoundedUpMaxSwathSizeBytesC[k] && RoundedUpMaxSw… in CalculateSwathAndDETConfiguration()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c2827 double RoundedUpMaxSwathSizeBytesY; in DisplayPipeConfiguration() local
2969 RoundedUpMaxSwathSizeBytesY = (dml_ceil( in DisplayPipeConfiguration()
2974 RoundedUpMaxSwathSizeBytesY = dml_ceil(RoundedUpMaxSwathSizeBytesY, 256) in DisplayPipeConfiguration()
2992 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in DisplayPipeConfiguration()
4548 mode_lib->vba.RoundedUpMaxSwathSizeBytesY = in dml21_ModeSupportAndSystemConfigurationFull()
4552 mode_lib->vba.RoundedUpMaxSwathSizeBytesY = dml_ceil( in dml21_ModeSupportAndSystemConfigurationFull()
4553 mode_lib->vba.RoundedUpMaxSwathSizeBytesY, in dml21_ModeSupportAndSystemConfigurationFull()
4566 if (mode_lib->vba.RoundedUpMaxSwathSizeBytesY + mode_lib->vba.RoundedUpMaxSwathSizeBytesC in dml21_ModeSupportAndSystemConfigurationFull()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c6658 int RoundedUpMaxSwathSizeBytesY; local
6737 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] * MaximumSwathHeightY[k];
6740 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256);
6750 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6753 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
6755 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6761 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
6762 … && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6765 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c6752 int RoundedUpMaxSwathSizeBytesY; local
6827 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] * MaximumSwathHeightY[k];
6830 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256);
6840 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6843 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
6845 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6851 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
6852 … && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6855 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.h717 double RoundedUpMaxSwathSizeBytesY; member