Searched refs:dml_round_to_multiple (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/
H A Ddml_inline_defs.h125 static inline unsigned int dml_round_to_multiple(unsigned int num, function
H A Ddml1_display_rq_dlg_calc.c263 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...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c206 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...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20v2.c226 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 Ddisplay_rq_dlg_calc_20.c226 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...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_rq_dlg_calc_314.c236 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...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_rq_dlg_calc_31.c148 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...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c152 detile_buf_plane1_addr = dml_round_to_multiple((unsigned int)((2.0 * detile_buf_size_in_bytes) / 3.0),
181 full_swath_bytes_packed_l = dml_round_to_multiple(rq_param->misc.rq_l.full_swath_bytes * 2.0 / 3.0,
184 full_swath_bytes_packed_c = dml_round_to_multiple(rq_param->misc.rq_c.full_swath_bytes * 2.0 / 3.0,
416 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width;
432 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height;
476 meta_row_width_ub = dml_round_to_multiple(vp_width - 1, meta_req_width, 1)
481 meta_row_width_ub = dml_round_to_multiple(vp_height - 1, meta_req_height, 1)
507 * (dml_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height)
510 meta_pte_req_per_frame_ub = (dml_round_to_multiple(meta_surface_bytes - vmpg_bytes,
596 dpte_row_width_ub = dml_round_to_multiple(data_pitc
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_rq_dlg_calc_32.c182 dml_round_to_multiple(

Completed in 199 milliseconds