Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2541 double *VInitPreFill, in dml32_CalculatePrefetchSourceLines() argument
2559 *VInitPreFill = dml_floor((VRatio + (double) VTaps + 1) / 2.0, 1); in dml32_CalculatePrefetchSourceLines()
2561 *VInitPreFill = dml_floor((VRatio + (double) VTaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in dml32_CalculatePrefetchSourceLines()
2576 if (sw0_tmp < *VInitPreFill) in dml32_CalculatePrefetchSourceLines()
2577 *MaxNumSwath = dml_ceil((*VInitPreFill - sw0_tmp) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines()
2580 MaxPartialSwath = dml_max(1, (unsigned int) (vp_start_rot + *VInitPreFill - 1) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2582 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines()
2583 if (*VInitPreFill > 1) in dml32_CalculatePrefetchSourceLines()
2584 MaxPartialSwath = dml_max(1, (unsigned int) (*VInitPreFill - 2) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2586 MaxPartialSwath = dml_max(1, (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
[all …]
Ddisplay_mode_vba_util_32.h490 double *VInitPreFill,
/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 …]
/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 …]
/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c181 double *VInitPreFill,
1621 double *VInitPreFill, in CalculatePrefetchSourceLines() argument
1627 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines()
1629 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines()
1633 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; in CalculatePrefetchSourceLines()
1635 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
1636 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
1638 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
1648 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); in CalculatePrefetchSourceLines()
1650 if (*VInitPreFill > 1.0) in CalculatePrefetchSourceLines()
[all …]
/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c197 double *VInitPreFill,
1741 double *VInitPreFill, argument
1748 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1);
1750 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1);
1754 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0;
1756 if (*VInitPreFill > 1.0)
1757 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1759 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1767 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1);
1769 if (*VInitPreFill > 1.0)
[all …]
/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c209 double *VInitPreFill,
1761 double *VInitPreFill, argument
1768 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1);
1770 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1);
1774 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0;
1776 if (*VInitPreFill > 1.0)
1777 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1779 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1787 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1);
1789 if (*VInitPreFill > 1.0)
[all …]