/linux-6.6.21/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() 466 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 470 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 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() 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() 538 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr() 626 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() 466 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 470 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 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() 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() 538 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr() 626 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() [all …]
|
/linux-6.6.21/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() 458 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr() 462 rq_dlg_param->swath_width_ub = dml_round_to_multiple( 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() 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() 532 meta_pte_req_per_frame_ub = (dml_round_to_multiple( in get_meta_and_pte_attr() 627 dpte_row_width_ub = dml_round_to_multiple( in get_meta_and_pte_attr() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 150 …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() 414 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 430 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; 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() 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() 508 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, in get_meta_and_pte_attr() 594 dpte_row_width_ub = dml_round_to_multiple(data_pitch * dpte_row_height - 1, in get_meta_and_pte_attr() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 148 …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() 434 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 450 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; 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() 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() 516 …meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 8 * vmpg_bytes… in get_meta_and_pte_attr() 595 …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.6.21/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() 694 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_surf_rq_param() 698 rq_dlg_param->swath_width_ub = dml_round_to_multiple( 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() 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() 768 meta_pte_req_per_frame_ub = (dml_round_to_multiple( in get_surf_rq_param() 864 dpte_row_width_ub = dml_round_to_multiple( in get_surf_rq_param() [all …]
|
D | dml_inline_defs.h | 125 static inline unsigned int dml_round_to_multiple(unsigned int num, in dml_round_to_multiple() function
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 236 …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() 522 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 538 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; 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() 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() 604 …meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 8 * vmpg_bytes… in get_meta_and_pte_attr() 683 …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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_rq_dlg_calc_32.c | 182 dml_round_to_multiple( in dml32_rq_dlg_get_rq_reg()
|