Home
last modified time | relevance | path

Searched refs:blk_bytes (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c405 unsigned int blk_bytes; in dml1_rq_dlg_get_row_heights() local
433 blk_bytes = surf_linear ? in dml1_rq_dlg_get_row_heights()
435 log2_blk_bytes = dml_log2((double) blk_bytes); in dml1_rq_dlg_get_row_heights()
575 unsigned int blk_bytes; in get_surf_rq_param() local
671 blk_bytes = in get_surf_rq_param()
674 log2_blk_bytes = dml_log2((double) blk_bytes); in get_surf_rq_param()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c2274 unsigned int blk_bytes = 0; in calculate_mcache_row_bytes() local
2313 blk_bytes = dml_get_tile_block_size_bytes(p->tiling_mode); in calculate_mcache_row_bytes()
2324 if (vmpg_bytes >= blk_bytes) { in calculate_mcache_row_bytes()
2327 } else if (!((blk_bytes == 65536) && (vmpg_bytes == 4096))) { in calculate_mcache_row_bytes()
2341 if (p->vp_stationary == 1 && vmpg_bytes <= blk_bytes) in calculate_mcache_row_bytes()
2358 if (p->surf_vert && vmpg_bytes > blk_bytes) { in calculate_mcache_row_bytes()
2359 meta_per_mvmpg_per_channel = (float)est_blk_per_vmpg * blk_bytes / (float)256 / p->num_chans; in calculate_mcache_row_bytes()
2364 meta_per_mvmpg_per_channel = (float) blk_bytes / (float)256 / p->num_chans; in calculate_mcache_row_bytes()
2375 if (p->gpuvm_enable && (blk_bytes == 65536) && (vmpg_bytes == 4096)) in calculate_mcache_row_bytes()
2399 DML_LOG_VERBOSE("DML::%s: blk_bytes = %u\n", __func__, blk_bytes); in calculate_mcache_row_bytes()