/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 2298 unsigned int *PixelPTEReqHeight, in dml32_CalculateVMAndRowBytes() 2421 *PixelPTEReqHeight = 1; in dml32_CalculateVMAndRowBytes() 2426 *PixelPTEReqHeight = 16 * BlockHeight256Bytes; in dml32_CalculateVMAndRowBytes() 2430 *PixelPTEReqHeight = MacroTileHeight; in dml32_CalculateVMAndRowBytes() 2437 dml_print("DML::%s: PixelPTEReqHeight = %d\n", __func__, *PixelPTEReqHeight); in dml32_CalculateVMAndRowBytes() 2446 (double) *PixelPTEReqHeight - 1) / (double) *PixelPTEReqWidth, 1) + 1) * in dml32_CalculateVMAndRowBytes() 2477 *dpte_row_height = *PixelPTEReqHeight; in dml32_CalculateVMAndRowBytes() 2480 *dpte_row_width_ub = (dml_ceil((Pitch * *dpte_row_height / *PixelPTEReqHeight - 1) / in dml32_CalculateVMAndRowBytes() 2496 *dpte_row_width_ub = dml_floor(ViewportYStart + ViewportHeight + *PixelPTEReqHeight - 1, in dml32_CalculateVMAndRowBytes() 2497 *PixelPTEReqHeight) - dml_floor(ViewportYStart, *PixelPTEReqHeight); in dml32_CalculateVMAndRowBytes() [all …]
|
D | display_mode_vba_util_32.h | 474 unsigned int *PixelPTEReqHeight,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 203 unsigned int *PixelPTEReqHeight, 1291 unsigned int *PixelPTEReqHeight, in CalculateVMAndRowBytes() 1390 *PixelPTEReqHeight = 1; in CalculateVMAndRowBytes() 1396 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1405 *PixelPTEReqHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1411 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1426 *dpte_row_height = *PixelPTEReqHeight; in CalculateVMAndRowBytes() 1431 …ow_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTEReqHeig… in CalculateVMAndRowBytes() 1432 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize; in CalculateVMAndRowBytes()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 213 unsigned int *PixelPTEReqHeight, 1689 unsigned int *PixelPTEReqHeight, in CalculateVMAndRowBytes() 1774 *PixelPTEReqHeight = 1; in CalculateVMAndRowBytes() 1780 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1789 *PixelPTEReqHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1795 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1809 *dpte_row_height = *PixelPTEReqHeight; in CalculateVMAndRowBytes() 1814 …ow_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTEReqHeig… in CalculateVMAndRowBytes() 1815 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize; in CalculateVMAndRowBytes()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 1003 unsigned int PixelPTEReqHeight; in CalculateVMAndRowBytes() local 1009 PixelPTEReqHeight = 1; in CalculateVMAndRowBytes() 1014 PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1022 PixelPTEReqHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1027 PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1059 *dpte_row_height = PixelPTEReqHeight; in CalculateVMAndRowBytes() 1068 / PixelPTEReqHeight, in CalculateVMAndRowBytes()
|
D | display_mode_vba_20v2.c | 1063 unsigned int PixelPTEReqHeight; in CalculateVMAndRowBytes() local 1069 PixelPTEReqHeight = 1; in CalculateVMAndRowBytes() 1074 PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1082 PixelPTEReqHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 1087 PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 1119 *dpte_row_height = PixelPTEReqHeight; in CalculateVMAndRowBytes() 1128 / PixelPTEReqHeight, in CalculateVMAndRowBytes()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 230 unsigned int *PixelPTEReqHeight, 1823 unsigned int *PixelPTEReqHeight, 1923 *PixelPTEReqHeight = 1; 1929 *PixelPTEReqHeight = 16 * BlockHeight256Bytes; 1935 *PixelPTEReqHeight = MacroTileHeight; 1946 *dpte_row_height = *PixelPTEReqHeight; 1951 …ow_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTEReqHeig… 1952 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 239 unsigned int *PixelPTEReqHeight, 1840 unsigned int *PixelPTEReqHeight, 1940 *PixelPTEReqHeight = 1; 1946 *PixelPTEReqHeight = 16 * BlockHeight256Bytes; 1952 *PixelPTEReqHeight = MacroTileHeight; 1963 *dpte_row_height = *PixelPTEReqHeight; 1968 …ow_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTEReqHeig… 1969 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared.c | 4361 *p->PixelPTEReqHeight = 0; in CalculateVMAndRowBytes() 4410 *p->PixelPTEReqHeight = 1; in CalculateVMAndRowBytes() 4418 *p->PixelPTEReqHeight = p->MacroTileHeight; in CalculateVMAndRowBytes() 4427 *p->PixelPTEReqHeight = 16 * p->BlockHeight256Bytes; in CalculateVMAndRowBytes() 4431 *p->vmpg_height = *p->PixelPTEReqHeight; in CalculateVMAndRowBytes() 4435 *p->PixelPTEReqHeight = p->MacroTileHeight; in CalculateVMAndRowBytes() 4451 dml2_printf("DML::%s: PixelPTEReqHeight = %u\n", __func__, *p->PixelPTEReqHeight); in CalculateVMAndRowBytes() 4461 …Pitch * (double)*p->dpte_row_height_one_row_per_frame / (double)*p->PixelPTEReqHeight - 1) / (doub… in CalculateVMAndRowBytes() 4480 *p->dpte_row_height = *p->PixelPTEReqHeight; in CalculateVMAndRowBytes() 4483 …ceil2(((double)p->Pitch * (double)*p->dpte_row_height / (double)*p->PixelPTEReqHeight - 1) / (doub… in CalculateVMAndRowBytes() [all …]
|
D | dml2_core_dcn4_calcs.c | 1685 *p->PixelPTEReqHeight = 0; in CalculateVMAndRowBytes() 1732 *p->PixelPTEReqHeight = 1; in CalculateVMAndRowBytes() 1740 *p->PixelPTEReqHeight = p->MacroTileHeight; in CalculateVMAndRowBytes() 1749 *p->PixelPTEReqHeight = 16 * p->BlockHeight256Bytes; in CalculateVMAndRowBytes() 1753 *p->vmpg_height = *p->PixelPTEReqHeight; in CalculateVMAndRowBytes() 1757 *p->PixelPTEReqHeight = p->MacroTileHeight; in CalculateVMAndRowBytes() 1773 dml2_printf("DML::%s: PixelPTEReqHeight = %u\n", __func__, *p->PixelPTEReqHeight); in CalculateVMAndRowBytes() 1783 …Pitch * (double)*p->dpte_row_height_one_row_per_frame / (double)*p->PixelPTEReqHeight - 1) / (doub… in CalculateVMAndRowBytes() 1802 *p->dpte_row_height = *p->PixelPTEReqHeight; in CalculateVMAndRowBytes() 1805 …ceil2(((double)p->Pitch * (double)*p->dpte_row_height / (double)*p->PixelPTEReqHeight - 1) / (doub… in CalculateVMAndRowBytes() [all …]
|
D | dml2_core_shared_types.h | 1295 unsigned int *PixelPTEReqHeight; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 270 dml_uint_t *PixelPTEReqHeight, 2485 dml_uint_t *PixelPTEReqHeight, in CalculateVMAndRowBytes() 2588 *PixelPTEReqHeight = 1; in CalculateVMAndRowBytes() 2593 *PixelPTEReqHeight = 16 * BlockHeight256Bytes; in CalculateVMAndRowBytes() 2597 *PixelPTEReqHeight = MacroTileHeight; in CalculateVMAndRowBytes() 2604 dml_print("DML::%s: PixelPTEReqHeight = %u\n", __func__, *PixelPTEReqHeight); in CalculateVMAndRowBytes() 2612 …* (dml_float_t) *dpte_row_height_one_row_per_frame / (dml_float_t) *PixelPTEReqHeight - 1) / (dml_… in CalculateVMAndRowBytes() 2636 *dpte_row_height = *PixelPTEReqHeight; in CalculateVMAndRowBytes() 2639 …ml_float_t) Pitch * (dml_float_t) *dpte_row_height / (dml_float_t) *PixelPTEReqHeight - 1) / (dml_… in CalculateVMAndRowBytes() 2656 …wportYStart + ViewportHeight + *PixelPTEReqHeight - 1, *PixelPTEReqHeight) - dml_floor(ViewportYSt… in CalculateVMAndRowBytes() [all …]
|