Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1764 unsigned int MaxPartialSwath; local
1776 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1778 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1779 MaxPartialSwath = dml_max(1U, MaxPartialSwath);
1789 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight;
1791 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) % SwathHeight;
1801 dml_print("DML::%s: MaxPartialSwath = %d\n", __func__, MaxPartialSwath);
1803 …t("DML::%s: Prefetch source lines = %d\n", __func__, *MaxNumSwath * SwathHeight + MaxPartialSwath);
1805 return *MaxNumSwath * SwathHeight + MaxPartialSwath;
/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2550 unsigned int MaxPartialSwath; in dml32_CalculatePrefetchSourceLines() local
2583 MaxPartialSwath = dml_max(1, (unsigned int) (vp_start_rot + *VInitPreFill - 1) % SwathHeight); 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()
2591 numLines = *MaxNumSwath * SwathHeight + MaxPartialSwath; in dml32_CalculatePrefetchSourceLines()
2596 dml_print("DML::%s: MaxPartialSwath = %d\n", __func__, MaxPartialSwath); in dml32_CalculatePrefetchSourceLines()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c2393 dml_uint_t MaxPartialSwath = 0; in CalculatePrefetchSourceLines() local
2425MaxPartialSwath = (dml_uint_t)(dml_max(1, (dml_uint_t) (vp_start_rot + *VInitPreFill - 1) % SwathH… in CalculatePrefetchSourceLines()
2429 MaxPartialSwath = (dml_uint_t)(dml_max(1, (dml_uint_t) (*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
2431MaxPartialSwath = (dml_uint_t)(dml_max(1, (dml_uint_t) (*VInitPreFill + SwathHeight - 2) % SwathHe… in CalculatePrefetchSourceLines()
2434 numLines = *MaxNumSwath * SwathHeight + MaxPartialSwath; in CalculatePrefetchSourceLines()
2439 dml_print("DML::%s: MaxPartialSwath = %u\n", __func__, MaxPartialSwath); in CalculatePrefetchSourceLines()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c4554 unsigned int MaxPartialSwath = 0; in CalculatePrefetchSourceLines() local
4586MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(vp_start_rot + *VInitPreFill - 1) % S… in CalculatePrefetchSourceLines()
4590 MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
4592MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill + SwathHeight - 2) % Sw… in CalculatePrefetchSourceLines()
4595 numLines = *MaxNumSwath * SwathHeight + MaxPartialSwath; in CalculatePrefetchSourceLines()
4600 dml2_printf("DML::%s: MaxPartialSwath = %u\n", __func__, MaxPartialSwath); in CalculatePrefetchSourceLines()
Ddml2_core_dcn4_calcs.c1877 unsigned int MaxPartialSwath = 0; in CalculatePrefetchSourceLines() local
1909MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(vp_start_rot + *VInitPreFill - 1) % S… in CalculatePrefetchSourceLines()
1913 MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
1915MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill + SwathHeight - 2) % Sw… in CalculatePrefetchSourceLines()
1918 numLines = *MaxNumSwath * SwathHeight + MaxPartialSwath; in CalculatePrefetchSourceLines()
1923 dml2_printf("DML::%s: MaxPartialSwath = %u\n", __func__, MaxPartialSwath); in CalculatePrefetchSourceLines()