Home
last modified time | relevance | path

Searched refs:VInitPreFill (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c130 double *VInitPreFill,
820 double *VInitPreFill, in CalculatePrefetchSourceLines() argument
826 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines()
828 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines()
832 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; in CalculatePrefetchSourceLines()
834 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
835 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
837 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
847 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); in CalculatePrefetchSourceLines()
849 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
[all …]
Ddisplay_mode_vba_20v2.c154 double *VInitPreFill,
880 double *VInitPreFill, in CalculatePrefetchSourceLines() argument
886 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines()
888 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines()
892 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; in CalculatePrefetchSourceLines()
894 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
895 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
897 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
907 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); in CalculatePrefetchSourceLines()
909 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2544 double *VInitPreFill, in dml32_CalculatePrefetchSourceLines() argument
2562 *VInitPreFill = dml_floor((VRatio + (double) VTaps + 1) / 2.0, 1); in dml32_CalculatePrefetchSourceLines()
2564 *VInitPreFill = dml_floor((VRatio + (double) VTaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in dml32_CalculatePrefetchSourceLines()
2579 if (sw0_tmp < *VInitPreFill) in dml32_CalculatePrefetchSourceLines()
2580 *MaxNumSwath = dml_ceil((*VInitPreFill - sw0_tmp) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines()
2583 MaxPartialSwath = dml_max(1, (unsigned int) (vp_start_rot + *VInitPreFill - 1) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2585 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines()
2586 if (*VInitPreFill > 1) in dml32_CalculatePrefetchSourceLines()
2587 MaxPartialSwath = dml_max(1, (unsigned int) (*VInitPreFill - 2) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2589 MaxPartialSwath = dml_max(1, (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
[all …]
Ddisplay_mode_vba_util_32.h493 double *VInitPreFill,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c168 double *VInitPreFill,
1219 double *VInitPreFill, in CalculatePrefetchSourceLines() argument
1225 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines()
1227 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines()
1231 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; in CalculatePrefetchSourceLines()
1233 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
1234 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
1236 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
1246 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); in CalculatePrefetchSourceLines()
1248 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c179 double *VInitPreFill,
1618 double *VInitPreFill, in CalculatePrefetchSourceLines() argument
1624 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines()
1626 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines()
1630 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; in CalculatePrefetchSourceLines()
1632 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
1633 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
1635 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
1645 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); in CalculatePrefetchSourceLines()
1647 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c196 double *VInitPreFill,
1743 double *VInitPreFill, argument
1750 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1);
1752 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1);
1756 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0;
1758 if (*VInitPreFill > 1.0)
1759 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1761 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1769 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1);
1771 if (*VInitPreFill > 1.0)
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c205 double *VInitPreFill,
1760 double *VInitPreFill, argument
1767 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1);
1769 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1);
1773 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0;
1775 if (*VInitPreFill > 1.0)
1776 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1778 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1786 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1);
1788 if (*VInitPreFill > 1.0)
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c229 dml_uint_t *VInitPreFill,
2387 dml_uint_t *VInitPreFill, in CalculatePrefetchSourceLines() argument
2405 *VInitPreFill = (dml_uint_t)(dml_floor((VRatio + (dml_float_t) VTaps + 1) / 2.0, 1)); in CalculatePrefetchSourceLines()
2407 …*VInitPreFill = (dml_uint_t)(dml_floor((VRatio + (dml_float_t) VTaps + 1 + Interlace * 0.5 * VRati… in CalculatePrefetchSourceLines()
2420 if (sw0_tmp < *VInitPreFill) { in CalculatePrefetchSourceLines()
2421 …*MaxNumSwath = (dml_uint_t)(dml_ceil((*VInitPreFill - sw0_tmp) / (dml_float_t) SwathHeight, 1) + 1… in CalculatePrefetchSourceLines()
2425 …MaxPartialSwath = (dml_uint_t)(dml_max(1, (dml_uint_t) (vp_start_rot + *VInitPreFill - 1) % SwathH… in CalculatePrefetchSourceLines()
2427 *MaxNumSwath = (dml_uint_t)(dml_ceil((*VInitPreFill - 1.0) / (dml_float_t) SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
2428 if (*VInitPreFill > 1) { in CalculatePrefetchSourceLines()
2429 MaxPartialSwath = (dml_uint_t)(dml_max(1, (dml_uint_t) (*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c160 unsigned int *VInitPreFill,
4548 unsigned int *VInitPreFill, in CalculatePrefetchSourceLines() argument
4566 *VInitPreFill = (unsigned int)(math_floor2((VRatio + (double)VTaps + 1) / 2.0, 1)); in CalculatePrefetchSourceLines()
4568 …*VInitPreFill = (unsigned int)(math_floor2((VRatio + (double)VTaps + 1 + (Interlace ? 1 : 0) * 0.5… in CalculatePrefetchSourceLines()
4581 if (sw0_tmp < *VInitPreFill) { in CalculatePrefetchSourceLines()
4582 … *MaxNumSwath = (unsigned int)(math_ceil2((*VInitPreFill - sw0_tmp) / (double)SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
4586 …MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(vp_start_rot + *VInitPreFill - 1) % S… in CalculatePrefetchSourceLines()
4588 *MaxNumSwath = (unsigned int)(math_ceil2((*VInitPreFill - 1.0) / (double)SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
4589 if (*VInitPreFill > 1) { in CalculatePrefetchSourceLines()
4590 MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
[all …]
Ddml2_core_dcn4_calcs.c1871 unsigned int *VInitPreFill, in CalculatePrefetchSourceLines() argument
1889 *VInitPreFill = (unsigned int)(math_floor2((VRatio + (double)VTaps + 1) / 2.0, 1)); in CalculatePrefetchSourceLines()
1891 …*VInitPreFill = (unsigned int)(math_floor2((VRatio + (double)VTaps + 1 + (Interlace ? 1 : 0) * 0.5… in CalculatePrefetchSourceLines()
1904 if (sw0_tmp < *VInitPreFill) { in CalculatePrefetchSourceLines()
1905 … *MaxNumSwath = (unsigned int)(math_ceil2((*VInitPreFill - sw0_tmp) / (double)SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
1909 …MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(vp_start_rot + *VInitPreFill - 1) % S… in CalculatePrefetchSourceLines()
1911 *MaxNumSwath = (unsigned int)(math_ceil2((*VInitPreFill - 1.0) / (double)SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
1912 if (*VInitPreFill > 1) { in CalculatePrefetchSourceLines()
1913 MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
1915 …MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill + SwathHeight - 2) % Sw… in CalculatePrefetchSourceLines()
[all …]