Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.h135 double SwathWidth[],
444 double SwathWidth,
487 double SwathWidth,
Ddisplay_mode_vba_util_32.c446 double SwathWidth[], in dml32_CalculateSwathAndDETConfiguration()
508 SwathWidth, in dml32_CalculateSwathAndDETConfiguration()
634 || SwathWidth[k] > MaximumSwathWidthLuma[k] || (SwathHeightC[k] > 0 && in dml32_CalculateSwathAndDETConfiguration()
2270 double SwathWidth, in dml32_CalculateVMAndRowBytes() argument
2328 …*meta_row_width = dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, *MetaRequestWidth) in dml32_CalculateVMAndRowBytes()
2333 *meta_row_width = dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, in dml32_CalculateVMAndRowBytes()
2336 *meta_row_width = dml_ceil(SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth; in dml32_CalculateVMAndRowBytes()
2345 *meta_row_width = dml_ceil(SwathWidth - 1, *MetaRequestHeight) + *MetaRequestHeight; in dml32_CalculateVMAndRowBytes()
2356 vp_height_meta_ub = dml_ceil(SwathWidth - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes; in dml32_CalculateVMAndRowBytes()
2386 vp_height_dpte_ub = dml_ceil(SwathWidth - 1, MacroTileHeight) + MacroTileHeight; in dml32_CalculateVMAndRowBytes()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c164 double SwathWidth,
870 unsigned int SwathWidth, in CalculateVMAndRowBytes() argument
903 MetaSurfWidth = dml_ceil((double) SwathWidth - 1, MetaRequestWidth) in CalculateVMAndRowBytes()
908 MetaSurfHeight = dml_ceil((double) SwathWidth - 1, MetaRequestHeight) in CalculateVMAndRowBytes()
982 (double) SwathWidth in CalculateVMAndRowBytes()
1061 * (dml_ceil(((double) SwathWidth - 1) / PixelPTEReqWidth, 1) in CalculateVMAndRowBytes()
1067 ((double) SwathWidth - 1) in CalculateVMAndRowBytes()
2726 double SwathWidth; in dml20_DisplayPipeConfiguration() local
2847 SwathWidth = mode_lib->vba.ViewportWidth[k]; in dml20_DisplayPipeConfiguration()
2849 SwathWidth = mode_lib->vba.ViewportHeight[k]; in dml20_DisplayPipeConfiguration()
[all …]
Ddisplay_mode_vba_20v2.c188 double SwathWidth,
930 unsigned int SwathWidth, in CalculateVMAndRowBytes() argument
963 MetaSurfWidth = dml_ceil((double) SwathWidth - 1, MetaRequestWidth) in CalculateVMAndRowBytes()
968 MetaSurfHeight = dml_ceil((double) SwathWidth - 1, MetaRequestHeight) in CalculateVMAndRowBytes()
1042 (double) SwathWidth in CalculateVMAndRowBytes()
1121 * (dml_ceil(((double) SwathWidth - 1) / PixelPTEReqWidth, 1) in CalculateVMAndRowBytes()
1127 ((double) SwathWidth - 1) in CalculateVMAndRowBytes()
2799 double SwathWidth; in dml20v2_DisplayPipeConfiguration() local
2920 SwathWidth = mode_lib->vba.ViewportWidth[k]; in dml20v2_DisplayPipeConfiguration()
2922 SwathWidth = mode_lib->vba.ViewportHeight[k]; in dml20v2_DisplayPipeConfiguration()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c216 double SwathWidth,
1269 unsigned int SwathWidth, in CalculateVMAndRowBytes() argument
1309 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) in CalculateVMAndRowBytes()
1314 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestHeight) in CalculateVMAndRowBytes()
1370 …*DPDE0BytesFrame = 64 * (dml_ceil(((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + … in CalculateVMAndRowBytes()
1427 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… in CalculateVMAndRowBytes()
1431 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… in CalculateVMAndRowBytes()
2824 double SwathWidth; in DisplayPipeConfiguration() local
2945 SwathWidth = mode_lib->vba.ViewportWidth[k]; in DisplayPipeConfiguration()
2947 SwathWidth = mode_lib->vba.ViewportHeight[k]; in DisplayPipeConfiguration()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c190 unsigned int SwathWidth,
579 double SwathWidth[],
1666 unsigned int SwathWidth, in CalculateVMAndRowBytes() argument
1719 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) in CalculateVMAndRowBytes()
1724 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestHeight) in CalculateVMAndRowBytes()
1757 …*DPDE0BytesFrame = 64 * (dml_ceil(((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + … in CalculateVMAndRowBytes()
1806 …*dpte_row_width_ub = (dml_ceil(((double) SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… in CalculateVMAndRowBytes()
1810 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… in CalculateVMAndRowBytes()
1814 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… in CalculateVMAndRowBytes()
6125 double SwathWidth[], in CalculateSwathAndDETConfiguration()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c207 unsigned int SwathWidth,
564 double SwathWidth[],
1800 unsigned int SwathWidth, argument
1853 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth;
1857 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestHeight) + *MetaRequestHeight;
1894 …((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) -…
1956 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER…
1960 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE…
6655 double SwathWidth[],
6702 SwathWidth,
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c219 unsigned int SwathWidth,
575 double SwathWidth[],
1820 unsigned int SwathWidth, argument
1873 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth;
1877 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestHeight) + *MetaRequestHeight;
1914 …((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) -…
1976 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER…
1980 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE…
6750 double SwathWidth[],
6797 SwathWidth,
[all …]