/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 391 unsigned int vp_width, in get_meta_and_pte_attr() argument 521 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 526 if (data_pitch >= vp_width) in get_meta_and_pte_attr() 529 …s: swath_size calculation ignoring data_pitch=%u < vp_width=%u\n", __func__, data_pitch, vp_width); in get_meta_and_pte_attr() 578 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) + meta_req_width; in get_meta_and_pte_attr() 689 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) + dpte_req_width; in get_meta_and_pte_attr() 746 unsigned int vp_width = 0; in get_surf_rq_param() local 755 vp_width = pipe_param->src.viewport_width_c / ppe; in get_surf_rq_param() 761 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 785 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param() [all …]
|
/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 372 unsigned int vp_width, in get_meta_and_pte_attr() argument 505 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 510 if (data_pitch >= vp_width) in get_meta_and_pte_attr() 513 …s: swath_size calculation ignoring data_pitch=%u < vp_width=%u\n", __func__, data_pitch, vp_width); in get_meta_and_pte_attr() 565 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr() 694 dpte_row_width_ub = dml_round_to_multiple(vp_width - 1, dpte_req_width, 1) in get_meta_and_pte_attr() 755 unsigned int vp_width = 0; in get_surf_rq_param() local 764 vp_width = pipe_param->src.viewport_width_c / ppe; in get_surf_rq_param() 770 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 793 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param() [all …]
|
/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()
|
/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()
|
/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
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()
|
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()
|