Searched refs:MaxPartialSwath (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 1744 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/ |
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.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 1765 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/ |
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.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 2547 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/ |
D | display_mode_vba_30.c | 1624 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()
|