Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c388 unsigned int log2_blk_bytes; in dml1_rq_dlg_get_row_heights() local
417 log2_blk_bytes = dml_log2((double) blk_bytes); in dml1_rq_dlg_get_row_heights()
429 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in dml1_rq_dlg_get_row_heights()
433 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in dml1_rq_dlg_get_row_heights()
481 if (log2_blk_bytes <= log2_vmpg_bytes) in dml1_rq_dlg_get_row_heights()
530 && log2_blk_bytes >= 16) in dml1_rq_dlg_get_row_heights()
559 unsigned int log2_blk_bytes; in get_surf_rq_param() local
657 log2_blk_bytes = dml_log2((double) blk_bytes); in get_surf_rq_param()
669 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_surf_rq_param()
673 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_surf_rq_param()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c350 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
430 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
441 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
445 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
561 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
566 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
629 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
655 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
Ddisplay_rq_dlg_calc_20v2.c350 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
430 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
441 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
445 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
561 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
566 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
629 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
655 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c340 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
422 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
433 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
437 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
558 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
563 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
631 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
662 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c384 unsigned int log2_blk_bytes = 0; in get_meta_and_pte_attr() local
467 log2_blk_bytes = dml_log2((double)blk_bytes); in get_meta_and_pte_attr()
478 + dml_ceil((double)(log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
482 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
622 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
627 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
688 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
717 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()