Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2535 unsigned int SwathHeight, in dml32_CalculatePrefetchSourceLines() argument
2559 dml_print("DML::%s: SwathHeight = %d\n", __func__, SwathHeight); in dml32_CalculatePrefetchSourceLines()
2568 vp_start_rot = SwathHeight - in dml32_CalculatePrefetchSourceLines()
2569 (((unsigned int) (ViewportYStart + ViewportHeight - 1) % SwathHeight) + 1); in dml32_CalculatePrefetchSourceLines()
2573 vp_start_rot = SwathHeight - in dml32_CalculatePrefetchSourceLines()
2574 (((unsigned int)(ViewportYStart + SwathWidth - 1) % SwathHeight) + 1); in dml32_CalculatePrefetchSourceLines()
2578 sw0_tmp = SwathHeight - (vp_start_rot % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2580 *MaxNumSwath = dml_ceil((*VInitPreFill - sw0_tmp) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines()
2583 MaxPartialSwath = dml_max(1, (unsigned int) (vp_start_rot + *VInitPreFill - 1) % SwathHeight); in dml32_CalculatePrefetchSourceLines()
2585 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1; in dml32_CalculatePrefetchSourceLines()
[all …]
Ddisplay_mode_vba_util_32.h484 unsigned int SwathHeight,
/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c203 unsigned int SwathHeight,
1758 unsigned int SwathHeight, argument
1773 *MaxNumSwath = dml_ceil((*VInitPreFill - 1.0) / SwathHeight, 1) + 1.0;
1776 MaxPartialSwath = (unsigned int) (*VInitPreFill - 2) % SwathHeight;
1778 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 2) % SwathHeight;
1786 *MaxNumSwath = dml_ceil(*VInitPreFill / SwathHeight, 1);
1789 MaxPartialSwath = (unsigned int) (*VInitPreFill - 1) % SwathHeight;
1791 MaxPartialSwath = (unsigned int) (*VInitPreFill + SwathHeight - 1) % SwathHeight;
1800 dml_print("DML::%s: SwathHeight = %d\n", __func__, SwathHeight);
1803 …dml_print("DML::%s: Prefetch source lines = %d\n", __func__, *MaxNumSwath * SwathHeight + MaxParti…
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c220 dml_uint_t SwathHeight,
2378 dml_uint_t SwathHeight, in CalculatePrefetchSourceLines() argument
2402 dml_print("DML::%s: SwathHeight = %u\n", __func__, SwathHeight); in CalculatePrefetchSourceLines()
2411 …vp_start_rot = SwathHeight - (((dml_uint_t) (ViewportYStart + ViewportHeight - 1) % SwathHeight) +… in CalculatePrefetchSourceLines()
2415 vp_start_rot = SwathHeight - (((dml_uint_t)(ViewportYStart + SwathWidth - 1) % SwathHeight) + 1); in CalculatePrefetchSourceLines()
2419 sw0_tmp = SwathHeight - (vp_start_rot % SwathHeight); in CalculatePrefetchSourceLines()
2421 …*MaxNumSwath = (dml_uint_t)(dml_ceil((*VInitPreFill - sw0_tmp) / (dml_float_t) SwathHeight, 1) + 1… in CalculatePrefetchSourceLines()
2425 …ialSwath = (dml_uint_t)(dml_max(1, (dml_uint_t) (vp_start_rot + *VInitPreFill - 1) % SwathHeight)); in CalculatePrefetchSourceLines()
2427 *MaxNumSwath = (dml_uint_t)(dml_ceil((*VInitPreFill - 1.0) / (dml_float_t) SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
2429 MaxPartialSwath = (dml_uint_t)(dml_max(1, (dml_uint_t) (*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c150 unsigned int SwathHeight,
4538 unsigned int SwathHeight, in CalculatePrefetchSourceLines() argument
4563 dml2_printf("DML::%s: SwathHeight = %u\n", __func__, SwathHeight); in CalculatePrefetchSourceLines()
4572 …vp_start_rot = SwathHeight - (((unsigned int)(ViewportYStart + ViewportHeight - 1) % SwathHeight) … in CalculatePrefetchSourceLines()
4576 …vp_start_rot = SwathHeight - (((unsigned int)(ViewportYStart + SwathWidth - 1) % SwathHeight) + 1); in CalculatePrefetchSourceLines()
4580 sw0_tmp = SwathHeight - (vp_start_rot % SwathHeight); in CalculatePrefetchSourceLines()
4582 … *MaxNumSwath = (unsigned int)(math_ceil2((*VInitPreFill - sw0_tmp) / (double)SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
4586 …ath = (unsigned int)(math_max2(1, (unsigned int)(vp_start_rot + *VInitPreFill - 1) % SwathHeight)); in CalculatePrefetchSourceLines()
4588 *MaxNumSwath = (unsigned int)(math_ceil2((*VInitPreFill - 1.0) / (double)SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
4590 MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
[all …]
Ddml2_core_dcn4_calcs.c1861 unsigned int SwathHeight, in CalculatePrefetchSourceLines() argument
1886 dml2_printf("DML::%s: SwathHeight = %u\n", __func__, SwathHeight); in CalculatePrefetchSourceLines()
1895 …vp_start_rot = SwathHeight - (((unsigned int)(ViewportYStart + ViewportHeight - 1) % SwathHeight) … in CalculatePrefetchSourceLines()
1899 …vp_start_rot = SwathHeight - (((unsigned int)(ViewportYStart + SwathWidth - 1) % SwathHeight) + 1); in CalculatePrefetchSourceLines()
1903 sw0_tmp = SwathHeight - (vp_start_rot % SwathHeight); in CalculatePrefetchSourceLines()
1905 … *MaxNumSwath = (unsigned int)(math_ceil2((*VInitPreFill - sw0_tmp) / (double)SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
1909 …ath = (unsigned int)(math_max2(1, (unsigned int)(vp_start_rot + *VInitPreFill - 1) % SwathHeight)); in CalculatePrefetchSourceLines()
1911 *MaxNumSwath = (unsigned int)(math_ceil2((*VInitPreFill - 1.0) / (double)SwathHeight, 1) + 1); in CalculatePrefetchSourceLines()
1913 MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
1915 …wath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill + SwathHeight - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
[all …]