/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 281 unsigned int vp_width, in get_meta_and_pte_attr() argument 414 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 419 if (data_pitch >= vp_width) in get_meta_and_pte_attr() 422 …s: swath_size calculation ignoring data_pitch=%u < vp_width=%u\n", __func__, data_pitch, vp_width); in get_meta_and_pte_attr() 474 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 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() 664 unsigned int vp_width = 0; in get_surf_rq_param() local 673 vp_width = pipe_param->src.viewport_width_c / ppe; in get_surf_rq_param() 679 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 702 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 304 unsigned int vp_width, in get_meta_and_pte_attr() argument 434 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 439 if (data_pitch >= vp_width) in get_meta_and_pte_attr() 442 …s: swath_size calculation ignoring data_pitch=%u < vp_width=%u\n", __func__, data_pitch, vp_width); in get_meta_and_pte_attr() 491 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) + meta_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() 659 unsigned int vp_width = 0; in get_surf_rq_param() local 668 vp_width = pipe_param->src.viewport_width_c / ppe; in get_surf_rq_param() 674 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 698 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 392 unsigned int vp_width, in get_meta_and_pte_attr() argument 522 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 527 if (data_pitch >= vp_width) in get_meta_and_pte_attr() 530 …s: swath_size calculation ignoring data_pitch=%u < vp_width=%u\n", __func__, data_pitch, vp_width); in get_meta_and_pte_attr() 579 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) + meta_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() 747 unsigned int vp_width = 0; in get_surf_rq_param() local 756 vp_width = pipe_param->src.viewport_width_c / ppe; in get_surf_rq_param() 762 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 786 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 325 unsigned int vp_width, in get_meta_and_pte_attr() argument 458 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 498 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 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() 701 unsigned int vp_width = 0; in get_surf_rq_param() local 709 vp_width = pipe_param->src.viewport_width_c / ppe; in get_surf_rq_param() 714 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 736 vp_width = dml_min(full_src_vp_width, src_hactive_half); in get_surf_rq_param() 737 dml_print("DML_DLG: %s: vp_width = %d\n", __func__, vp_width); in get_surf_rq_param() 767 vp_width, in get_surf_rq_param()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 386 unsigned int vp_width, in dml1_rq_dlg_get_row_heights() argument 547 if (!surf_vert && vp_width > (2560 + 16) && bytes_per_element >= 4 && log2_vmpg_bytes == 12 in dml1_rq_dlg_get_row_heights() 563 unsigned int vp_width = 0; in get_surf_rq_param() local 625 vp_width = pipe_src_param->viewport_width_c / ppe; in get_surf_rq_param() 630 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 694 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_surf_rq_param() 736 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 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() 893 if (!surf_vert && vp_width > (2560 + 16) && bytes_per_element >= 4 && log2_vmpg_bytes == 12 in get_surf_rq_param() 931 vp_width, in get_surf_rq_param()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 338 unsigned int vp_width, in get_meta_and_pte_attr() argument 466 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 504 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 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() 692 unsigned int vp_width = 0; in get_surf_rq_param() local 700 vp_width = pipe_src_param->viewport_width_c / ppe; in get_surf_rq_param() 705 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 727 vp_width, in get_surf_rq_param()
|
D | display_rq_dlg_calc_20v2.c | 338 unsigned int vp_width, in get_meta_and_pte_attr() argument 466 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 504 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 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() 692 unsigned int vp_width = 0; in get_surf_rq_param() local 700 vp_width = pipe_src_param->viewport_width_c / ppe; in get_surf_rq_param() 705 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 727 vp_width, in get_surf_rq_param()
|