Home
last modified time | relevance | path

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

/linux-6.12.1/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()
2268 double SwathWidth, in dml32_CalculateVMAndRowBytes() argument
2326 …*meta_row_width = dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, *MetaRequestWidth) in dml32_CalculateVMAndRowBytes()
2331 *meta_row_width = dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, in dml32_CalculateVMAndRowBytes()
2334 *meta_row_width = dml_ceil(SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth; in dml32_CalculateVMAndRowBytes()
2343 *meta_row_width = dml_ceil(SwathWidth - 1, *MetaRequestHeight) + *MetaRequestHeight; in dml32_CalculateVMAndRowBytes()
2354 vp_height_meta_ub = dml_ceil(SwathWidth - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes; in dml32_CalculateVMAndRowBytes()
2384 vp_height_dpte_ub = dml_ceil(SwathWidth - 1, MacroTileHeight) + MacroTileHeight; in dml32_CalculateVMAndRowBytes()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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()
6129 double SwathWidth[], in CalculateSwathAndDETConfiguration()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared_types.h1268 unsigned int SwathWidth; // per pipe member
1597 unsigned int *SwathWidth; member
Ddml2_core_shared.c154 unsigned int SwathWidth,
1160 CalculateSwathAndDETConfiguration_params->SwathWidth = s->dummy_integer_array[5]; in dml2_core_shared_mode_support()
1600 CalculateSwathAndDETConfiguration_params->SwathWidth = mode_lib->ms.SwathWidthY; in dml2_core_shared_mode_support()
4301 …*p->meta_row_width = (unsigned int)(math_floor2(p->ViewportXStart + p->SwathWidth + *p->MetaReques… in CalculateVMAndRowBytes()
4306 …*p->meta_row_width = (unsigned int)(math_floor2(p->ViewportXStart + p->SwathWidth + *p->MetaReques… in CalculateVMAndRowBytes()
4308 …*p->meta_row_width = (unsigned int)(math_ceil2(p->SwathWidth - 1, *p->MetaRequestWidth) + *p->Meta… in CalculateVMAndRowBytes()
4316 …*p->meta_row_width = (unsigned int)(math_ceil2(p->SwathWidth - 1, *p->MetaRequestHeight) + *p->Met… in CalculateVMAndRowBytes()
4326 …vp_height_meta_ub = (unsigned int)(math_ceil2(p->SwathWidth - 1, 64 * p->BlockHeight256Bytes) + 64… in CalculateVMAndRowBytes()
4374 …vp_height_dpte_ub = (unsigned int)(math_ceil2((double)p->SwathWidth - 1, p->MacroTileHeight) + p->… in CalculateVMAndRowBytes()
4403 dml2_printf("DML::%s: SwathWidth = %u\n", __func__, p->SwathWidth); in CalculateVMAndRowBytes()
[all …]
Ddml2_core_dcn4_calcs.c1625 …*p->meta_row_width = (unsigned int)(math_floor2(p->ViewportXStart + p->SwathWidth + *p->MetaReques… in CalculateVMAndRowBytes()
1630 …*p->meta_row_width = (unsigned int)(math_floor2(p->ViewportXStart + p->SwathWidth + *p->MetaReques… in CalculateVMAndRowBytes()
1632 …*p->meta_row_width = (unsigned int)(math_ceil2(p->SwathWidth - 1, *p->MetaRequestWidth) + *p->Meta… in CalculateVMAndRowBytes()
1640 …*p->meta_row_width = (unsigned int)(math_ceil2(p->SwathWidth - 1, *p->MetaRequestHeight) + *p->Met… in CalculateVMAndRowBytes()
1650 …vp_height_meta_ub = (unsigned int)(math_ceil2(p->SwathWidth - 1, 64 * p->BlockHeight256Bytes) + 64… in CalculateVMAndRowBytes()
1698 …vp_height_dpte_ub = (unsigned int)(math_ceil2((double)p->SwathWidth - 1, p->MacroTileHeight) + p->… in CalculateVMAndRowBytes()
1727 dml2_printf("DML::%s: SwathWidth = %u\n", __func__, p->SwathWidth); in CalculateVMAndRowBytes()
1807 …*p->dpte_row_width_ub = (unsigned int)(math_floor2(p->ViewportXStart + p->SwathWidth + *p->PixelPT… in CalculateVMAndRowBytes()
1809 …*p->dpte_row_width_ub = (unsigned int)((math_ceil2((double)(p->SwathWidth - 1) / (double)*p->Pixel… in CalculateVMAndRowBytes()
1822 …*p->dpte_row_width_ub = (unsigned int)((math_ceil2((double)(p->SwathWidth - 1) / (double)*p->Pixel… in CalculateVMAndRowBytes()
[all …]
/linux-6.12.1/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) -…
1947 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER…
1951 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE…
6645 double SwathWidth[],
6692 SwathWidth,
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c216 unsigned int SwathWidth,
572 double SwathWidth[],
1817 unsigned int SwathWidth, argument
1870 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth;
1874 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestHeight) + *MetaRequestHeight;
1911 …((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) -…
1964 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER…
1968 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE…
6739 double SwathWidth[],
6786 SwathWidth,
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c223 dml_uint_t SwathWidth,
242 dml_uint_t SwathWidth,
2381 dml_uint_t SwathWidth, in CalculatePrefetchSourceLines() argument
2415 vp_start_rot = SwathHeight - (((dml_uint_t)(ViewportYStart + SwathWidth - 1) % SwathHeight) + 1); in CalculatePrefetchSourceLines()
2457 dml_uint_t SwathWidth, in CalculateVMAndRowBytes() argument
2504 …*meta_row_width = (dml_uint_t)(dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, *Met… in CalculateVMAndRowBytes()
2508 …*meta_row_width = (dml_uint_t)(dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, *Met… in CalculateVMAndRowBytes()
2510 *meta_row_width = (dml_uint_t)(dml_ceil(SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth); in CalculateVMAndRowBytes()
2518 … *meta_row_width = (dml_uint_t)(dml_ceil(SwathWidth - 1, *MetaRequestHeight) + *MetaRequestHeight); in CalculateVMAndRowBytes()
2528 …vp_height_meta_ub = (dml_uint_t)(dml_ceil(SwathWidth - 1, 64 * BlockHeight256Bytes) + 64 * BlockHe… in CalculateVMAndRowBytes()
[all …]
Ddisplay_mode_core_structs.h1450 dml_uint_t *SwathWidth; member