/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 614 unsigned int dpte_row_width_ub; in get_surf_rq_param() local 808 dpte_row_width_ub = 0; in get_surf_rq_param() 864 dpte_row_width_ub = dml_round_to_multiple( in get_surf_rq_param() 868 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_surf_rq_param() 873 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_surf_rq_param() 875 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_surf_rq_param() 880 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_surf_rq_param() 882 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_surf_rq_param() 924 (double) dpte_row_width_ub / dpte_group_width, in get_surf_rq_param()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 409 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local 626 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 629 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 635 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr() 637 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 642 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_meta_and_pte_attr() 644 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr() 680 rq_dlg_param->dpte_groups_per_row_ub = dml_ceil((double) dpte_row_width_ub / dpte_group_width, in get_meta_and_pte_attr()
|
D | display_rq_dlg_calc_20v2.c | 409 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local 626 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 629 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 635 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr() 637 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 642 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_meta_and_pte_attr() 644 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr() 680 rq_dlg_param->dpte_groups_per_row_ub = dml_ceil((double) dpte_row_width_ub / dpte_group_width, in get_meta_and_pte_attr()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 400 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local 627 dpte_row_width_ub = dml_round_to_multiple( in get_meta_and_pte_attr() 631 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 637 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr() 639 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 644 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_meta_and_pte_attr() 646 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr() 688 (double) dpte_row_width_ub / dpte_group_width, in get_meta_and_pte_attr()
|
D | display_mode_vba_21.c | 194 unsigned int *dpte_row_width_ub, 1282 unsigned int *dpte_row_width_ub, in CalculateVMAndRowBytes() 1423 …*dpte_row_width_ub = (dml_ceil((double) (Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1… in CalculateVMAndRowBytes() 1424 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; in CalculateVMAndRowBytes() 1427 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… in CalculateVMAndRowBytes() 1428 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; in CalculateVMAndRowBytes() 1431 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… in CalculateVMAndRowBytes() 1432 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize; in CalculateVMAndRowBytes()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 355 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local 596 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 599 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 605 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr() 607 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 612 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_meta_and_pte_attr() 614 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr() 653 rq_dlg_param->dpte_groups_per_row_ub = dml_ceil((double)dpte_row_width_ub / dpte_group_width, in get_meta_and_pte_attr()
|
D | display_mode_vba_30.c | 206 unsigned int *dpte_row_width_ub, 1683 unsigned int *dpte_row_width_ub, in CalculateVMAndRowBytes() argument 1806 …*dpte_row_width_ub = (dml_ceil(((double) SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… in CalculateVMAndRowBytes() 1807 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; in CalculateVMAndRowBytes() 1810 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… in CalculateVMAndRowBytes() 1811 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; in CalculateVMAndRowBytes() 1814 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… in CalculateVMAndRowBytes() 1815 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize; in CalculateVMAndRowBytes()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 374 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local 595 …dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, dpte_req_width, 1) + d… in get_meta_and_pte_attr() 596 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 602 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) + dpte_req_width; in get_meta_and_pte_attr() 603 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 606 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) + dpte_req_height; in get_meta_and_pte_attr() 607 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr() 646 rq_dlg_param->dpte_groups_per_row_ub = dml_ceil((double) dpte_row_width_ub / dpte_group_width, 1); in get_meta_and_pte_attr()
|
D | display_mode_vba_31.c | 222 int *dpte_row_width_ub, 1811 int *dpte_row_width_ub, argument 1949 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)… 1950 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; 1953 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… 1954 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; 1957 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… 1958 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize;
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 462 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local 683 …dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, dpte_req_width, 1) + d… in get_meta_and_pte_attr() 684 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 690 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) + dpte_req_width; in get_meta_and_pte_attr() 691 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 694 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) + dpte_req_height; in get_meta_and_pte_attr() 695 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr() 734 rq_dlg_param->dpte_groups_per_row_ub = dml_ceil((double) dpte_row_width_ub / dpte_group_width, 1); in get_meta_and_pte_attr()
|
D | display_mode_vba_314.c | 234 int *dpte_row_width_ub, 1832 int *dpte_row_width_ub, argument 1970 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)… 1971 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; 1974 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… 1975 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; 1978 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… 1979 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize;
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 2284 unsigned int *dpte_row_width_ub, in dml32_CalculateVMAndRowBytes() 2463 *dpte_row_width_ub = dml_ceil(((double) Pitch * (double) *dpte_row_height - 1), in dml32_CalculateVMAndRowBytes() 2465 *PixelPTEBytesPerRow = *dpte_row_width_ub / (double)*PixelPTEReqWidth * (double)*PTERequestSize; in dml32_CalculateVMAndRowBytes() 2477 *dpte_row_width_ub = (dml_ceil((Pitch * *dpte_row_height / *PixelPTEReqHeight - 1) / in dml32_CalculateVMAndRowBytes() 2480 *dpte_row_width_ub = dml_floor(ViewportXStart + SwathWidth + in dml32_CalculateVMAndRowBytes() 2484 *dpte_row_width_ub = (dml_ceil((SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * in dml32_CalculateVMAndRowBytes() 2488 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; in dml32_CalculateVMAndRowBytes() 2493 *dpte_row_width_ub = dml_floor(ViewportYStart + ViewportHeight + *PixelPTEReqHeight - 1, in dml32_CalculateVMAndRowBytes() 2496 *dpte_row_width_ub = (dml_ceil((SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) in dml32_CalculateVMAndRowBytes() 2500 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize; in dml32_CalculateVMAndRowBytes() [all …]
|
D | display_mode_vba_util_32.h | 460 unsigned int *dpte_row_width_ub,
|