Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c1747 unsigned int MaxPartialSwath; local
1759 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1761 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1762 MaxPartialSwath = dml_max(1U, MaxPartialSwath);
1772 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight;
1774 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) % SwathHeight;
1784 dml_print("DML::%s: MaxPartialSwath = %d\n", __func__, MaxPartialSwath);
1786 …t("DML::%s: Prefetch source lines = %d\n", __func__, *MaxNumSwath * SwathHeight + MaxPartialSwath);
1788 return *MaxNumSwath * SwathHeight + MaxPartialSwath;
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1767 unsigned int MaxPartialSwath; local
1779 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1781 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1782 MaxPartialSwath = dml_max(1U, MaxPartialSwath);
1792 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight;
1794 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) % SwathHeight;
1804 dml_print("DML::%s: MaxPartialSwath = %d\n", __func__, MaxPartialSwath);
1806 …t("DML::%s: Prefetch source lines = %d\n", __func__, *MaxNumSwath * SwathHeight + MaxPartialSwath);
1808 return *MaxNumSwath * SwathHeight + MaxPartialSwath;
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c1621 unsigned int MaxPartialSwath = 0; in CalculatePrefetchSourceLines() local
1633 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines()
1635 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines()
1637 MaxPartialSwath = dml_max(1U, MaxPartialSwath); in CalculatePrefetchSourceLines()
1648 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; in CalculatePrefetchSourceLines()
1650 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) in CalculatePrefetchSourceLines()
1654 return *MaxNumSwath * SwathHeight + MaxPartialSwath; in CalculatePrefetchSourceLines()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2552 unsigned int MaxPartialSwath; in dml32_CalculatePrefetchSourceLines() local
2585 MaxPartialSwath = dml_max(1, (unsigned int) (vp_start_rot + *VInitPreFill - 1) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2589 MaxPartialSwath = dml_max(1, (unsigned int) (*VInitPreFill - 2) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2591 MaxPartialSwath = dml_max(1, (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2593 numLines = *MaxNumSwath * SwathHeight + MaxPartialSwath; in dml32_CalculatePrefetchSourceLines()
2598 dml_print("DML::%s: MaxPartialSwath = %d\n", __func__, MaxPartialSwath); in dml32_CalculatePrefetchSourceLines()