Home
last modified time | relevance | path

Searched refs:MacroTileSizeBytes (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c892 unsigned int MacroTileSizeBytes; in CalculateVMAndRowBytes() local
942 MacroTileSizeBytes = 256; in CalculateVMAndRowBytes()
946 MacroTileSizeBytes = 4096; in CalculateVMAndRowBytes()
952 MacroTileSizeBytes = 65536; in CalculateVMAndRowBytes()
955 MacroTileSizeBytes = 262144; in CalculateVMAndRowBytes()
958 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
972 - MacroTileSizeBytes) in CalculateVMAndRowBytes()
987 - MacroTileSizeBytes) in CalculateVMAndRowBytes()
1013 } else if (MacroTileSizeBytes == 4096) { in CalculateVMAndRowBytes()
1021 } else if (VMMPageSize == 4096 && MacroTileSizeBytes > 4096) { in CalculateVMAndRowBytes()
Ddisplay_mode_vba_20v2.c952 unsigned int MacroTileSizeBytes; in CalculateVMAndRowBytes() local
1002 MacroTileSizeBytes = 256; in CalculateVMAndRowBytes()
1006 MacroTileSizeBytes = 4096; in CalculateVMAndRowBytes()
1012 MacroTileSizeBytes = 65536; in CalculateVMAndRowBytes()
1015 MacroTileSizeBytes = 262144; in CalculateVMAndRowBytes()
1018 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1032 - MacroTileSizeBytes) in CalculateVMAndRowBytes()
1047 - MacroTileSizeBytes) in CalculateVMAndRowBytes()
1073 } else if (MacroTileSizeBytes == 4096) { in CalculateVMAndRowBytes()
1081 } else if (VMMPageSize == 4096 && MacroTileSizeBytes > 4096) { in CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c1298 unsigned int MacroTileSizeBytes; in CalculateVMAndRowBytes() local
1348 MacroTileSizeBytes = 256; in CalculateVMAndRowBytes()
1352 MacroTileSizeBytes = 4096; in CalculateVMAndRowBytes()
1358 MacroTileSizeBytes = 65536; in CalculateVMAndRowBytes()
1361 MacroTileSizeBytes = 262144; in CalculateVMAndRowBytes()
1364 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1368 …tHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes) / (8 * 2097… in CalculateVMAndRowBytes()
1370 …thWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes) / (8 * 2097… in CalculateVMAndRowBytes()
1394 } else if (MacroTileSizeBytes == 4096) { in CalculateVMAndRowBytes()
1403 } else if (VMMPageSize == 4096 && MacroTileSizeBytes > 4096) { in CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c1696 unsigned int MacroTileSizeBytes = 0; in CalculateVMAndRowBytes() local
1745 MacroTileSizeBytes = 256; in CalculateVMAndRowBytes()
1748 MacroTileSizeBytes = 65536; in CalculateVMAndRowBytes()
1751 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1755 …tHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes) / (8 * 2097… in CalculateVMAndRowBytes()
1757 …thWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes) / (8 * 2097… in CalculateVMAndRowBytes()
1778 } else if (MacroTileSizeBytes == 4096) { in CalculateVMAndRowBytes()
1787 } else if (GPUVMMinPageSize == 4 && MacroTileSizeBytes > 4096) { in CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c1831 unsigned int MacroTileSizeBytes; local
1876 MacroTileSizeBytes = 256;
1879 MacroTileSizeBytes = 65536;
1882 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1888 …_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes)
1894 …((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes)
1927 } else if (GPUVMMinPageSize == 4 && MacroTileSizeBytes > 4096) {
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1848 unsigned int MacroTileSizeBytes; local
1893 MacroTileSizeBytes = 256;
1896 MacroTileSizeBytes = 65536;
1899 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1905 …_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes)
1911 …((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes)
1944 } else if (GPUVMMinPageSize == 4 && MacroTileSizeBytes > 4096) {
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2308 unsigned int MacroTileSizeBytes; in dml32_CalculateVMAndRowBytes() local
2374 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in dml32_CalculateVMAndRowBytes()
2386 …*DPDE0BytesFrame = 64 * (dml_ceil((Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / in dml32_CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c2494 dml_uint_t MacroTileSizeBytes; in CalculateVMAndRowBytes() local
2547 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in CalculateVMAndRowBytes()
2558 …dml_ceil((dml_float_t) (Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / (dml_floa… in CalculateVMAndRowBytes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c4290 unsigned int MacroTileSizeBytes; in CalculateVMAndRowBytes() local
4367 MacroTileSizeBytes = p->MacroTileWidth * p->BytePerPixel * p->MacroTileHeight; in CalculateVMAndRowBytes()
4378 …th_ceil2((double)(p->Pitch * vp_height_dpte_ub * p->BytePerPixel - MacroTileSizeBytes) / (double)(… in CalculateVMAndRowBytes()
Ddml2_core_dcn4_calcs.c1613 unsigned int MacroTileSizeBytes; in CalculateVMAndRowBytes() local
1691 MacroTileSizeBytes = p->MacroTileWidth * p->BytePerPixel * p->MacroTileHeight; in CalculateVMAndRowBytes()
1702 …th_ceil2((double)(p->Pitch * vp_height_dpte_ub * p->BytePerPixel - MacroTileSizeBytes) / (double)(… in CalculateVMAndRowBytes()