Home
last modified time | relevance | path

Searched refs:full_swath_bytes_vert_wc_c (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c5358 unsigned int full_swath_bytes_vert_wc_c; in dml32_CalculateDCCConfiguration() local
5420 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma; in dml32_CalculateDCCConfiguration()
5423 full_swath_bytes_vert_wc_c = 0; in dml32_CalculateDCCConfiguration()
5430 full_swath_bytes_vert_wc_c = dml_ceil((double) full_swath_bytes_vert_wc_c * 2.0 / 3.0, 256.0); in dml32_CalculateDCCConfiguration()
5449 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5452 } else if (full_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c && 2 * in dml32_CalculateDCCConfiguration()
5453 full_swath_bytes_vert_wc_l + full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5456 } else if (full_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c && in dml32_CalculateDCCConfiguration()
5457 full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5487 dml_print("DML::%s: full_swath_bytes_vert_wc_c = %d\n", __func__, full_swath_bytes_vert_wc_c); in dml32_CalculateDCCConfiguration()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c1350 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c1518 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…
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c1538 int full_swath_bytes_vert_wc_c; local
1603 full_swath_bytes_vert_wc_c = eff_surf_height_c * 256 / RequestHeight256ByteChroma;
1606 full_swath_bytes_vert_wc_c = 0;
1613 full_swath_bytes_vert_wc_c = dml_ceil(full_swath_bytes_vert_wc_c * 2 / 3, 256);
1630 if (2 * full_swath_bytes_vert_wc_l + 2 * full_swath_bytes_vert_wc_c <= DETBufferSize) {
1633 …l_swath_bytes_vert_wc_l < 1.5 * full_swath_bytes_vert_wc_c && 2 * full_swath_bytes_vert_wc_l + ful…
1636 …_swath_bytes_vert_wc_l >= 1.5 * full_swath_bytes_vert_wc_c && full_swath_bytes_vert_wc_l + 2 * ful…