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 D | lib_float_math.c | 108 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 D | dml2_core_dcn5_calcs_dchub.c | 1255 *p->dpte_row_height = (unsigned int)(math_min2(128, (double)(1ULL << (unsigned int)math_floor2(math_log((float)(p->PTEBufferSizeInRequests * *p->PixelPTEReqWidth / pixel_per_element / p->Pitch), 2.0), 1)))); in dcn5_calculate_vm_and_row_bytes() 1260 *p->dpte_row_height_linear = (unsigned int)1 << (unsigned int)math_floor2(math_log((float)(p->PTEBufferSizeInRequests * PixelPTEReqWidth_linear / pixel_per_element / p->Pitch), 2.0), 1); in dcn5_calculate_vm_and_row_bytes() 1541 p->BIGK_FRAGMENT_SIZE[k] = (unsigned int)(math_log((float)p->display_cfg->plane_descriptors[k].overrides.gpuvm_min_page_size_kbytes * 1024, 2) - 12); in dcn5_calculate_vm_row_and_swath() 1764 DML_LOG_VERBOSE("DML::%s: cursor_pitch = %d\n", __func__, cursor_bpp == 2 ? 256 : (unsigned int)1 << (unsigned int)math_ceil2(math_log((float)cursor_width, 2), 1)); in dcn5_calculate_cursor_req_attributes()
|