Home
last modified time | relevance | path

Searched refs:MetaRequestWidth (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2293 unsigned int *MetaRequestWidth, in dml32_CalculateVMAndRowBytes()
2323 *MetaRequestWidth = 8 * BlockWidth256Bytes; in dml32_CalculateVMAndRowBytes()
2326 …*meta_row_width = dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, *MetaRequestWidth) in dml32_CalculateVMAndRowBytes()
2327 - dml_floor(ViewportXStart, *MetaRequestWidth); in dml32_CalculateVMAndRowBytes()
2331 *meta_row_width = dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, in dml32_CalculateVMAndRowBytes()
2332 *MetaRequestWidth) - dml_floor(ViewportXStart, *MetaRequestWidth); in dml32_CalculateVMAndRowBytes()
2334 *meta_row_width = dml_ceil(SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth; in dml32_CalculateVMAndRowBytes()
2338 *meta_row_height = *MetaRequestWidth; in dml32_CalculateVMAndRowBytes()
2345 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
Ddisplay_mode_vba_util_32.h469 unsigned int *MetaRequestWidth,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c196 unsigned int *MetaRequestWidth,
1284 unsigned int *MetaRequestWidth, in CalculateVMAndRowBytes()
1306 *MetaRequestWidth = 8 * BlockWidth256Bytes; in CalculateVMAndRowBytes()
1309 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) in CalculateVMAndRowBytes()
1310 + *MetaRequestWidth; in CalculateVMAndRowBytes()
1313 *meta_row_height = *MetaRequestWidth; in CalculateVMAndRowBytes()
1316 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c206 unsigned int *MetaRequestWidth,
1682 unsigned int *MetaRequestWidth, in CalculateVMAndRowBytes()
1716 *MetaRequestWidth = 8 * BlockWidth256Bytes; in CalculateVMAndRowBytes()
1719 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) in CalculateVMAndRowBytes()
1720 + *MetaRequestWidth; in CalculateVMAndRowBytes()
1723 *meta_row_height = *MetaRequestWidth; in CalculateVMAndRowBytes()
1726 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c885 unsigned int MetaRequestWidth; in CalculateVMAndRowBytes() local
900 MetaRequestWidth = 8 * BlockWidth256Bytes; in CalculateVMAndRowBytes()
903 MetaSurfWidth = dml_ceil((double) SwathWidth - 1, MetaRequestWidth) in CalculateVMAndRowBytes()
904 + MetaRequestWidth; in CalculateVMAndRowBytes()
907 *meta_row_height = MetaRequestWidth; in CalculateVMAndRowBytes()
910 *MetaRowByte = MetaSurfHeight * MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
Ddisplay_mode_vba_20v2.c945 unsigned int MetaRequestWidth; in CalculateVMAndRowBytes() local
960 MetaRequestWidth = 8 * BlockWidth256Bytes; in CalculateVMAndRowBytes()
963 MetaSurfWidth = dml_ceil((double) SwathWidth - 1, MetaRequestWidth) in CalculateVMAndRowBytes()
964 + MetaRequestWidth; in CalculateVMAndRowBytes()
967 *meta_row_height = MetaRequestWidth; in CalculateVMAndRowBytes()
970 *MetaRowByte = MetaSurfHeight * MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c223 unsigned int *MetaRequestWidth,
1816 unsigned int *MetaRequestWidth,
1850 *MetaRequestWidth = 8 * BlockWidth256Bytes;
1853 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth;
1856 *meta_row_height = *MetaRequestWidth;
1858 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c232 unsigned int *MetaRequestWidth,
1833 unsigned int *MetaRequestWidth,
1867 *MetaRequestWidth = 8 * BlockWidth256Bytes;
1870 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth;
1873 *meta_row_height = *MetaRequestWidth;
1875 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c265 dml_uint_t *MetaRequestWidth,
2480 dml_uint_t *MetaRequestWidth, in CalculateVMAndRowBytes()
2501 *MetaRequestWidth = 8 * BlockWidth256Bytes; in CalculateVMAndRowBytes()
2504 …r(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, *MetaRequestWidth) - dml_floor(ViewportXSta… in CalculateVMAndRowBytes()
2508 …r(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, *MetaRequestWidth) - dml_floor(ViewportXSta… in CalculateVMAndRowBytes()
2510 *meta_row_width = (dml_uint_t)(dml_ceil(SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth); in CalculateVMAndRowBytes()
2514 *meta_row_height = *MetaRequestWidth; in CalculateVMAndRowBytes()
2520 *MetaRowByte = (dml_uint_t)(*meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0); in CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared_types.h1300 unsigned int *MetaRequestWidth; member
Ddml2_core_shared.c4298 *p->MetaRequestWidth = 8 * p->BlockWidth256Bytes; in CalculateVMAndRowBytes()
4301 …Start + p->SwathWidth + *p->MetaRequestWidth - 1, *p->MetaRequestWidth) - math_floor2(p->ViewportX… in CalculateVMAndRowBytes()
4306 …Start + p->SwathWidth + *p->MetaRequestWidth - 1, *p->MetaRequestWidth) - math_floor2(p->ViewportX… in CalculateVMAndRowBytes()
4308 …width = (unsigned int)(math_ceil2(p->SwathWidth - 1, *p->MetaRequestWidth) + *p->MetaRequestWidth); in CalculateVMAndRowBytes()
4312 *p->meta_row_height = *p->MetaRequestWidth; in CalculateVMAndRowBytes()
4318 …*p->meta_row_bytes = (unsigned int)(*p->meta_row_width * *p->MetaRequestWidth * p->BytePerPixel / … in CalculateVMAndRowBytes()
5622 scratch->calculate_vm_and_row_bytes_params.MetaRequestWidth = &p->meta_req_width_chroma[k]; in CalculateVMRowAndSwath()
5700 scratch->calculate_vm_and_row_bytes_params.MetaRequestWidth = &p->meta_req_width_luma[k]; in CalculateVMRowAndSwath()
Ddml2_core_dcn4_calcs.c1622 *p->MetaRequestWidth = 8 * p->BlockWidth256Bytes; in CalculateVMAndRowBytes()
1625 …Start + p->SwathWidth + *p->MetaRequestWidth - 1, *p->MetaRequestWidth) - math_floor2(p->ViewportX… in CalculateVMAndRowBytes()
1630 …Start + p->SwathWidth + *p->MetaRequestWidth - 1, *p->MetaRequestWidth) - math_floor2(p->ViewportX… in CalculateVMAndRowBytes()
1632 …width = (unsigned int)(math_ceil2(p->SwathWidth - 1, *p->MetaRequestWidth) + *p->MetaRequestWidth); in CalculateVMAndRowBytes()
1636 *p->meta_row_height = *p->MetaRequestWidth; in CalculateVMAndRowBytes()
1642 …*p->meta_row_bytes = (unsigned int)(*p->meta_row_width * *p->MetaRequestWidth * p->BytePerPixel / … in CalculateVMAndRowBytes()
2952 scratch->calculate_vm_and_row_bytes_params.MetaRequestWidth = &p->meta_req_width_chroma[k]; in CalculateVMRowAndSwath()
3030 scratch->calculate_vm_and_row_bytes_params.MetaRequestWidth = &p->meta_req_width_luma[k]; in CalculateVMRowAndSwath()
11702 mode_lib->scratch.calculate_vm_and_row_bytes_params.MetaRequestWidth = &dummy_integer[16]; in dml2_core_calcs_get_dpte_row_height()