Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c406 unsigned int log2_blk_bytes; in dml1_rq_dlg_get_row_heights() local
435 log2_blk_bytes = dml_log2((double) blk_bytes); in dml1_rq_dlg_get_row_heights()
447 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in dml1_rq_dlg_get_row_heights()
451 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in dml1_rq_dlg_get_row_heights()
499 if (log2_blk_bytes <= log2_vmpg_bytes) in dml1_rq_dlg_get_row_heights()
548 && log2_blk_bytes >= 16) in dml1_rq_dlg_get_row_heights()
576 unsigned int log2_blk_bytes; in get_surf_rq_param() local
674 log2_blk_bytes = dml_log2((double) blk_bytes); in get_surf_rq_param()
686 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_surf_rq_param()
690 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_surf_rq_param()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c355 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
437 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()
569 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
574 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
642 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
673 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20.c365 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
445 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
454 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
458 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
572 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
577 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
640 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
666 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
H A Ddisplay_rq_dlg_calc_20v2.c365 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
445 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
454 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
458 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
572 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
577 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
640 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
666 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()