Home
last modified time | relevance | path

Searched refs:dml_round_to_multiple (Results 1 – 14 of 14) sorted by relevance

/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20v2.c226 …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()
461 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr()
465 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) in get_meta_and_pte_attr()
497 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr()
502 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr()
528 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) in get_meta_and_pte_attr()
531 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr()
619 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr()
[all …]
Ddisplay_rq_dlg_calc_20.c226 …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()
461 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr()
465 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) in get_meta_and_pte_attr()
497 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr()
502 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr()
528 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) in get_meta_and_pte_attr()
531 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr()
619 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c206 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()
453 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr()
457 rq_dlg_param->swath_width_ub = dml_round_to_multiple( in get_meta_and_pte_attr()
491 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr()
496 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr()
522 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) in get_meta_and_pte_attr()
525 meta_pte_req_per_frame_ub = (dml_round_to_multiple( in get_meta_and_pte_attr()
620 dpte_row_width_ub = dml_round_to_multiple( in get_meta_and_pte_attr()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c263 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()
693 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_surf_rq_param()
697 rq_dlg_param->swath_width_ub = dml_round_to_multiple( in get_surf_rq_param()
735 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_surf_rq_param()
740 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_surf_rq_param()
764 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) in get_surf_rq_param()
767 meta_pte_req_per_frame_ub = (dml_round_to_multiple( in get_surf_rq_param()
863 dpte_row_width_ub = dml_round_to_multiple( in get_surf_rq_param()
[all …]
Ddml_inline_defs.h133 static inline unsigned int dml_round_to_multiple(unsigned int num, in dml_round_to_multiple() function
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c150 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int)((2.0 * detile_buf_size_in_bytes) / 3… in extract_rq_regs()
179 …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()
182 …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()
412 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr()
428 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr()
470 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) in get_meta_and_pte_attr()
475 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) in get_meta_and_pte_attr()
501 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) in get_meta_and_pte_attr()
504 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr()
590 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c148 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int) ((2.0 * detile_buf_size_in_bytes) / … in extract_rq_regs()
191 …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()
192 …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()
432 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr()
448 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr()
487 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) + meta_req_width; in get_meta_and_pte_attr()
491 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) + meta_req_height; in get_meta_and_pte_attr()
510 …meta_surface_bytes = meta_pitch * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta… in get_meta_and_pte_attr()
512 …meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 8 * vmpg_bytes… in get_meta_and_pte_attr()
591 …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()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c236 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int) ((2.0 * detile_buf_size_in_bytes) / … in extract_rq_regs()
279 …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()
280 …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()
520 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr()
536 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr()
575 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) + meta_req_width; in get_meta_and_pte_attr()
579 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) + meta_req_height; in get_meta_and_pte_attr()
598 …meta_surface_bytes = meta_pitch * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta… in get_meta_and_pte_attr()
600 …meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 8 * vmpg_bytes… in get_meta_and_pte_attr()
679 …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()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_util.h51 __DML_DLL_EXPORT__ dml_uint_t dml_round_to_multiple(dml_uint_t num, dml_uint_t multiple, dml_bool_t…
Ddml_display_rq_dlg_calc.c172 …detile_buf_plane1_addr = (dml_uint_t)(dml_round_to_multiple((dml_uint_t)((2.0 * detile_buf_size_in… in dml_rq_dlg_get_rq_reg()
Ddisplay_mode_util.c201 dml_uint_t dml_round_to_multiple(dml_uint_t num, dml_uint_t multiple, dml_bool_t up) in dml_round_to_multiple() function
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_rq_dlg_calc_32.c182 dml_round_to_multiple( in dml32_rq_dlg_get_rq_reg()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c27 static unsigned int dml_round_to_multiple(unsigned int num, unsigned int multiple, bool up);
2980 static unsigned int dml_round_to_multiple(unsigned int num, unsigned int multiple, bool up) in dml_round_to_multiple() function
11580 …detile_buf_plane1_addr = (unsigned int)(dml_round_to_multiple((unsigned int)((2.0 * detile_buf_siz… in rq_dlg_get_rq_reg()
Ddml2_core_dcn4_calcs.c190 static unsigned int dml_round_to_multiple(unsigned int num, unsigned int multiple, bool up) in dml_round_to_multiple() function
12342 …detile_buf_plane1_addr = (unsigned int)(dml_round_to_multiple((unsigned int)((2.0 * detile_buf_siz… in rq_dlg_get_rq_reg()