Home
last modified time | relevance | path

Searched refs:dml_log2 (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c214 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs()
219 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
221 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
225 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs()
227 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs()
228 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_group_bytes) - 6; in extract_rq_sizing_regs()
243 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in dml1_extract_rq_regs()
244 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in dml1_extract_rq_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()
[all …]
Ddml_inline_defs.h98 static inline int dml_log2(double x) in dml_log2() function
/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20v2.c172 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs()
177 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
179 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
183 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; 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()
198 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs()
203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs()
207 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
208 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in extract_rq_regs()
[all …]
Ddisplay_rq_dlg_calc_20.c172 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs()
177 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
179 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
183 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; 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()
198 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs()
203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs()
207 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
208 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in extract_rq_regs()
[all …]
Ddisplay_mode_vba_20.c1044 dml_log2( in CalculateVMAndRowBytes()
Ddisplay_mode_vba_20v2.c1104 dml_log2( in CalculateVMAndRowBytes()
/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c149 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs()
154 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
156 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
160 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs()
162 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs()
163 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_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()
187 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
188 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in extract_rq_regs()
[all …]
Ddisplay_mode_vba_21.c1418 dml_log2( in CalculateVMAndRowBytes()
5640 dml_log2(CursorBufferSize * 1024.0 / (CursorWidth * CursorBPP / 8.0)), 1.0); in CalculateUrgentBurstFactor()
/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c182 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs()
187 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
189 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
193 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs()
195 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs()
196 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_group_bytes) - 6; in extract_rq_sizing_regs()
206 …rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), … in extract_rq_regs()
210 …rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), … in extract_rq_regs()
213 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
214 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in extract_rq_regs()
[all …]
Ddisplay_mode_vba_31.c2003 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…
5860 …LinesInCursorBuffer = 1 << (unsigned int) dml_floor(dml_log2(CursorBufferSize * 1024.0 / (CursorWi…
/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c97 rq_regs->chunk_size = dml_log2(rq_sizing.chunk_bytes) - 10; in extract_rq_sizing_regs()
102 rq_regs->min_chunk_size = dml_log2(rq_sizing.min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs()
104 rq_regs->meta_chunk_size = dml_log2(rq_sizing.meta_chunk_bytes) - 10; in extract_rq_sizing_regs()
108 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing.min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs()
110 rq_regs->dpte_group_size = dml_log2(rq_sizing.dpte_group_bytes) - 6; in extract_rq_sizing_regs()
111 rq_regs->mpte_group_size = dml_log2(rq_sizing.mpte_group_bytes) - 6; in extract_rq_sizing_regs()
123 rq_regs->rq_regs_l.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_l.dpte_row_height), in extract_rq_regs()
128 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param.dlg.rq_c.dpte_row_height), in extract_rq_regs()
132 rq_regs->rq_regs_l.swath_height = dml_log2(rq_param.dlg.rq_l.swath_height); in extract_rq_regs()
133 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param.dlg.rq_c.swath_height); in extract_rq_regs()
[all …]
Ddisplay_mode_vba_30.c1874 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *… in CalculateVMAndRowBytes()
5664 …LinesInCursorBuffer = 1 << (unsigned int) dml_floor(dml_log2(CursorBufferSize * 1024.0 / (CursorWi… in CalculateUrgentBurstFactor()