Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
A Ddisplay_mode_vba_util_32.c463 unsigned int RoundedUpMaxSwathSizeBytesC[DC__NUM_DPP__MAX]; in dml32_CalculateSwathAndDETConfiguration() local
529 RoundedUpMaxSwathSizeBytesC[k]); in dml32_CalculateSwathAndDETConfiguration()
534 RoundedUpMaxSwathSizeBytesC[k] = dml_ceil((unsigned int) RoundedUpMaxSwathSizeBytesC[k], 256); in dml32_CalculateSwathAndDETConfiguration()
579 RoundedUpMaxSwathSizeBytesC, in dml32_CalculateSwathAndDETConfiguration()
610 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC[k]; in dml32_CalculateSwathAndDETConfiguration()
617 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC[k]; in dml32_CalculateSwathAndDETConfiguration()
624 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC[k] / 2; in dml32_CalculateSwathAndDETConfiguration()
668 k, RoundedUpMaxSwathSizeBytesC[k]); in dml32_CalculateSwathAndDETConfiguration()
922 unsigned int RoundedUpMaxSwathSizeBytesC[], in dml32_CalculateDETBufferSize() argument
990 RoundedUpMaxSwathSizeBytesC[k]); in dml32_CalculateDETBufferSize()
[all …]
A Ddisplay_mode_vba_util_32.h210 unsigned int RoundedUpMaxSwathSizeBytesC[],
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
A 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()
A 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/drivers/gpu/drm/amd/display/dc/dml/dcn21/
A 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/drivers/gpu/drm/amd/display/dc/dml2/
A Ddisplay_mode_core.c714 dml_uint_t RoundedUpMaxSwathSizeBytesC[],
4089 dml_uint_t RoundedUpMaxSwathSizeBytesC[__DML_NUM_PLANES__]; in CalculateSwathAndDETConfiguration() local
4163RoundedUpMaxSwathSizeBytesC[k] = (dml_uint_t)(dml_ceil((dml_float_t) RoundedUpMaxSwathSizeBytesC[k… in CalculateSwathAndDETConfiguration()
4196 RoundedUpMaxSwathSizeBytesC, in CalculateSwathAndDETConfiguration()
4224 RoundedUpSwathSizeBytesC[k] = RoundedUpMaxSwathSizeBytesC[k]; in CalculateSwathAndDETConfiguration()
4225 …wathSizeBytesY[k] >= 1.5 * RoundedUpMaxSwathSizeBytesC[k] && RoundedUpMaxSwathSizeBytesY[k] / 2 + in CalculateSwathAndDETConfiguration()
4229 RoundedUpSwathSizeBytesC[k] = RoundedUpMaxSwathSizeBytesC[k]; in CalculateSwathAndDETConfiguration()
4230 …axSwathSizeBytesY[k] < 1.5 * RoundedUpMaxSwathSizeBytesC[k] && RoundedUpMaxSwathSizeBytesY[k] + Ro… in CalculateSwathAndDETConfiguration()
4234 RoundedUpSwathSizeBytesC[k] = RoundedUpMaxSwathSizeBytesC[k] / 2; in CalculateSwathAndDETConfiguration()
4239 RoundedUpSwathSizeBytesC[k] = RoundedUpMaxSwathSizeBytesC[k] / 2; in CalculateSwathAndDETConfiguration()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
A Ddisplay_mode_vba_30.c6143 long RoundedUpMaxSwathSizeBytesC = 0; in CalculateSwathAndDETConfiguration() local
6229 RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] in CalculateSwathAndDETConfiguration()
6234 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256); in CalculateSwathAndDETConfiguration()
6238 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6243 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; in CalculateSwathAndDETConfiguration()
6244 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6245 && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
6250 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; in CalculateSwathAndDETConfiguration()
6251 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
A Ddisplay_mode_vba_31.c6659 int RoundedUpMaxSwathSizeBytesC; local
6743RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeightC[k…
6746 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256);
6750 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6754 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6755 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6756 … && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6760 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6761 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
A Ddisplay_mode_vba_314.c6753 int RoundedUpMaxSwathSizeBytesC; local
6833RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeightC[k…
6836 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256);
6840 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6844 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6845 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC
6846 … && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) {
6850 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC;
6851 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
/linux/drivers/gpu/drm/amd/display/dc/dml/
A Ddisplay_mode_vba.h719 double RoundedUpMaxSwathSizeBytesC; member

Completed in 127 milliseconds