Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c463 unsigned int RoundedUpMaxSwathSizeBytesC[DC__NUM_DPP__MAX]; in dml32_CalculateSwathAndDETConfiguration() local
517RoundedUpMaxSwathSizeBytesC[k] = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeight… in dml32_CalculateSwathAndDETConfiguration()
529 RoundedUpMaxSwathSizeBytesC[k]); in dml32_CalculateSwathAndDETConfiguration()
534 RoundedUpMaxSwathSizeBytesC[k] = dml_ceil((unsigned int) RoundedUpMaxSwathSizeBytesC[k], 256); in dml32_CalculateSwathAndDETConfiguration()
579 RoundedUpMaxSwathSizeBytesC, in dml32_CalculateSwathAndDETConfiguration()
605 if (RoundedUpMaxSwathSizeBytesY[k] + RoundedUpMaxSwathSizeBytesC[k] <= in dml32_CalculateSwathAndDETConfiguration()
610 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC[k]; in dml32_CalculateSwathAndDETConfiguration()
611 } else if (RoundedUpMaxSwathSizeBytesY[k] >= 1.5 * RoundedUpMaxSwathSizeBytesC[k] && in dml32_CalculateSwathAndDETConfiguration()
612 RoundedUpMaxSwathSizeBytesY[k] / 2 + RoundedUpMaxSwathSizeBytesC[k] <= in dml32_CalculateSwathAndDETConfiguration()
617 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC[k]; in dml32_CalculateSwathAndDETConfiguration()
[all …]
Ddisplay_mode_vba_util_32.h210 unsigned int RoundedUpMaxSwathSizeBytesC[],
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c2730 double RoundedUpMaxSwathSizeBytesC; in dml20_DisplayPipeConfiguration() local
2885 RoundedUpMaxSwathSizeBytesC = (dml_ceil( in dml20_DisplayPipeConfiguration()
2890 RoundedUpMaxSwathSizeBytesC = dml_ceil( in dml20_DisplayPipeConfiguration()
2891 RoundedUpMaxSwathSizeBytesC, in dml20_DisplayPipeConfiguration()
2895 RoundedUpMaxSwathSizeBytesC = 0.0; in dml20_DisplayPipeConfiguration()
2897 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in dml20_DisplayPipeConfiguration()
4316 …locals->RoundedUpMaxSwathSizeBytesC = (dml_ceil(locals->SwathWidthYPerState[i][j][k] / 2 - 1, loca… in dml20_ModeSupportAndSystemConfigurationFull()
4320 … locals->RoundedUpMaxSwathSizeBytesC = dml_ceil(locals->RoundedUpMaxSwathSizeBytesC, 256) + 256; in dml20_ModeSupportAndSystemConfigurationFull()
4322 locals->RoundedUpMaxSwathSizeBytesC = 0; in dml20_ModeSupportAndSystemConfigurationFull()
4325 …if (locals->RoundedUpMaxSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBuffer… in dml20_ModeSupportAndSystemConfigurationFull()
Ddisplay_mode_vba_20v2.c2803 double RoundedUpMaxSwathSizeBytesC; in dml20v2_DisplayPipeConfiguration() local
2958 RoundedUpMaxSwathSizeBytesC = (dml_ceil( in dml20v2_DisplayPipeConfiguration()
2963 RoundedUpMaxSwathSizeBytesC = dml_ceil( in dml20v2_DisplayPipeConfiguration()
2964 RoundedUpMaxSwathSizeBytesC, in dml20v2_DisplayPipeConfiguration()
2968 RoundedUpMaxSwathSizeBytesC = 0.0; in dml20v2_DisplayPipeConfiguration()
2970 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in dml20v2_DisplayPipeConfiguration()
4437 …locals->RoundedUpMaxSwathSizeBytesC = (dml_ceil(locals->SwathWidthYPerState[i][j][k] / 2 - 1, loca… in dml20v2_ModeSupportAndSystemConfigurationFull()
4441 … locals->RoundedUpMaxSwathSizeBytesC = dml_ceil(locals->RoundedUpMaxSwathSizeBytesC, 256) + 256; in dml20v2_ModeSupportAndSystemConfigurationFull()
4443 locals->RoundedUpMaxSwathSizeBytesC = 0; in dml20v2_ModeSupportAndSystemConfigurationFull()
4446 …if (locals->RoundedUpMaxSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBuffer… in dml20v2_ModeSupportAndSystemConfigurationFull()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c2828 double RoundedUpMaxSwathSizeBytesC; in DisplayPipeConfiguration() local
2980 RoundedUpMaxSwathSizeBytesC = (dml_ceil( in DisplayPipeConfiguration()
2985 RoundedUpMaxSwathSizeBytesC = dml_ceil( in DisplayPipeConfiguration()
2986 RoundedUpMaxSwathSizeBytesC, in DisplayPipeConfiguration()
2990 RoundedUpMaxSwathSizeBytesC = 0.0; in DisplayPipeConfiguration()
2992 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in DisplayPipeConfiguration()
4558 …mode_lib->vba.RoundedUpMaxSwathSizeBytesC = (dml_ceil(locals->SwathWidthYThisState[k] / 2.0 - 1.0,… in dml21_ModeSupportAndSystemConfigurationFull()
4561 …mode_lib->vba.RoundedUpMaxSwathSizeBytesC = dml_ceil(mode_lib->vba.RoundedUpMaxSwathSizeBytesC, 25… in dml21_ModeSupportAndSystemConfigurationFull()
4564 mode_lib->vba.RoundedUpMaxSwathSizeBytesC = 0.0; in dml21_ModeSupportAndSystemConfigurationFull()
4566 if (mode_lib->vba.RoundedUpMaxSwathSizeBytesY + mode_lib->vba.RoundedUpMaxSwathSizeBytesC in dml21_ModeSupportAndSystemConfigurationFull()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c6139 long RoundedUpMaxSwathSizeBytesC = 0; in CalculateSwathAndDETConfiguration() local
6225 RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] in CalculateSwathAndDETConfiguration()
6230 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256); in CalculateSwathAndDETConfiguration()
6234 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6239 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; in CalculateSwathAndDETConfiguration()
6240 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6241 && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6246 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; in CalculateSwathAndDETConfiguration()
6247 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c6669 int RoundedUpMaxSwathSizeBytesC; local
6753RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeightC[k…
6756 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256);
6760 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6764 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6765 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6766 … && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6770 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6771 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c6764 int RoundedUpMaxSwathSizeBytesC; local
6844RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeightC[k…
6847 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256);
6851 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6855 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6856 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6857 … && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6861 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6862 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.h719 double RoundedUpMaxSwathSizeBytesC; member