Home
last modified time | relevance | path

Searched refs:detile_buf_size_in_bytes (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_rq_dlg_calc_32.c68 unsigned int detile_buf_size_in_bytes; in dml32_rq_dlg_get_rq_reg() local
129detile_buf_size_in_bytes = get_det_buffer_size_kbytes(mode_lib, e2e_pipe_param, num_pipes, pipe_id… in dml32_rq_dlg_get_rq_reg()
175 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 1024.0); // half to chroma in dml32_rq_dlg_get_rq_reg()
183 (unsigned int) ((2.0 * detile_buf_size_in_bytes) / 3.0), in dml32_rq_dlg_get_rq_reg()
198 dml_print("DML_DLG: %s: detile_buf_size_in_bytes = %d\n", __func__, detile_buf_size_in_bytes); in dml32_rq_dlg_get_rq_reg()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c114 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() local
143 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 1024.0); // half to chroma in extract_rq_regs()
148 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int) ((2.0 * detile_buf_size_in_bytes) / … in extract_rq_regs()
157 dml_print("DML_DLG: %s: detile_buf_size_in_bytes = %0d\n", __func__, detile_buf_size_in_bytes); in extract_rq_regs()
180 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() local
206 dml_print("DML_DLG: %s: detile_buf_size_in_bytes = %0d\n", __func__, detile_buf_size_in_bytes); in handle_det_buf_split()
209 if (total_swath_bytes <= detile_buf_size_in_bytes) { //full 256b request in handle_det_buf_split()
227 if (total_swath_bytes > detile_buf_size_in_bytes) { in handle_det_buf_split()
239 if (total_swath_bytes > detile_buf_size_in_bytes) { in handle_det_buf_split()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c202 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() local
231 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 1024.0); // half to chroma in extract_rq_regs()
236 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int) ((2.0 * detile_buf_size_in_bytes) / … in extract_rq_regs()
245 dml_print("DML_DLG: %s: detile_buf_size_in_bytes = %0d\n", __func__, detile_buf_size_in_bytes); in extract_rq_regs()
268 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() local
294 dml_print("DML_DLG: %s: detile_buf_size_in_bytes = %0d\n", __func__, detile_buf_size_in_bytes); in handle_det_buf_split()
297 if (total_swath_bytes <= detile_buf_size_in_bytes) { //full 256b request in handle_det_buf_split()
315 if (total_swath_bytes > detile_buf_size_in_bytes) { in handle_det_buf_split()
327 if (total_swath_bytes > detile_buf_size_in_bytes) { in handle_det_buf_split()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c119 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() local
150 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 64.0); // half to chroma in extract_rq_regs()
152 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int)((2.0 * detile_buf_size_in_bytes) / 3… in extract_rq_regs()
175 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() local
194 if (total_swath_bytes <= detile_buf_size_in_bytes) { //full 256b request in handle_det_buf_split()
212 if (total_swath_bytes > detile_buf_size_in_bytes) { in handle_det_buf_split()
224 if (total_swath_bytes > detile_buf_size_in_bytes) { in handle_det_buf_split()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c193 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() local
224 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 64.0); // half to chroma in extract_rq_regs()
226 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int) ((2.0 * detile_buf_size_in_bytes) / … in extract_rq_regs()
249 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() local
266 if (total_swath_bytes <= detile_buf_size_in_bytes) { //full 256b request in handle_det_buf_split()
282 if (total_swath_bytes <= detile_buf_size_in_bytes) in handle_det_buf_split()
Ddisplay_rq_dlg_calc_20v2.c193 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() local
224 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 64.0); // half to chroma in extract_rq_regs()
226 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int) ((2.0 * detile_buf_size_in_bytes) / … in extract_rq_regs()
249 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() local
266 if (total_swath_bytes <= detile_buf_size_in_bytes) { //full 256b request in handle_det_buf_split()
282 if (total_swath_bytes <= detile_buf_size_in_bytes) in handle_det_buf_split()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c171 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() local
204 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 64.0); // half to chroma in extract_rq_regs()
207 (unsigned int) ((2.0 * detile_buf_size_in_bytes) / 3.0), in extract_rq_regs()
231 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() local
250 if (total_swath_bytes <= detile_buf_size_in_bytes) { //full 256b request in handle_det_buf_split()
266 if (total_swath_bytes <= detile_buf_size_in_bytes) in handle_det_buf_split()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c236 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in dml1_extract_rq_regs() local
261 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 64.0); /* half to chroma */ in dml1_extract_rq_regs()
264 (unsigned int) ((2.0 * detile_buf_size_in_bytes) / 3.0), in dml1_extract_rq_regs()
288 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() local
307 if (total_swath_bytes <= detile_buf_size_in_bytes) { /*full 256b request */ in handle_det_buf_split()
333 if (total_swath_bytes <= detile_buf_size_in_bytes) in handle_det_buf_split()