Home
last modified time | relevance | path

Searched refs:log_2 (Results 1 – 5 of 5) sorted by relevance

/dragonfly/sys/dev/drm/amd/display/dc/calcs/
HDdcn_calc_math.c116 const int log_2 = ((x >> 23) & 255) - 128; in dcn_bw_log() local
124 return (a + log_2) / dcn_bw_log(b, 2); in dcn_bw_log()
126 return (a + log_2); in dcn_bw_log()
/dragonfly/sys/dev/drm/amd/display/dc/dce/
HDdce_mem_input.c144 unsigned int page_width = log_2(pte->page_width); in dce_mi_program_pte_vm()
145 unsigned int page_height = log_2(pte->page_height); in dce_mi_program_pte_vm()
361 GRPH_NUM_BANKS, log_2(info->gfx9.num_banks), in program_tiling()
362 … GRPH_NUM_SHADER_ENGINES, log_2(info->gfx9.num_shader_engines), in program_tiling()
363 GRPH_NUM_PIPES, log_2(info->gfx9.num_pipes), in program_tiling()
/dragonfly/sys/dev/drm/amd/display/dc/basics/
HDconversion.h41 static inline unsigned int log_2(unsigned int num) in log_2() function
/dragonfly/sys/dev/drm/amd/display/dc/dcn10/
HDdcn10_hubp.c141 NUM_PIPES, log_2(info->gfx9.num_pipes), in hubp1_program_tiling()
142 NUM_BANKS, log_2(info->gfx9.num_banks), in hubp1_program_tiling()
144 NUM_SE, log_2(info->gfx9.num_shader_engines), in hubp1_program_tiling()
145 NUM_RB_PER_SE, log_2(info->gfx9.num_rb_per_se), in hubp1_program_tiling()
146 MAX_COMPRESSED_FRAGS, log_2(info->gfx9.max_compressed_frags)); in hubp1_program_tiling()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/
Dcmath73 // Constant @f$ \log_2(e) @f$.