Home
last modified time | relevance | path

Searched refs:SwathHeight (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c153 unsigned int SwathHeight,
166 unsigned int SwathHeight,
1084 unsigned int SwathHeight, in CalculateDCCConfiguration() argument
1135 if (ScanOrientation == dm_vert || SwathHeight == 16) { in CalculateDCCConfiguration()
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()
1174 if (ScanOrientation != dm_vert || SwathHeight == 8) { in CalculateDCCConfiguration()
1217 unsigned int SwathHeight, in CalculatePrefetchSourceLines() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2537 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()
2585 MaxPartialSwath = dml_max(1, (unsigned int) (vp_start_rot + *VInitPreFill - 1) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2587 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines()
[all …]
Ddisplay_mode_vba_util_32.h484 unsigned int SwathHeight,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c128 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 …]
Ddisplay_mode_vba_20v2.c152 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 …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c194 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 …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c206 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 …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c177 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 …]