Home
last modified time | relevance | path

Searched refs:log2_vmpg_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.c413 unsigned int log2_vmpg_bytes; in dml1_rq_dlg_get_row_heights() local
479 log2_vmpg_bytes = dml_log2(mode_lib->soc.vmm_page_size_bytes); in dml1_rq_dlg_get_row_heights()
495 log2_vmpg_height = (log2_vmpg_bytes - 8) / 2 + log2_blk256_height; in dml1_rq_dlg_get_row_heights()
496 log2_vmpg_width = log2_vmpg_bytes - log2_bytes_per_element - log2_vmpg_height; in dml1_rq_dlg_get_row_heights()
499 if (log2_blk_bytes <= log2_vmpg_bytes) in dml1_rq_dlg_get_row_heights()
547 if (!surf_vert && vp_width > (2560 + 16) && bytes_per_element >= 4 && log2_vmpg_bytes == 12 in dml1_rq_dlg_get_row_heights()
603 unsigned int log2_vmpg_bytes; in get_surf_rq_param() local
796 log2_vmpg_bytes = dml_log2(mode_lib->soc.vmm_page_size_bytes); in get_surf_rq_param()
819 log2_vmpg_height = (log2_vmpg_bytes - 8) / 2 + log2_blk256_height; in get_surf_rq_param()
820 log2_vmpg_width = log2_vmpg_bytes - log2_bytes_per_element - log2_vmpg_height; in get_surf_rq_param()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c396 const unsigned int log2_vmpg_bytes = dml_log2(mode_lib->soc.vmm_page_size_bytes); in get_meta_and_pte_attr() local
570 log2_vmpg_height = (log2_vmpg_bytes - 8) / 2 + log2_blk256_height; in get_meta_and_pte_attr()
572 log2_vmpg_width = log2_vmpg_bytes - log2_bytes_per_element - log2_vmpg_height; 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.c396 const unsigned int log2_vmpg_bytes = dml_log2(mode_lib->soc.vmm_page_size_bytes); in get_meta_and_pte_attr() local
570 log2_vmpg_height = (log2_vmpg_bytes - 8) / 2 + log2_blk256_height; in get_meta_and_pte_attr()
572 log2_vmpg_width = log2_vmpg_bytes - log2_bytes_per_element - log2_vmpg_height; 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.c386 const unsigned int log2_vmpg_bytes = dml_log2(mode_lib->soc.vmm_page_size_bytes); in get_meta_and_pte_attr() local
567 log2_vmpg_height = (log2_vmpg_bytes - 8) / 2 + log2_blk256_height; in get_meta_and_pte_attr()
569 log2_vmpg_width = log2_vmpg_bytes - log2_bytes_per_element - log2_vmpg_height; 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.c339 const unsigned int log2_vmpg_bytes = dml_log2(mode_lib->soc.gpuvm_min_page_size_bytes); in get_meta_and_pte_attr() local
540 log2_vmpg_height = (log2_vmpg_bytes - 8) / 2 + log2_blk256_height; in get_meta_and_pte_attr()
542 log2_vmpg_width = log2_vmpg_bytes - log2_bytes_per_element - log2_vmpg_height; 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.c360 const unsigned int log2_vmpg_bytes = dml_log2(mode_lib->soc.gpuvm_min_page_size_bytes); in get_meta_and_pte_attr() local
541 log2_vmpg_height = (log2_vmpg_bytes - 8) / 2 + log2_blk256_height; in get_meta_and_pte_attr()
543 log2_vmpg_width = log2_vmpg_bytes - log2_bytes_per_element - log2_vmpg_height; 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.c448 const unsigned int log2_vmpg_bytes = dml_log2(mode_lib->soc.gpuvm_min_page_size_bytes); in get_meta_and_pte_attr() local
629 log2_vmpg_height = (log2_vmpg_bytes - 8) / 2 + log2_blk256_height; in get_meta_and_pte_attr()
631 log2_vmpg_width = log2_vmpg_bytes - log2_bytes_per_element - log2_vmpg_height; 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()