Searched refs:full_swath_bytes_vert_wc_c (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 5352 unsigned int full_swath_bytes_vert_wc_c; in dml32_CalculateDCCConfiguration() local 5414 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma; in dml32_CalculateDCCConfiguration() 5417 full_swath_bytes_vert_wc_c = 0; in dml32_CalculateDCCConfiguration() 5424 full_swath_bytes_vert_wc_c = dml_ceil((double) full_swath_bytes_vert_wc_c * 2.0 / 3.0, 256.0); in dml32_CalculateDCCConfiguration() 5443 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration() 5446 } else if (full_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c && 2 * in dml32_CalculateDCCConfiguration() 5447 full_swath_bytes_vert_wc_l + full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration() 5450 } else if (full_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c && in dml32_CalculateDCCConfiguration() 5451 full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration() 5481 dml_print("DML::%s: full_swath_bytes_vert_wc_c = %d\n", __func__, full_swath_bytes_vert_wc_c); in dml32_CalculateDCCConfiguration()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 1350 long full_swath_bytes_vert_wc_c = 0; in CalculateDCCConfiguration() local 1440 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma; in CalculateDCCConfiguration() 1443 full_swath_bytes_vert_wc_c = 0; in CalculateDCCConfiguration() 1450 full_swath_bytes_vert_wc_c = dml_ceil(full_swath_bytes_vert_wc_c * 2 / 3, 256); in CalculateDCCConfiguration() 1471 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSize) { in CalculateDCCConfiguration() 1474 } else if (full_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c in CalculateDCCConfiguration() 1475 && 2 * full_swath_bytes_vert_wc_l + full_swath_bytes_vert_wc_c in CalculateDCCConfiguration() 1479 } else if (full_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c in CalculateDCCConfiguration() 1480 && full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c in CalculateDCCConfiguration()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 1535 int full_swath_bytes_vert_wc_c; local 1600 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma; 1603 full_swath_bytes_vert_wc_c = 0; 1610 full_swath_bytes_vert_wc_c = dml_ceil(full_swath_bytes_vert_wc_c * 2 / 3, 256); 1627 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSize) { 1630 …l_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c && 2 * full_swath_bytes_vert_wc_l + ful… 1633 …_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c && full_swath_bytes_vert_wc_l + 2 * ful…
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 1518 int full_swath_bytes_vert_wc_c; local 1583 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma; 1586 full_swath_bytes_vert_wc_c = 0; 1593 full_swath_bytes_vert_wc_c = dml_ceil(full_swath_bytes_vert_wc_c * 2 / 3, 256); 1610 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSize) { 1613 …l_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c && 2 * full_swath_bytes_vert_wc_l + ful… 1616 …_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c && full_swath_bytes_vert_wc_l + 2 * ful…
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core.c | 2143 dml_uint_t full_swath_bytes_vert_wc_c; in CalculateDCCConfiguration() local 2207 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma; in CalculateDCCConfiguration() 2210 full_swath_bytes_vert_wc_c = 0; in CalculateDCCConfiguration() 2217 …full_swath_bytes_vert_wc_c = (dml_uint_t)(dml_ceil((dml_float_t) full_swath_bytes_vert_wc_c * 2.0 … in CalculateDCCConfiguration() 2234 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in CalculateDCCConfiguration() 2237 …l_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c && 2 * full_swath_bytes_vert_wc_l + ful… in CalculateDCCConfiguration() 2240 …_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c && full_swath_bytes_vert_wc_l + 2 * ful… in CalculateDCCConfiguration() 2270 dml_print("DML::%s: full_swath_bytes_vert_wc_c = %u\n", __func__, full_swath_bytes_vert_wc_c); in CalculateDCCConfiguration()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared.c | 4782 unsigned int full_swath_bytes_vert_wc_c; in CalculateDCCConfiguration() local 4797 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma; in CalculateDCCConfiguration() 4800 full_swath_bytes_vert_wc_c = 0; in CalculateDCCConfiguration() 4807 …full_swath_bytes_vert_wc_c = (unsigned int)(math_ceil2((double)full_swath_bytes_vert_wc_c * 2.0 / … in CalculateDCCConfiguration() 4829 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in CalculateDCCConfiguration() 4832 …l_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c && 2 * full_swath_bytes_vert_wc_l + ful… in CalculateDCCConfiguration() 4835 …_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c && full_swath_bytes_vert_wc_l + 2 * ful… in CalculateDCCConfiguration() 4870 dml2_printf("DML::%s: full_swath_bytes_vert_wc_c = %u\n", __func__, full_swath_bytes_vert_wc_c); in CalculateDCCConfiguration()
|
H A D | dml2_core_dcn4_calcs.c | 2086 unsigned int full_swath_bytes_vert_wc_c; in CalculateDCCConfiguration() local 2134 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma; in CalculateDCCConfiguration() 2137 full_swath_bytes_vert_wc_c = 0; in CalculateDCCConfiguration() 2144 …full_swath_bytes_vert_wc_c = (unsigned int)(math_ceil2((double)full_swath_bytes_vert_wc_c * 2.0 / … in CalculateDCCConfiguration() 2161 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in CalculateDCCConfiguration() 2164 …l_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c && 2 * full_swath_bytes_vert_wc_l + ful… in CalculateDCCConfiguration() 2167 …_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c && full_swath_bytes_vert_wc_l + 2 * ful… in CalculateDCCConfiguration() 2197 dml2_printf("DML::%s: full_swath_bytes_vert_wc_c = %u\n", __func__, full_swath_bytes_vert_wc_c); in CalculateDCCConfiguration()
|