Searched refs:RoundedUpMaxSwathSizeBytesY (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 462 unsigned int RoundedUpMaxSwathSizeBytesY[DC__NUM_DPP__MAX]; in dml32_CalculateSwathAndDETConfiguration() local 524 RoundedUpMaxSwathSizeBytesY[k]); in dml32_CalculateSwathAndDETConfiguration() 533 RoundedUpMaxSwathSizeBytesY[k] = dml_ceil((unsigned int) RoundedUpMaxSwathSizeBytesY[k], 256); in dml32_CalculateSwathAndDETConfiguration() 578 RoundedUpMaxSwathSizeBytesY, in dml32_CalculateSwathAndDETConfiguration() 609 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY[k]; in dml32_CalculateSwathAndDETConfiguration() 623 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY[k]; in dml32_CalculateSwathAndDETConfiguration() 666 k, RoundedUpMaxSwathSizeBytesY[k]); in dml32_CalculateSwathAndDETConfiguration() 921 unsigned int RoundedUpMaxSwathSizeBytesY[], in dml32_CalculateDETBufferSize() argument 958 ((double) RoundedUpMaxSwathSizeBytesY[0] + in dml32_CalculateDETBufferSize() 977 if (2.0 * ((double) RoundedUpMaxSwathSizeBytesY[k] + in dml32_CalculateDETBufferSize() [all …]
|
H A D | display_mode_vba_util_32.h | 209 unsigned int RoundedUpMaxSwathSizeBytesY[],
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 2729 double RoundedUpMaxSwathSizeBytesY; in dml20_DisplayPipeConfiguration() local 2874 RoundedUpMaxSwathSizeBytesY = (dml_ceil( in dml20_DisplayPipeConfiguration() 2879 RoundedUpMaxSwathSizeBytesY = dml_ceil(RoundedUpMaxSwathSizeBytesY, 256) in dml20_DisplayPipeConfiguration() 2897 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in dml20_DisplayPipeConfiguration() 4308 …locals->RoundedUpMaxSwathSizeBytesY = (dml_ceil(locals->SwathWidthYPerState[i][j][k] - 1, locals->… in dml20_ModeSupportAndSystemConfigurationFull() 4311 locals->RoundedUpMaxSwathSizeBytesY = dml_ceil(locals->RoundedUpMaxSwathSizeBytesY, 256) + 256; in dml20_ModeSupportAndSystemConfigurationFull() 4325 …if (locals->RoundedUpMaxSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBuffer… in dml20_ModeSupportAndSystemConfigurationFull()
|
H A D | display_mode_vba_20v2.c | 2802 double RoundedUpMaxSwathSizeBytesY; in dml20v2_DisplayPipeConfiguration() local 2947 RoundedUpMaxSwathSizeBytesY = (dml_ceil( in dml20v2_DisplayPipeConfiguration() 2952 RoundedUpMaxSwathSizeBytesY = dml_ceil(RoundedUpMaxSwathSizeBytesY, 256) in dml20v2_DisplayPipeConfiguration() 2970 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in dml20v2_DisplayPipeConfiguration() 4429 …locals->RoundedUpMaxSwathSizeBytesY = (dml_ceil(locals->SwathWidthYPerState[i][j][k] - 1, locals->… in dml20v2_ModeSupportAndSystemConfigurationFull() 4432 locals->RoundedUpMaxSwathSizeBytesY = dml_ceil(locals->RoundedUpMaxSwathSizeBytesY, 256) + 256; in dml20v2_ModeSupportAndSystemConfigurationFull() 4446 …if (locals->RoundedUpMaxSwathSizeBytesY + locals->RoundedUpMaxSwathSizeBytesC <= locals->DETBuffer… in dml20v2_ModeSupportAndSystemConfigurationFull()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 6138 long RoundedUpMaxSwathSizeBytesY = 0; in CalculateSwathAndDETConfiguration() local 6217 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] in CalculateSwathAndDETConfiguration() 6222 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256); in CalculateSwathAndDETConfiguration() 6234 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration() 6238 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY; in CalculateSwathAndDETConfiguration() 6240 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration() 6247 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC in CalculateSwathAndDETConfiguration() 6248 && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC in CalculateSwathAndDETConfiguration() 6252 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY; in CalculateSwathAndDETConfiguration()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 2827 double RoundedUpMaxSwathSizeBytesY; in DisplayPipeConfiguration() local 2969 RoundedUpMaxSwathSizeBytesY = (dml_ceil( in DisplayPipeConfiguration() 2974 RoundedUpMaxSwathSizeBytesY = dml_ceil(RoundedUpMaxSwathSizeBytesY, 256) in DisplayPipeConfiguration() 2992 if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC in DisplayPipeConfiguration() 4548 mode_lib->vba.RoundedUpMaxSwathSizeBytesY = in dml21_ModeSupportAndSystemConfigurationFull() 4552 mode_lib->vba.RoundedUpMaxSwathSizeBytesY = dml_ceil( in dml21_ModeSupportAndSystemConfigurationFull() 4553 mode_lib->vba.RoundedUpMaxSwathSizeBytesY, in dml21_ModeSupportAndSystemConfigurationFull() 4566 if (mode_lib->vba.RoundedUpMaxSwathSizeBytesY + mode_lib->vba.RoundedUpMaxSwathSizeBytesC in dml21_ModeSupportAndSystemConfigurationFull()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 6668 int RoundedUpMaxSwathSizeBytesY; local 6747 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] * MaximumSwathHeightY[k]; 6750 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256); 6760 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { 6763 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY; 6765 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC 6771 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC 6772 … && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { 6775 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 6763 int RoundedUpMaxSwathSizeBytesY; local 6838 RoundedUpMaxSwathSizeBytesY = swath_width_luma_ub[k] * BytePerPixDETY[k] * MaximumSwathHeightY[k]; 6841 RoundedUpMaxSwathSizeBytesY = dml_ceil((double) RoundedUpMaxSwathSizeBytesY, 256); 6851 …if (RoundedUpMaxSwathSizeBytesY + RoundedUpMaxSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { 6854 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY; 6856 } else if (RoundedUpMaxSwathSizeBytesY >= 1.5 * RoundedUpMaxSwathSizeBytesC 6862 } else if (RoundedUpMaxSwathSizeBytesY < 1.5 * RoundedUpMaxSwathSizeBytesC 6863 … && RoundedUpMaxSwathSizeBytesY + RoundedUpMinSwathSizeBytesC <= DETBufferSizeInKByte * 1024 / 2) { 6866 RoundedUpSwathSizeBytesY = RoundedUpMaxSwathSizeBytesY;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.h | 717 double RoundedUpMaxSwathSizeBytesY; member
|