Home
last modified time | relevance | path

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

/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/
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-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn20/
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()
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()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn21/
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-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c311 unsigned int log2_blk_bytes = 0; in get_meta_and_pte_attr() local
394 log2_blk_bytes = dml_log2((double)blk_bytes); in get_meta_and_pte_attr()
403 + dml_ceil((double)(log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
407 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
545 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
550 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
611 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()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c334 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
415 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
423 log2_blk_height = log2_blk256_height + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
427 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
546 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
551 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
606 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
635 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c422 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
503 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
511 log2_blk_height = log2_blk256_height + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
515 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
634 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
639 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
694 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
723 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()