Home
last modified time | relevance | path

Searched refs:RoundedUpMaxSwathSizeBytesC (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.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.1.9/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.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c6140 long RoundedUpMaxSwathSizeBytesC = 0; in CalculateSwathAndDETConfiguration() local
6226 RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] in CalculateSwathAndDETConfiguration()
6231 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256); in CalculateSwathAndDETConfiguration()
6235 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6240 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; in CalculateSwathAndDETConfiguration()
6241 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6242 && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6247 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; in CalculateSwathAndDETConfiguration()
6248 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c6508 int RoundedUpMaxSwathSizeBytesC; local
6588RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeightC[k…
6591 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256);
6595 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6599 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6600 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6601 … && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6605 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6606 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c6607 int RoundedUpMaxSwathSizeBytesC; local
6687RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeightC[k…
6690 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256);
6694 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6698 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6699 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6700 … && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6704 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6705 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.h708 double RoundedUpMaxSwathSizeBytesC; member