Searched refs:RoundedUpMaxSwathSizeBytesC (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A 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 …]
|
| H A D | display_mode_vba_util_32.h | 210 unsigned int RoundedUpMaxSwathSizeBytesC[],
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| H A D | display_mode_vba_20.c | 2727 double RoundedUpMaxSwathSizeBytesC; in dml20_DisplayPipeConfiguration() local 2882 RoundedUpMaxSwathSizeBytesC = (dml_ceil( in dml20_DisplayPipeConfiguration() 2887 RoundedUpMaxSwathSizeBytesC = dml_ceil( in dml20_DisplayPipeConfiguration() 2888 RoundedUpMaxSwathSizeBytesC, in dml20_DisplayPipeConfiguration() 2892 RoundedUpMaxSwathSizeBytesC = 0.0; in dml20_DisplayPipeConfiguration() 2894 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in dml20_DisplayPipeConfiguration() 4313 …locals->RoundedUpMaxSwathSizeBytesC = (dml_ceil(locals->SwathWidthYPerState[i][j][k] / 2 - 1, loca… in dml20_ModeSupportAndSystemConfigurationFull() 4317 … locals->RoundedUpMaxSwathSizeBytesC = dml_ceil(locals->RoundedUpMaxSwathSizeBytesC, 256) + 256; in dml20_ModeSupportAndSystemConfigurationFull() 4319 locals->RoundedUpMaxSwathSizeBytesC = 0; in dml20_ModeSupportAndSystemConfigurationFull() 4322 …if (locals->RoundedUpMaxSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBuffer… in dml20_ModeSupportAndSystemConfigurationFull()
|
| H A D | display_mode_vba_20v2.c | 2800 double RoundedUpMaxSwathSizeBytesC; in dml20v2_DisplayPipeConfiguration() local 2955 RoundedUpMaxSwathSizeBytesC = (dml_ceil( in dml20v2_DisplayPipeConfiguration() 2960 RoundedUpMaxSwathSizeBytesC = dml_ceil( in dml20v2_DisplayPipeConfiguration() 2961 RoundedUpMaxSwathSizeBytesC, in dml20v2_DisplayPipeConfiguration() 2965 RoundedUpMaxSwathSizeBytesC = 0.0; in dml20v2_DisplayPipeConfiguration() 2967 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in dml20v2_DisplayPipeConfiguration() 4434 …locals->RoundedUpMaxSwathSizeBytesC = (dml_ceil(locals->SwathWidthYPerState[i][j][k] / 2 - 1, loca… in dml20v2_ModeSupportAndSystemConfigurationFull() 4438 … locals->RoundedUpMaxSwathSizeBytesC = dml_ceil(locals->RoundedUpMaxSwathSizeBytesC, 256) + 256; in dml20v2_ModeSupportAndSystemConfigurationFull() 4440 locals->RoundedUpMaxSwathSizeBytesC = 0; in dml20v2_ModeSupportAndSystemConfigurationFull() 4443 …if (locals->RoundedUpMaxSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBuffer… in dml20v2_ModeSupportAndSystemConfigurationFull()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
| H A D | display_mode_vba_21.c | 2825 double RoundedUpMaxSwathSizeBytesC; in DisplayPipeConfiguration() local 2977 RoundedUpMaxSwathSizeBytesC = (dml_ceil( in DisplayPipeConfiguration() 2982 RoundedUpMaxSwathSizeBytesC = dml_ceil( in DisplayPipeConfiguration() 2983 RoundedUpMaxSwathSizeBytesC, in DisplayPipeConfiguration() 2987 RoundedUpMaxSwathSizeBytesC = 0.0; in DisplayPipeConfiguration() 2989 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in DisplayPipeConfiguration() 4555 …mode_lib->vba.RoundedUpMaxSwathSizeBytesC = (dml_ceil(locals->SwathWidthYThisState[k] / 2.0 - 1.0,… in dml21_ModeSupportAndSystemConfigurationFull() 4558 …mode_lib->vba.RoundedUpMaxSwathSizeBytesC = dml_ceil(mode_lib->vba.RoundedUpMaxSwathSizeBytesC, 25… in dml21_ModeSupportAndSystemConfigurationFull() 4561 mode_lib->vba.RoundedUpMaxSwathSizeBytesC = 0.0; in dml21_ModeSupportAndSystemConfigurationFull() 4563 if (mode_lib->vba.RoundedUpMaxSwathSizeBytesY + mode_lib->vba.RoundedUpMaxSwathSizeBytesC in dml21_ModeSupportAndSystemConfigurationFull()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | display_mode_core.c | 715 dml_uint_t RoundedUpMaxSwathSizeBytesC[], 4091 dml_uint_t RoundedUpMaxSwathSizeBytesC[__DML_NUM_PLANES__]; in CalculateSwathAndDETConfiguration() local 4151 …RoundedUpMaxSwathSizeBytesC[k] = (dml_uint_t)(p->swath_width_chroma_ub[k] * p->BytePerPixDETC[k] *… in CalculateSwathAndDETConfiguration() 4161 …t("DML::%s: k=%u RoundedUpMaxSwathSizeBytesC = %u\n", __func__, k, RoundedUpMaxSwathSizeBytesC[k]); in CalculateSwathAndDETConfiguration() 4165 …RoundedUpMaxSwathSizeBytesC[k] = (dml_uint_t)(dml_ceil((dml_float_t) RoundedUpMaxSwathSizeBytesC[k… in CalculateSwathAndDETConfiguration() 4198 RoundedUpMaxSwathSizeBytesC, in CalculateSwathAndDETConfiguration() 4222 …if (RoundedUpMaxSwathSizeBytesY[k] + RoundedUpMaxSwathSizeBytesC[k] <= DETBufferSizeInKByteForSwat… in CalculateSwathAndDETConfiguration() 4226 RoundedUpSwathSizeBytesC[k] = RoundedUpMaxSwathSizeBytesC[k]; in CalculateSwathAndDETConfiguration() 4227 …wathSizeBytesY[k] >= 1.5 * RoundedUpMaxSwathSizeBytesC[k] && RoundedUpMaxSwathSizeBytesY[k] / 2 + … in CalculateSwathAndDETConfiguration() 4231 RoundedUpSwathSizeBytesC[k] = RoundedUpMaxSwathSizeBytesC[k]; in CalculateSwathAndDETConfiguration() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| H A D | display_mode_vba_30.c | 5865 long RoundedUpMaxSwathSizeBytesC = 0; in CalculateSwathAndDETConfiguration() local 5951 RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] in CalculateSwathAndDETConfiguration() 5956 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256); in CalculateSwathAndDETConfiguration() 5960 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration() 5965 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; in CalculateSwathAndDETConfiguration() 5966 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration() 5967 && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration() 5972 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; in CalculateSwathAndDETConfiguration() 5973 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
| H A D | display_mode_vba_314.c | 6751 int RoundedUpMaxSwathSizeBytesC; local 6831 …RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeightC[k… 6834 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256); 6838 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { 6842 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; 6843 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC 6844 … && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { 6848 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; 6849 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
| H A D | display_mode_vba_31.c | 6657 int RoundedUpMaxSwathSizeBytesC; local 6741 …RoundedUpMaxSwathSizeBytesC = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeightC[k… 6744 RoundedUpMaxSwathSizeBytesC = dml_ceil(RoundedUpMaxSwathSizeBytesC, 256); 6748 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { 6752 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; 6753 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC 6754 … && RoundedUpMinSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { 6758 RoundedUpSwathSizeBytesC = RoundedUpMaxSwathSizeBytesC; 6759 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | display_mode_vba.h | 719 double RoundedUpMaxSwathSizeBytesC; member
|