Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/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.6.21/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 (MacroTileSizeBytes == 4096) {
1936 } else if (GPUVMMinPageSize == 4 && MacroTileSizeBytes > 4096) {
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1851 unsigned int MacroTileSizeBytes; local
1896 MacroTileSizeBytes = 256;
1899 MacroTileSizeBytes = 65536;
1902 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1908 …_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes)
1914 …((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSizeBytes)
1947 } else if (MacroTileSizeBytes == 4096) {
1956 } else if (GPUVMMinPageSize == 4 && MacroTileSizeBytes > 4096) {
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2310 unsigned int MacroTileSizeBytes; in dml32_CalculateVMAndRowBytes() local
2376 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in dml32_CalculateVMAndRowBytes()
2388 …*DPDE0BytesFrame = 64 * (dml_ceil((Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / in dml32_CalculateVMAndRowBytes()