Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c5321 unsigned int full_swath_bytes_horz_wc_c; in dml32_CalculateDCCConfiguration() local
5384 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC; in dml32_CalculateDCCConfiguration()
5387 full_swath_bytes_horz_wc_c = 0; in dml32_CalculateDCCConfiguration()
5393 full_swath_bytes_horz_wc_c = dml_ceil((double) full_swath_bytes_horz_wc_c * 2.0 / 3.0, 256.0); in dml32_CalculateDCCConfiguration()
5398 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5401 …} else if (full_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_h… in dml32_CalculateDCCConfiguration()
5402 full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
5405 …} else if (full_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz… in dml32_CalculateDCCConfiguration()
5406 full_swath_bytes_horz_wc_c <= DETBufferSizeForDCC) { in dml32_CalculateDCCConfiguration()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c1351 long full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration() local
1441 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma in CalculateDCCConfiguration()
1445 full_swath_bytes_horz_wc_c = 0; in CalculateDCCConfiguration()
1451 full_swath_bytes_horz_wc_c = dml_ceil(full_swath_bytes_horz_wc_c * 2 / 3, 256); in CalculateDCCConfiguration()
1456 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSize) { in CalculateDCCConfiguration()
1459 } else if (full_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1460 && 2 * full_swath_bytes_horz_wc_l + full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1464 } else if (full_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
1465 && full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c in CalculateDCCConfiguration()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
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-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1534 int full_swath_bytes_horz_wc_c; local
1600 full_swath_bytes_horz_wc_c = eff_surf_width_c * RequestHeight256ByteChroma * BytePerPixelC;
1603 full_swath_bytes_horz_wc_c = 0;
1609 full_swath_bytes_horz_wc_c = dml_ceil(full_swath_bytes_horz_wc_c * 2 / 3, 256);
1614 if (2 * full_swath_bytes_horz_wc_l + 2 * full_swath_bytes_horz_wc_c <= DETBufferSize) {
1617 …l_swath_bytes_horz_wc_l < 1.5 * full_swath_bytes_horz_wc_c && 2 * full_swath_bytes_horz_wc_l + ful…
1620 …_swath_bytes_horz_wc_l >= 1.5 * full_swath_bytes_horz_wc_c && full_swath_bytes_horz_wc_l + 2 * ful…