Home
last modified time | relevance | path

Searched refs:full_swath_bytes_horz_wc_c (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c5351 unsigned int full_swath_bytes_horz_wc_c; in dml32_CalculateDCCConfiguration() local
5414 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in dml32_CalculateDCCConfiguration()
5417 full_swath_bytes_horz_wc_c = 0; in dml32_CalculateDCCConfiguration()
5423 full_swath_bytes_horz_wc_c = dml_ceil((double) full_swath_bytes_horz_wc_c * 2.0 / 3.0, 256.0); in dml32_CalculateDCCConfiguration()
5428 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5431 …} else if (full_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_h… in dml32_CalculateDCCConfiguration()
5432 full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5435 …} else if (full_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz… in dml32_CalculateDCCConfiguration()
5436 full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c1513 int full_swath_bytes_horz_wc_c; local
1579 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC;
1582 full_swath_bytes_horz_wc_c = 0;
1588 full_swath_bytes_horz_wc_c = dml_ceil(full_swath_bytes_horz_wc_c * 2 / 3, 256);
1593 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSize) {
1596 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful…
1599 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful…
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.c2142 dml_uint_t full_swath_bytes_horz_wc_c; in CalculateDCCConfiguration() local
2207 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in CalculateDCCConfiguration()
2210 full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration()
2216full_swath_bytes_horz_wc_c = (dml_uint_t)(dml_ceil((dml_float_t) full_swath_bytes_horz_wc_c * 2.0 … in CalculateDCCConfiguration()
2221 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in CalculateDCCConfiguration()
2224 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful… in CalculateDCCConfiguration()
2227 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful… in CalculateDCCConfiguration()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared.c4780 unsigned int full_swath_bytes_horz_wc_c; in CalculateDCCConfiguration() local
4796 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in CalculateDCCConfiguration()
4799 full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration()
4805full_swath_bytes_horz_wc_c = (unsigned int)(math_ceil2((double)full_swath_bytes_horz_wc_c * 2.0 / … in CalculateDCCConfiguration()
4815 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in CalculateDCCConfiguration()
4818 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful… in CalculateDCCConfiguration()
4821 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful… in CalculateDCCConfiguration()
H A Ddml2_core_dcn4_calcs.c2099 unsigned int full_swath_bytes_horz_wc_c; in CalculateDCCConfiguration() local
2147 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in CalculateDCCConfiguration()
2150 full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration()
2156full_swath_bytes_horz_wc_c = (unsigned int)(math_ceil2((double)full_swath_bytes_horz_wc_c * 2.0 / … in CalculateDCCConfiguration()
2161 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in CalculateDCCConfiguration()
2164 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful… in CalculateDCCConfiguration()
2167 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful… in CalculateDCCConfiguration()