/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 823 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()
|
D | display_mode_vba_20v2.c | 883 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/ |
D | display_mode_vba_31.c | 1747 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/ |
D | display_mode_vba_314.c | 1764 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/ |
D | display_mode_vba_21.c | 1222 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/ |
D | display_mode_vba_30.c | 1621 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/ |
D | display_mode_vba_util_32.c | 2550 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/ |
D | display_mode_core.c | 2393 dml_uint_t MaxPartialSwath = 0; in CalculatePrefetchSourceLines() local 2425 …MaxPartialSwath = (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() 2431 …MaxPartialSwath = (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/ |
D | dml2_core_shared.c | 4554 unsigned int MaxPartialSwath = 0; in CalculatePrefetchSourceLines() local 4586 …MaxPartialSwath = (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() 4592 …MaxPartialSwath = (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()
|
D | dml2_core_dcn4_calcs.c | 1877 unsigned int MaxPartialSwath = 0; in CalculatePrefetchSourceLines() local 1909 …MaxPartialSwath = (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() 1915 …MaxPartialSwath = (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()
|