Home
last modified time | relevance | path

Searched refs:MaxPartialSwath (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c1744 unsigned int MaxPartialSwath; local
1756 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1758 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1759 MaxPartialSwath = dml_max(1U, MaxPartialSwath);
1769 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight;
1771 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) % SwathHeight;
1781 dml_print("DML::%s: MaxPartialSwath = %d\n", __func__, MaxPartialSwath);
1783 …t("DML::%s: Prefetch source lines = %d\n", __func__, *MaxNumSwath * SwathHeight + MaxPartialSwath);
1785 return *MaxNumSwath * SwathHeight + MaxPartialSwath;
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c823 unsigned int MaxPartialSwath; in CalculatePrefetchSourceLines() local
835 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
837 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
839 MaxPartialSwath = dml_max(1U, MaxPartialSwath); in CalculatePrefetchSourceLines()
850 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; in CalculatePrefetchSourceLines()
852 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) in CalculatePrefetchSourceLines()
856 return *MaxNumSwath * SwathHeight + MaxPartialSwath; in CalculatePrefetchSourceLines()
Ddisplay_mode_vba_20v2.c883 unsigned int MaxPartialSwath; in CalculatePrefetchSourceLines() local
895 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
897 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
899 MaxPartialSwath = dml_max(1U, MaxPartialSwath); in CalculatePrefetchSourceLines()
910 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; in CalculatePrefetchSourceLines()
912 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) in CalculatePrefetchSourceLines()
916 return *MaxNumSwath * SwathHeight + MaxPartialSwath; in CalculatePrefetchSourceLines()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1765 unsigned int MaxPartialSwath; local
1777 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1779 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1780 MaxPartialSwath = dml_max(1U, MaxPartialSwath);
1790 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight;
1792 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) % SwathHeight;
1802 dml_print("DML::%s: MaxPartialSwath = %d\n", __func__, MaxPartialSwath);
1804 …t("DML::%s: Prefetch source lines = %d\n", __func__, *MaxNumSwath * SwathHeight + MaxPartialSwath);
1806 return *MaxNumSwath * SwathHeight + MaxPartialSwath;
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c1222 unsigned int MaxPartialSwath; in CalculatePrefetchSourceLines() local
1234 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
1236 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
1238 MaxPartialSwath = dml_max(1U, MaxPartialSwath); in CalculatePrefetchSourceLines()
1249 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; in CalculatePrefetchSourceLines()
1251 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) in CalculatePrefetchSourceLines()
1255 return *MaxNumSwath * SwathHeight + MaxPartialSwath; in CalculatePrefetchSourceLines()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2547 unsigned int MaxPartialSwath; in dml32_CalculatePrefetchSourceLines() local
2580 MaxPartialSwath = dml_max(1, (unsigned int) (vp_start_rot + *VInitPreFill - 1) % SwathHeight); 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()
2588 numLines = *MaxNumSwath * SwathHeight + MaxPartialSwath; in dml32_CalculatePrefetchSourceLines()
2593 dml_print("DML::%s: MaxPartialSwath = %d\n", __func__, MaxPartialSwath); in dml32_CalculatePrefetchSourceLines()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c1624 unsigned int MaxPartialSwath = 0; in CalculatePrefetchSourceLines() local
1636 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
1638 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
1640 MaxPartialSwath = dml_max(1U, MaxPartialSwath); in CalculatePrefetchSourceLines()
1651 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; in CalculatePrefetchSourceLines()
1653 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) in CalculatePrefetchSourceLines()
1657 return *MaxNumSwath * SwathHeight + MaxPartialSwath; in CalculatePrefetchSourceLines()