/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 153 unsigned int SwathHeight, 166 unsigned int SwathHeight, 1084 unsigned int SwathHeight, in CalculateDCCConfiguration() argument 1141 …if ((ScanOrientation == dm_vert && SwathHeight == 16) || (ScanOrientation != dm_vert && SwathHeigh… in CalculateDCCConfiguration() 1149 if (SwathHeight == 8) { in CalculateDCCConfiguration() 1164 if ((ScanOrientation == dm_vert && SwathHeight == 8) in CalculateDCCConfiguration() 1166 && SwathHeight == 4)) { in CalculateDCCConfiguration() 1217 unsigned int SwathHeight, in CalculatePrefetchSourceLines() argument 1237 % SwathHeight; in CalculatePrefetchSourceLines() 1252 % SwathHeight; in CalculatePrefetchSourceLines() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 2537 unsigned int SwathHeight, in dml32_CalculatePrefetchSourceLines() argument 2561 dml_print("DML::%s: SwathHeight = %d\n", __func__, SwathHeight); in dml32_CalculatePrefetchSourceLines() 2570 vp_start_rot = SwathHeight - in dml32_CalculatePrefetchSourceLines() 2571 (((unsigned int) (ViewportYStart + ViewportHeight - 1) % SwathHeight) + 1); in dml32_CalculatePrefetchSourceLines() 2575 vp_start_rot = SwathHeight - in dml32_CalculatePrefetchSourceLines() 2576 (((unsigned int)(ViewportYStart + SwathWidth - 1) % SwathHeight) + 1); in dml32_CalculatePrefetchSourceLines() 2580 sw0_tmp = SwathHeight - (vp_start_rot % SwathHeight); in dml32_CalculatePrefetchSourceLines() 2582 *MaxNumSwath = dml_ceil((*VInitPreFill - sw0_tmp) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines() 2587 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines() 2591 MaxPartialSwath = dml_max(1, (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight); in dml32_CalculatePrefetchSourceLines() [all …]
|
H A D | display_mode_vba_util_32.h | 484 unsigned int SwathHeight,
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 128 unsigned int SwathHeight, 818 unsigned int SwathHeight, in CalculatePrefetchSourceLines() argument 832 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; in CalculatePrefetchSourceLines() 835 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines() 837 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines() 838 % SwathHeight; in CalculatePrefetchSourceLines() 847 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); in CalculatePrefetchSourceLines() 850 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; in CalculatePrefetchSourceLines() 852 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) in CalculatePrefetchSourceLines() 853 % SwathHeight; in CalculatePrefetchSourceLines() [all …]
|
H A D | display_mode_vba_20v2.c | 152 unsigned int SwathHeight, 878 unsigned int SwathHeight, in CalculatePrefetchSourceLines() argument 892 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; in CalculatePrefetchSourceLines() 895 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines() 897 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines() 898 % SwathHeight; in CalculatePrefetchSourceLines() 907 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); in CalculatePrefetchSourceLines() 910 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; in CalculatePrefetchSourceLines() 912 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) in CalculatePrefetchSourceLines() 913 % SwathHeight; in CalculatePrefetchSourceLines() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 194 unsigned int SwathHeight, 1741 unsigned int SwathHeight, argument 1756 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; 1759 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; 1761 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight; 1769 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); 1772 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; 1774 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) % SwathHeight; 1783 dml_print("DML::%s: SwathHeight = %d\n", __func__, SwathHeight); 1786 …dml_print("DML::%s: Prefetch source lines = %d\n", __func__, *MaxNumSwath * SwathHeight + MaxParti… [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 206 unsigned int SwathHeight, 1761 unsigned int SwathHeight, argument 1776 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; 1779 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; 1781 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight; 1789 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); 1792 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; 1794 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) % SwathHeight; 1803 dml_print("DML::%s: SwathHeight = %d\n", __func__, SwathHeight); 1806 …dml_print("DML::%s: Prefetch source lines = %d\n", __func__, *MaxNumSwath * SwathHeight + MaxParti… [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 177 unsigned int SwathHeight, 1616 unsigned int SwathHeight, in CalculatePrefetchSourceLines() argument 1630 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0; in CalculatePrefetchSourceLines() 1633 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight; in CalculatePrefetchSourceLines() 1635 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) in CalculatePrefetchSourceLines() 1636 % SwathHeight; in CalculatePrefetchSourceLines() 1645 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1); in CalculatePrefetchSourceLines() 1648 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight; in CalculatePrefetchSourceLines() 1650 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) in CalculatePrefetchSourceLines() 1651 % SwathHeight; in CalculatePrefetchSourceLines() [all …]
|