Home
last modified time | relevance | path

Searched refs:log2_blk_bytes (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/
H A Damdgpu_dml1_display_rq_dlg_calc.c393 unsigned int log2_blk_bytes; in dml1_rq_dlg_get_row_heights() local
422 log2_blk_bytes = dml_log2((double) blk_bytes); in dml1_rq_dlg_get_row_heights()
434 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in dml1_rq_dlg_get_row_heights()
438 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in dml1_rq_dlg_get_row_heights()
486 if (log2_blk_bytes <= log2_vmpg_bytes) in dml1_rq_dlg_get_row_heights()
535 && log2_blk_bytes >= 16) in dml1_rq_dlg_get_row_heights()
564 unsigned int log2_blk_bytes; in get_surf_rq_param() local
662 log2_blk_bytes = dml_log2((double) blk_bytes); in get_surf_rq_param()
674 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_surf_rq_param()
678 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_surf_rq_param()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/dcn20/
H A Damdgpu_display_rq_dlg_calc_20v2.c355 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
435 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
446 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
450 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
566 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
571 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
634 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
660 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
H A Damdgpu_display_rq_dlg_calc_20.c355 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
435 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
446 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
450 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
566 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
571 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
634 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
660 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/dcn21/
H A Damdgpu_display_rq_dlg_calc_21.c345 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
427 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
438 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
442 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
563 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
568 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
636 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
667 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()