Searched refs:dml_log2 (Results 1 – 16 of 16) sorted by relevance
98 rq_regs->rq_regs_l.chunk_size = dml_log2(pixel_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg()99 rq_regs->rq_regs_c.chunk_size = dml_log2(p1_pixel_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg()104 rq_regs->rq_regs_l.min_chunk_size = dml_log2(min_pixel_chunk_bytes) - 8 + 1; in dml32_rq_dlg_get_rq_reg()109 rq_regs->rq_regs_c.min_chunk_size = dml_log2(p1_min_pixel_chunk_bytes) - 8 + 1; in dml32_rq_dlg_get_rq_reg()111 rq_regs->rq_regs_l.meta_chunk_size = dml_log2(meta_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg()112 rq_regs->rq_regs_c.meta_chunk_size = dml_log2(p1_meta_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg()117 rq_regs->rq_regs_l.min_meta_chunk_size = dml_log2(min_meta_chunk_bytes) - 6 + 1; in dml32_rq_dlg_get_rq_reg()124 rq_regs->rq_regs_l.dpte_group_size = dml_log2(dpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg()125 rq_regs->rq_regs_l.mpte_group_size = dml_log2(mpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg()126 rq_regs->rq_regs_c.dpte_group_size = dml_log2(p1_dpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg()[all …]
2187 BIGK_FRAGMENT_SIZE[k] = dml_log2(GPUVMMinPageSizeKBytes[k] * 1024) - 12; in dml32_CalculateVMRowAndSwath()2458 *dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * in dml32_CalculateVMAndRowBytes()2464 dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch)); in dml32_CalculateVMAndRowBytes()2466 dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1)); in dml32_CalculateVMAndRowBytes()2468 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * in dml32_CalculateVMAndRowBytes()2477 *dpte_row_height_linear = 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * in dml32_CalculateVMAndRowBytes()2760 LinesInCursorBuffer = 1 << (unsigned int) dml_floor(dml_log2(CursorBufferSize * 1024.0 / in dml32_CalculateUrgentBurstFactor()
214 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()360 log2_swath_height_l = dml_log2(swath_height_l); in handle_det_buf_split()366 log2_swath_height_c = dml_log2(swath_height_c); in handle_det_buf_split()432 log2_blk256_height = dml_log2((double) blk256_height); in dml1_rq_dlg_get_row_heights()435 log2_blk_bytes = dml_log2((double) blk_bytes); in dml1_rq_dlg_get_row_heights()479 log2_vmpg_bytes = dml_log2(mode_lib->soc.vmm_page_size_bytes); in dml1_rq_dlg_get_row_heights()654 log2_bytes_per_element = dml_log2(bytes_per_element); in get_surf_rq_param()670 log2_blk256_width = dml_log2((double) blk256_width); in get_surf_rq_param()671 log2_blk256_height = dml_log2((double) blk256_height); in get_surf_rq_param()675 log2_blk_bytes = dml_log2((double) blk_bytes); in get_surf_rq_param()[all …]
93 static inline int dml_log2(double x) in dml_log2() function
172 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()179 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs()185 rq_regs->dpte_group_size = dml_log2(rq_sizing->dpte_group_bytes) - 6; in extract_rq_sizing_regs()186 rq_regs->mpte_group_size = dml_log2(rq_sizing->mpte_group_bytes) - 6; in extract_rq_sizing_regs()309 log2_swath_height_l = dml_log2(swath_height_l); in handle_det_buf_split()315 log2_swath_height_c = dml_log2(swath_height_c); in handle_det_buf_split()437 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()444 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()445 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()448 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()[all …]
1044 dml_log2( in CalculateVMAndRowBytes()
1104 dml_log2( in CalculateVMAndRowBytes()
149 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()162 rq_regs->dpte_group_size = dml_log2(rq_sizing->dpte_group_bytes) - 6; in extract_rq_sizing_regs()177 dml_log2(rq_param->dlg.rq_l.dpte_row_height), in extract_rq_regs()183 dml_log2(rq_param->dlg.rq_c.dpte_row_height), in extract_rq_regs()293 log2_swath_height_l = dml_log2(swath_height_l); in handle_det_buf_split()299 log2_swath_height_c = dml_log2(swath_height_c); in handle_det_buf_split()429 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()436 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()437 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()440 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()[all …]
1420 dml_log2( in CalculateVMAndRowBytes()5652 dml_log2(CursorBufferSize * 1024.0 / (CursorWidth * CursorBPP / 8.0)), 1.0); in CalculateUrgentBurstFactor()
98 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()105 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs()111 rq_regs->dpte_group_size = dml_log2(rq_sizing->dpte_group_bytes) - 6; in extract_rq_sizing_regs()112 rq_regs->mpte_group_size = dml_log2(rq_sizing->mpte_group_bytes) - 6; in extract_rq_sizing_regs()254 log2_swath_height_l = dml_log2(swath_height_l); in handle_det_buf_split()260 log2_swath_height_c = dml_log2(swath_height_c); in handle_det_buf_split()385 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()392 log2_blk256_width = dml_log2((double)blk256_width); in get_meta_and_pte_attr()393 log2_blk256_height = dml_log2((double)blk256_height); in get_meta_and_pte_attr()396 log2_blk_bytes = dml_log2((double)blk_bytes); in get_meta_and_pte_attr()[all …]
1808 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *… in CalculateVMAndRowBytes()5503 …LinesInCursorBuffer = 1 << (unsigned int) dml_floor(dml_log2(CursorBufferSize * 1024.0 / (CursorWi… in CalculateUrgentBurstFactor()
95 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()102 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs()108 rq_regs->dpte_group_size = dml_log2(rq_sizing->dpte_group_bytes) - 6; in extract_rq_sizing_regs()109 rq_regs->mpte_group_size = dml_log2(rq_sizing->mpte_group_bytes) - 6; in extract_rq_sizing_regs()274 log2_swath_height_l = dml_log2(swath_height_l); in handle_det_buf_split()280 log2_swath_height_c = dml_log2(swath_height_c); in handle_det_buf_split()405 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()412 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()413 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()415 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()[all …]
1951 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…5751 …LinesInCursorBuffer = 1 << (unsigned int) dml_floor(dml_log2(CursorBufferSize * 1024.0 / (CursorWi…
183 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs()190 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs()196 rq_regs->dpte_group_size = dml_log2(rq_sizing->dpte_group_bytes) - 6; in extract_rq_sizing_regs()197 rq_regs->mpte_group_size = dml_log2(rq_sizing->mpte_group_bytes) - 6; in extract_rq_sizing_regs()362 log2_swath_height_l = dml_log2(swath_height_l); in handle_det_buf_split()368 log2_swath_height_c = dml_log2(swath_height_c); in handle_det_buf_split()493 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()500 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()501 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()503 log2_blk_bytes = dml_log2((double) blk_bytes); in get_meta_and_pte_attr()[all …]
1972 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…5797 …LinesInCursorBuffer = 1 << (unsigned int) dml_floor(dml_log2(CursorBufferSize * 1024.0 / (CursorWi…
Completed in 131 milliseconds