/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 2282 unsigned int MacroTileHeight, in dml32_CalculateVMAndRowBytes() 2374 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in dml32_CalculateVMAndRowBytes() 2379 MacroTileHeight - 1, MacroTileHeight) - in dml32_CalculateVMAndRowBytes() 2380 dml_floor(ViewportYStart, MacroTileHeight); in dml32_CalculateVMAndRowBytes() 2382 vp_height_dpte_ub = dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight; in dml32_CalculateVMAndRowBytes() 2384 vp_height_dpte_ub = dml_ceil(SwathWidth - 1, MacroTileHeight) + MacroTileHeight; in dml32_CalculateVMAndRowBytes() 2405 dml_print("DML::%s: MacroTileHeight = %d\n", __func__, MacroTileHeight); in dml32_CalculateVMAndRowBytes() 2430 *PixelPTEReqHeight = MacroTileHeight; in dml32_CalculateVMAndRowBytes() 2431 *PixelPTEReqWidth = 8 * 1024 * GPUVMMinPageSizeKBytes / (MacroTileHeight * BytePerPixel); in dml32_CalculateVMAndRowBytes()
|
D | display_mode_vba_util_32.h | 458 unsigned int MacroTileHeight,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 893 unsigned int MacroTileHeight; in CalculateVMAndRowBytes() local 943 MacroTileHeight = BlockHeight256Bytes; in CalculateVMAndRowBytes() 947 MacroTileHeight = 4 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 953 MacroTileHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 956 MacroTileHeight = 32 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 958 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes() 969 MacroTileHeight) in CalculateVMAndRowBytes() 970 + MacroTileHeight) in CalculateVMAndRowBytes() 984 MacroTileHeight) in CalculateVMAndRowBytes() 985 + MacroTileHeight) in CalculateVMAndRowBytes() [all …]
|
D | display_mode_vba_20v2.c | 953 unsigned int MacroTileHeight; in CalculateVMAndRowBytes() local 1003 MacroTileHeight = BlockHeight256Bytes; in CalculateVMAndRowBytes() 1007 MacroTileHeight = 4 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1013 MacroTileHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1016 MacroTileHeight = 32 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1018 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes() 1029 MacroTileHeight) in CalculateVMAndRowBytes() 1030 + MacroTileHeight) in CalculateVMAndRowBytes() 1044 MacroTileHeight) in CalculateVMAndRowBytes() 1045 + MacroTileHeight) in CalculateVMAndRowBytes() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 1299 unsigned int MacroTileHeight; in CalculateVMAndRowBytes() local 1349 MacroTileHeight = BlockHeight256Bytes; in CalculateVMAndRowBytes() 1353 MacroTileHeight = 4 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1359 MacroTileHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1362 MacroTileHeight = 32 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1364 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes() 1368 …e = 64 * (dml_ceil(((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * B… in CalculateVMAndRowBytes() 1370 …4 * (dml_ceil(((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * B… in CalculateVMAndRowBytes() 1396 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1411 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 1697 unsigned int MacroTileHeight = 0; in CalculateVMAndRowBytes() local 1746 MacroTileHeight = BlockHeight256Bytes; in CalculateVMAndRowBytes() 1749 MacroTileHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1751 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes() 1755 …e = 64 * (dml_ceil(((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * B… in CalculateVMAndRowBytes() 1757 …4 * (dml_ceil(((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * B… in CalculateVMAndRowBytes() 1780 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1795 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_dcn4_calcs.c | 1691 MacroTileSizeBytes = p->MacroTileWidth * p->BytePerPixel * p->MacroTileHeight; in CalculateVMAndRowBytes() 1694 …tart + p->ViewportHeight + p->MacroTileHeight - 1, p->MacroTileHeight) - math_floor2(p->ViewportYS… in CalculateVMAndRowBytes() 1696 …(unsigned int)(math_ceil2((double)p->ViewportHeight - 1, p->MacroTileHeight) + p->MacroTileHeight); in CalculateVMAndRowBytes() 1698 …b = (unsigned int)(math_ceil2((double)p->SwathWidth - 1, p->MacroTileHeight) + p->MacroTileHeight); in CalculateVMAndRowBytes() 1719 dml2_printf("DML::%s: MacroTileHeight = %u\n", __func__, p->MacroTileHeight); in CalculateVMAndRowBytes() 1740 *p->PixelPTEReqHeight = p->MacroTileHeight; in CalculateVMAndRowBytes() 1741 …*p->PixelPTEReqWidth = 8 * 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixe… in CalculateVMAndRowBytes() 1744 *p->vmpg_height = p->MacroTileHeight; in CalculateVMAndRowBytes() 1745 *p->vmpg_width = 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); in CalculateVMAndRowBytes() 1757 *p->PixelPTEReqHeight = p->MacroTileHeight; in CalculateVMAndRowBytes() [all …]
|
D | dml2_core_shared.c | 4367 MacroTileSizeBytes = p->MacroTileWidth * p->BytePerPixel * p->MacroTileHeight; in CalculateVMAndRowBytes() 4370 …tart + p->ViewportHeight + p->MacroTileHeight - 1, p->MacroTileHeight) - math_floor2(p->ViewportYS… in CalculateVMAndRowBytes() 4372 …(unsigned int)(math_ceil2((double)p->ViewportHeight - 1, p->MacroTileHeight) + p->MacroTileHeight); in CalculateVMAndRowBytes() 4374 …b = (unsigned int)(math_ceil2((double)p->SwathWidth - 1, p->MacroTileHeight) + p->MacroTileHeight); in CalculateVMAndRowBytes() 4395 dml2_printf("DML::%s: MacroTileHeight = %u\n", __func__, p->MacroTileHeight); in CalculateVMAndRowBytes() 4418 *p->PixelPTEReqHeight = p->MacroTileHeight; in CalculateVMAndRowBytes() 4419 …*p->PixelPTEReqWidth = 8 * 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixe… in CalculateVMAndRowBytes() 4422 *p->vmpg_height = p->MacroTileHeight; in CalculateVMAndRowBytes() 4423 *p->vmpg_width = 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); in CalculateVMAndRowBytes() 4435 *p->PixelPTEReqHeight = p->MacroTileHeight; in CalculateVMAndRowBytes() [all …]
|
D | dml2_core_shared_types.h | 1278 unsigned int MacroTileHeight; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 1832 unsigned int MacroTileHeight; local 1877 MacroTileHeight = BlockHeight256Bytes; 1880 MacroTileHeight = 16 * BlockHeight256Bytes; 1882 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; 1888 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr… 1894 …((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) -… 1935 *PixelPTEReqHeight = MacroTileHeight;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 1849 unsigned int MacroTileHeight; local 1894 MacroTileHeight = BlockHeight256Bytes; 1897 MacroTileHeight = 16 * BlockHeight256Bytes; 1899 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; 1905 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr… 1911 …((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) -… 1952 *PixelPTEReqHeight = MacroTileHeight;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 253 dml_uint_t MacroTileHeight, 2468 dml_uint_t MacroTileHeight, in CalculateVMAndRowBytes() argument 2547 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in CalculateVMAndRowBytes() 2550 …r(ViewportYStart + ViewportHeight + MacroTileHeight - 1, MacroTileHeight) - dml_floor(ViewportYSta… in CalculateVMAndRowBytes() 2552 vp_height_dpte_ub = (dml_uint_t)(dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight); in CalculateVMAndRowBytes() 2554 vp_height_dpte_ub = (dml_uint_t)(dml_ceil(SwathWidth - 1, MacroTileHeight) + MacroTileHeight); in CalculateVMAndRowBytes() 2575 dml_print("DML::%s: MacroTileHeight = %u\n", __func__, MacroTileHeight); in CalculateVMAndRowBytes() 2597 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 2598 *PixelPTEReqWidth = 8 * 1024 * GPUVMMinPageSizeKBytes / (MacroTileHeight * BytePerPixel); in CalculateVMAndRowBytes() 9938 dml_uint_t MacroTileHeight; in dml_core_get_row_heights() local [all …]
|