Home
last modified time | relevance | path

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

/linux-6.6.21/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()
577 unsigned int log2_blk_bytes; in get_surf_rq_param() local
675 log2_blk_bytes = dml_log2((double) blk_bytes); in get_surf_rq_param()
687 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_surf_rq_param()
691 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_surf_rq_param()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c368 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
448 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
459 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
463 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
579 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
584 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
647 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()
Ddisplay_rq_dlg_calc_20v2.c368 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
448 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
459 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
463 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
579 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
584 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
647 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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c358 unsigned int log2_blk_bytes; in get_meta_and_pte_attr() local
440 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()
451 + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
455 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
576 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
581 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
649 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
680 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
/linux-6.6.21/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()
405 + dml_ceil((double)(log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
409 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
549 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
554 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
615 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
644 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
/linux-6.6.21/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()
425 log2_blk_height = log2_blk256_height + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
429 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
550 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
555 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
610 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
639 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()
/linux-6.6.21/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()
513 log2_blk_height = log2_blk256_height + dml_ceil((double) (log2_blk_bytes - 8) / 2.0, 1); in get_meta_and_pte_attr()
517 log2_blk_width = log2_blk_bytes - log2_bytes_per_element - log2_blk_height; in get_meta_and_pte_attr()
638 } else if (log2_blk_bytes == 12) { //4KB tile means 4kB page size in get_meta_and_pte_attr()
643 } else if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) { // tile block >= 64KB in get_meta_and_pte_attr()
698 if (log2_blk_bytes >= 16 && log2_vmpg_bytes == 12) // tile block >= 64KB in get_meta_and_pte_attr()
727 if ((log2_blk_bytes >= 16) && (log2_vmpg_bytes == 12)) // tile block >= 64KB in get_meta_and_pte_attr()