/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 353 unsigned int dpte_row_width_ub = 0; in get_meta_and_pte_attr() local 594 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() 597 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 603 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr() 605 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_width; in get_meta_and_pte_attr() 610 dpte_row_width_ub = dml_round_to_multiple(vp_height - 1, dpte_req_height, 1) in get_meta_and_pte_attr() 612 rq_dlg_param->dpte_req_per_row_ub = dpte_row_width_ub / dpte_req_height; in get_meta_and_pte_attr() 651 rq_dlg_param->dpte_groups_per_row_ub = dml_ceil((double)dpte_row_width_ub / dpte_group_width, in get_meta_and_pte_attr()
|
H A D | display_mode_vba_30.c | 204 unsigned int *dpte_row_width_ub, 1680 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A 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()
|
H A D | display_mode_vba_31.c | 221 int *dpte_row_width_ub, 1814 int *dpte_row_width_ub, argument 1952 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)… 1953 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; 1956 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… 1957 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; 1960 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… 1961 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A 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()
|
H A D | display_mode_vba_314.c | 233 int *dpte_row_width_ub, 1834 int *dpte_row_width_ub, argument 1972 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)… 1973 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; 1976 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… 1977 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; 1980 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… 1981 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 2289 unsigned int *dpte_row_width_ub, in dml32_CalculateVMAndRowBytes() 2468 *dpte_row_width_ub = dml_ceil(((double) Pitch * (double) *dpte_row_height - 1), in dml32_CalculateVMAndRowBytes() 2470 *PixelPTEBytesPerRow = *dpte_row_width_ub / (double)*PixelPTEReqWidth * (double)*PTERequestSize; in dml32_CalculateVMAndRowBytes() 2482 *dpte_row_width_ub = (dml_ceil((Pitch * *dpte_row_height / *PixelPTEReqHeight - 1) / in dml32_CalculateVMAndRowBytes() 2485 *dpte_row_width_ub = dml_floor(ViewportXStart + SwathWidth + in dml32_CalculateVMAndRowBytes() 2489 *dpte_row_width_ub = (dml_ceil((SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * in dml32_CalculateVMAndRowBytes() 2493 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqWidth * *PTERequestSize; in dml32_CalculateVMAndRowBytes() 2498 *dpte_row_width_ub = dml_floor(ViewportYStart + ViewportHeight + *PixelPTEReqHeight - 1, in dml32_CalculateVMAndRowBytes() 2501 *dpte_row_width_ub = (dml_ceil((SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) in dml32_CalculateVMAndRowBytes() 2505 *PixelPTEBytesPerRow = *dpte_row_width_ub / *PixelPTEReqHeight * *PTERequestSize; in dml32_CalculateVMAndRowBytes() [all …]
|
H A D | display_mode_vba_util_32.h | 463 unsigned int *dpte_row_width_ub,
|