Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c6139 long RoundedUpMaxSwathSizeBytesY = 0; in CalculateSwathAndDETConfiguration() local
6218 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] in CalculateSwathAndDETConfiguration()
6223 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256); in CalculateSwathAndDETConfiguration()
6235 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6239 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY; in CalculateSwathAndDETConfiguration()
6241 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6248 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6249 && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6253 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY; in CalculateSwathAndDETConfiguration()
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c6507 int RoundedUpMaxSwathSizeBytesY; local
6582 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] * MaximumSwathHeightY[k];
6585 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256);
6595 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6598 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
6600 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6606 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
6607 … && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6610 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c6606 int RoundedUpMaxSwathSizeBytesY; local
6681 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] * MaximumSwathHeightY[k];
6684 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256);
6694 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6697 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
6699 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6705 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
6706 … && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6709 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.h706 double RoundedUpMaxSwathSizeBytesY; member