Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c5356 unsigned int full_swath_bytes_horz_wc_c; in dml32_CalculateDCCConfiguration() local
5419 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in dml32_CalculateDCCConfiguration()
5422 full_swath_bytes_horz_wc_c = 0; in dml32_CalculateDCCConfiguration()
5428 full_swath_bytes_horz_wc_c = dml_ceil((double) full_swath_bytes_horz_wc_c * 2.0 / 3.0, 256.0); in dml32_CalculateDCCConfiguration()
5433 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5436 …} else if (full_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_h… in dml32_CalculateDCCConfiguration()
5437 full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5440 …} else if (full_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz… in dml32_CalculateDCCConfiguration()
5441 full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c1350 long full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration() local
1440 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma in CalculateDCCConfiguration()
1444 full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration()
1450 full_swath_bytes_horz_wc_c = dml_ceil(full_swath_bytes_horz_wc_c * 2 / 3, 256); in CalculateDCCConfiguration()
1455 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSize) { in CalculateDCCConfiguration()
1458 } else if (full_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1459 && 2 * full_swath_bytes_horz_wc_l + full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1463 } else if (full_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1464 && full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn31/
H A 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…
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c1536 int full_swath_bytes_horz_wc_c; local
1602 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC;
1605 full_swath_bytes_horz_wc_c = 0;
1611 full_swath_bytes_horz_wc_c = dml_ceil(full_swath_bytes_horz_wc_c * 2 / 3, 256);
1616 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSize) {
1619 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful…
1622 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful…