/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 282 unsigned int vp_height, in get_meta_and_pte_attr() argument 430 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr() 435 if (surface_height >= vp_height) in get_meta_and_pte_attr() 438 …size calculation ignored surface_height=%u < vp_height=%u\n", __func__, surface_height, vp_height); in get_meta_and_pte_attr() 479 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr() 505 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) 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() 665 unsigned int vp_height = 0; in get_surf_rq_param() local 674 vp_height = pipe_param->src.viewport_height_c; in get_surf_rq_param() 680 vp_height = pipe_param->src.viewport_height; 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 | 305 unsigned int vp_height, in get_meta_and_pte_attr() argument 450 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr() 455 if (surface_height >= vp_height) in get_meta_and_pte_attr() 458 …size calculation ignored surface_height=%u < vp_height=%u\n", __func__, surface_height, vp_height); in get_meta_and_pte_attr() 495 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) + meta_req_height; in get_meta_and_pte_attr() 514 …meta_surface_bytes = meta_pitch * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta… 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() 660 unsigned int vp_height = 0; in get_surf_rq_param() local 669 vp_height = pipe_param->src.viewport_height_c; in get_surf_rq_param() 675 vp_height = pipe_param->src.viewport_height; 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 | 393 unsigned int vp_height, in get_meta_and_pte_attr() argument 538 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr() 543 if (surface_height >= vp_height) in get_meta_and_pte_attr() 546 …size calculation ignored surface_height=%u < vp_height=%u\n", __func__, surface_height, vp_height); in get_meta_and_pte_attr() 583 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) + meta_req_height; in get_meta_and_pte_attr() 602 …meta_surface_bytes = meta_pitch * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta… 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() 748 unsigned int vp_height = 0; in get_surf_rq_param() local 757 vp_height = pipe_param->src.viewport_height_c; in get_surf_rq_param() 763 vp_height = pipe_param->src.viewport_height; 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 | 326 unsigned int vp_height, in get_meta_and_pte_attr() argument 463 vp_height - 1, in get_meta_and_pte_attr() 503 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr() 529 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) 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() 702 unsigned int vp_height = 0; in get_surf_rq_param() local 710 vp_height = pipe_param->src.viewport_height_c; in get_surf_rq_param() 715 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param() 739 vp_height = dml_min(full_src_vp_width, src_hactive_half); in get_surf_rq_param() 740 dml_print("DML_DLG: %s: vp_height = %d\n", __func__, vp_height); in get_surf_rq_param() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 339 unsigned int vp_height, in get_meta_and_pte_attr() argument 470 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) in get_meta_and_pte_attr() 509 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr() 535 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) 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() 693 unsigned int vp_height = 0; in get_surf_rq_param() local 701 vp_height = pipe_src_param->viewport_height_c; in get_surf_rq_param() 706 vp_height = pipe_src_param->viewport_height; in get_surf_rq_param() 728 vp_height, in get_surf_rq_param()
|
D | display_rq_dlg_calc_20v2.c | 339 unsigned int vp_height, in get_meta_and_pte_attr() argument 470 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) in get_meta_and_pte_attr() 509 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr() 535 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) 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() 693 unsigned int vp_height = 0; in get_surf_rq_param() local 701 vp_height = pipe_src_param->viewport_height_c; in get_surf_rq_param() 706 vp_height = pipe_src_param->viewport_height; in get_surf_rq_param() 728 vp_height, in get_surf_rq_param()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 564 unsigned int vp_height = 0; in get_surf_rq_param() local 626 vp_height = pipe_src_param->viewport_height_c; in get_surf_rq_param() 631 vp_height = pipe_src_param->viewport_height; in get_surf_rq_param() 699 vp_height - 1, in get_surf_rq_param() 741 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_surf_rq_param() 765 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) 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()
|