Searched refs:dml_round_to_multiple (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 226 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int) ((2.0 * detile_buf_size_in_bytes) / … in extract_rq_regs() 255 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2 / 3, in handle_det_buf_split() 258 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2 / 3, in handle_det_buf_split() 448 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 452 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) in get_meta_and_pte_attr() 486 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr() 491 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr() 517 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) in get_meta_and_pte_attr() 520 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr() 608 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() [all …]
|
D | display_rq_dlg_calc_20v2.c | 226 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int) ((2.0 * detile_buf_size_in_bytes) / … in extract_rq_regs() 255 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2 / 3, in handle_det_buf_split() 258 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2 / 3, in handle_det_buf_split() 448 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 452 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) in get_meta_and_pte_attr() 486 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr() 491 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr() 517 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) in get_meta_and_pte_attr() 520 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr() 608 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 206 detile_buf_plane1_addr = dml_round_to_multiple( in extract_rq_regs() 237 full_swath_bytes_packed_l = dml_round_to_multiple( in handle_det_buf_split() 241 full_swath_bytes_packed_c = dml_round_to_multiple( in handle_det_buf_split() 440 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 444 rq_dlg_param->swath_width_ub = dml_round_to_multiple( in get_meta_and_pte_attr() 480 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr() 485 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr() 511 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) in get_meta_and_pte_attr() 514 meta_pte_req_per_frame_ub = (dml_round_to_multiple( in get_meta_and_pte_attr() 609 dpte_row_width_ub = dml_round_to_multiple( in get_meta_and_pte_attr() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 263 detile_buf_plane1_addr = dml_round_to_multiple( in dml1_extract_rq_regs() 294 full_swath_bytes_packed_l = dml_round_to_multiple( in handle_det_buf_split() 298 full_swath_bytes_packed_c = dml_round_to_multiple( in handle_det_buf_split() 676 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_surf_rq_param() 680 rq_dlg_param->swath_width_ub = dml_round_to_multiple( in get_surf_rq_param() 718 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_surf_rq_param() 723 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_surf_rq_param() 747 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) in get_surf_rq_param() 750 meta_pte_req_per_frame_ub = (dml_round_to_multiple( in get_surf_rq_param() 846 dpte_row_width_ub = dml_round_to_multiple( in get_surf_rq_param() [all …]
|
D | dml_inline_defs.h | 130 static inline unsigned int dml_round_to_multiple(unsigned int num, in dml_round_to_multiple() function
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 151 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int)((2.0 * detile_buf_size_in_bytes) / 3… in extract_rq_regs() 180 …full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2.0 / 3.0, in handle_det_buf_split() 183 …full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2.0 / 3.0, in handle_det_buf_split() 487 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 503 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr() 547 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr() 552 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr() 578 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) in get_meta_and_pte_attr() 581 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr() 667 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() [all …]
|