Searched refs:RoundedUpMaxSwathSizeBytesC (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 463 unsigned int RoundedUpMaxSwathSizeBytesC[DC__NUM_DPP__MAX]; in dml32_CalculateSwathAndDETConfiguration() local 517 …RoundedUpMaxSwathSizeBytesC[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 …]
|
D | display_mode_vba_util_32.h | 210 unsigned int RoundedUpMaxSwathSizeBytesC[],
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 2730 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()
|
D | display_mode_vba_20v2.c | 2803 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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 2828 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.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 714 dml_uint_t RoundedUpMaxSwathSizeBytesC[], 4089 dml_uint_t RoundedUpMaxSwathSizeBytesC[__DML_NUM_PLANES__]; in CalculateSwathAndDETConfiguration() local 4149 …RoundedUpMaxSwathSizeBytesC[k] = (dml_uint_t)(p->swath_width_chroma_ub[k] * p->BytePerPixDETC[k] *… in CalculateSwathAndDETConfiguration() 4159 …t("DML::%s: k=%u RoundedUpMaxSwathSizeBytesC = %u\n", __func__, k, RoundedUpMaxSwathSizeBytesC[k]); in CalculateSwathAndDETConfiguration() 4163 …RoundedUpMaxSwathSizeBytesC[k] = (dml_uint_t)(dml_ceil((dml_float_t) RoundedUpMaxSwathSizeBytesC[k… in CalculateSwathAndDETConfiguration() 4196 RoundedUpMaxSwathSizeBytesC, in CalculateSwathAndDETConfiguration() 4220 …if (RoundedUpMaxSwathSizeBytesY[k] + RoundedUpMaxSwathSizeBytesC[k] <= DETBufferSizeInKByteForSwat… 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() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 6143 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-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 6659 int RoundedUpMaxSwathSizeBytesC; local 6743 …RoundedUpMaxSwathSizeBytesC = 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-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 6753 int RoundedUpMaxSwathSizeBytesC; local 6833 …RoundedUpMaxSwathSizeBytesC = 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-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.h | 719 double RoundedUpMaxSwathSizeBytesC; member
|