Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c5350 unsigned int full_swath_bytes_horz_wc_c; in dml32_CalculateDCCConfiguration() local
5413 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in dml32_CalculateDCCConfiguration()
5416 full_swath_bytes_horz_wc_c = 0; in dml32_CalculateDCCConfiguration()
5422 full_swath_bytes_horz_wc_c = dml_ceil((double) full_swath_bytes_horz_wc_c * 2.0 / 3.0, 256.0); in dml32_CalculateDCCConfiguration()
5427 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5430 …} else if (full_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_h… in dml32_CalculateDCCConfiguration()
5431 full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5434 …} else if (full_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz… in dml32_CalculateDCCConfiguration()
5435 full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c1348 long full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration() local
1438 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma in CalculateDCCConfiguration()
1442 full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration()
1448 full_swath_bytes_horz_wc_c = dml_ceil(full_swath_bytes_horz_wc_c * 2 / 3, 256); in CalculateDCCConfiguration()
1453 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSize) { in CalculateDCCConfiguration()
1456 } else if (full_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1457 && 2 * full_swath_bytes_horz_wc_l + full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1461 } else if (full_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1462 && full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c1516 int full_swath_bytes_horz_wc_c; local
1582 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC;
1585 full_swath_bytes_horz_wc_c = 0;
1591 full_swath_bytes_horz_wc_c = dml_ceil(full_swath_bytes_horz_wc_c * 2 / 3, 256);
1596 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSize) {
1599 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful…
1602 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful…
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1533 int full_swath_bytes_horz_wc_c; local
1599 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC;
1602 full_swath_bytes_horz_wc_c = 0;
1608 full_swath_bytes_horz_wc_c = dml_ceil(full_swath_bytes_horz_wc_c * 2 / 3, 256);
1613 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSize) {
1616 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful…
1619 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful…
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c2141 dml_uint_t full_swath_bytes_horz_wc_c; in CalculateDCCConfiguration() local
2206 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in CalculateDCCConfiguration()
2209 full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration()
2215full_swath_bytes_horz_wc_c = (dml_uint_t)(dml_ceil((dml_float_t) full_swath_bytes_horz_wc_c * 2.0 … in CalculateDCCConfiguration()
2220 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in CalculateDCCConfiguration()
2223 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful… in CalculateDCCConfiguration()
2226 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful… in CalculateDCCConfiguration()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
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()
Ddml2_core_dcn4_calcs.c2084 unsigned int full_swath_bytes_horz_wc_c; in CalculateDCCConfiguration() local
2133 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in CalculateDCCConfiguration()
2136 full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration()
2142full_swath_bytes_horz_wc_c = (unsigned int)(math_ceil2((double)full_swath_bytes_horz_wc_c * 2.0 / … in CalculateDCCConfiguration()
2147 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in CalculateDCCConfiguration()
2150 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful… in CalculateDCCConfiguration()
2153 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful… in CalculateDCCConfiguration()