Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/
H A Dlib_float_math.c108 float math_log(float a, float b) in math_log() function
120 return (a + log_2) / math_log(b, 2); in math_log()
127 return math_log(a, 2.0); in math_log2()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c1762 …unsigned int)(math_min2(128, (double)(1ULL << (unsigned int)math_floor2(math_log((float)(p->PTEBuf… in CalculateVMAndRowBytes()
1767 …*p->dpte_row_height_linear = 1U << (unsigned int)math_floor2(math_log((float)(p->PTEBufferSizeInRe… in CalculateVMAndRowBytes()
3102 …p->BIGK_FRAGMENT_SIZE[k] = (unsigned int)(math_log((float)p->display_cfg->plane_descriptors[k].ove… in CalculateVMRowAndSwath()
3390 …%d\n", __func__, cursor_bpp == 2 ? 256 : 1U << (unsigned int)math_ceil2(math_log((float)cursor_wid… in calculate_cursor_req_attributes()