Searched refs:dml_round_to_multiple (Results 1 - 12 of 12) sorted by relevance
/linux-master/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml_inline_defs.h | 125 static inline unsigned int dml_round_to_multiple(unsigned int num, function
|
H A D | dml1_display_rq_dlg_calc.c | 263 detile_buf_plane1_addr = dml_round_to_multiple( 294 full_swath_bytes_packed_l = dml_round_to_multiple( 298 full_swath_bytes_packed_c = dml_round_to_multiple( 694 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) 698 rq_dlg_param->swath_width_ub = dml_round_to_multiple( 736 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 741 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) 765 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) 768 meta_pte_req_per_frame_ub = (dml_round_to_multiple( 864 dpte_row_width_ub = dml_round_to_multiple( [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 206 detile_buf_plane1_addr = dml_round_to_multiple( 237 full_swath_bytes_packed_l = dml_round_to_multiple( 241 full_swath_bytes_packed_c = dml_round_to_multiple( 458 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) 462 rq_dlg_param->swath_width_ub = dml_round_to_multiple( 498 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 503 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) 529 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) 532 meta_pte_req_per_frame_ub = (dml_round_to_multiple( 627 dpte_row_width_ub = dml_round_to_multiple( [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A 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) / 3.0), 255 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2 / 3, 258 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2 / 3, 466 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) 470 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) 504 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 509 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) 535 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) 538 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 626 dpte_row_width_ub = dml_round_to_multiple(data_pitc [all...] |
H A 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) / 3.0), 255 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2 / 3, 258 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2 / 3, 466 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) 470 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) 504 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 509 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) 535 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) 538 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 626 dpte_row_width_ub = dml_round_to_multiple(data_pitc [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A 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) / 3.0), 1024, 0) / 1024.0; // 2/3 to luma 191 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2.0 / 3.0, 256, 1) + 256; 192 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2.0 / 3.0, 256, 1) + 256; 434 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; 450 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; 491 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) + meta_req_width; 495 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) + meta_req_height; 514 meta_surface_bytes = meta_pitch * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) * bytes_per_element / 256; 516 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 8 * vmpg_bytes, 1) + 8 * vmpg_bytes) / (8 * vmpg_bytes); 595 dpte_row_width_ub = dml_round_to_multiple(data_pitc [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A 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.0), 179 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2.0 / 3.0, 182 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2.0 / 3.0, 414 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; 430 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; 474 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) 479 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) 505 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) 508 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 594 dpte_row_width_ub = dml_round_to_multiple(data_pitc [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A 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) / 3.0), 1024, 0) / 1024.0; // 2/3 to luma 279 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2.0 / 3.0, 256, 1) + 256; 280 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2.0 / 3.0, 256, 1) + 256; 522 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; 538 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; 579 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1) + meta_req_width; 583 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1) + meta_req_height; 602 meta_surface_bytes = meta_pitch * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) * bytes_per_element / 256; 604 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes, 8 * vmpg_bytes, 1) + 8 * vmpg_bytes) / (8 * vmpg_bytes); 683 dpte_row_width_ub = dml_round_to_multiple(data_pitc [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_util.h | 51 __DML_DLL_EXPORT__ dml_uint_t dml_round_to_multiple(dml_uint_t num, dml_uint_t multiple, dml_bool_t up);
|
H A D | display_mode_util.c | 201 dml_uint_t dml_round_to_multiple(dml_uint_t num, dml_uint_t multiple, dml_bool_t up) function
|
H A D | dml_display_rq_dlg_calc.c | 172 detile_buf_plane1_addr = (dml_uint_t)(dml_round_to_multiple((dml_uint_t)((2.0 * detile_buf_size_in_bytes) / 3.0), 1024, 0) / 1024.0); // 2/3 to luma
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_rq_dlg_calc_32.c | 182 dml_round_to_multiple(
|
Completed in 138 milliseconds