/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_rq_dlg_calc_32.c | 68 unsigned int detile_buf_size_in_bytes; in dml32_rq_dlg_get_rq_reg() local 129 …detile_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/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml_display_rq_dlg_calc.c | 62 dml_uint_t detile_buf_size_in_bytes; in dml_rq_dlg_get_rq_reg() local 128 detile_buf_size_in_bytes = (dml_uint_t)(dml_get_det_buffer_size_kbytes(mode_lib, pipe_idx) * 1024); in dml_rq_dlg_get_rq_reg() 167 … detile_buf_plane1_addr = (dml_uint_t)(detile_buf_size_in_bytes / 2.0 / 1024.0); // half to chroma in dml_rq_dlg_get_rq_reg() 172 …1_addr = (dml_uint_t)(dml_round_to_multiple((dml_uint_t)((2.0 * detile_buf_size_in_bytes) / 3.0), … in dml_rq_dlg_get_rq_reg() 185 dml_print("DML_DLG: %s: detile_buf_size_in_bytes = %d\n", __func__, detile_buf_size_in_bytes); in dml_rq_dlg_get_rq_reg()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_rq_dlg_calc_31.c | 114 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/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_rq_dlg_calc_314.c | 202 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/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 117 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in extract_rq_regs() local 148 detile_buf_plane1_addr = (detile_buf_size_in_bytes / 2.0 / 64.0); // half to chroma in extract_rq_regs() 150 …detile_buf_plane1_addr = dml_round_to_multiple((unsigned int)((2.0 * detile_buf_size_in_bytes) / 3… in extract_rq_regs() 173 unsigned int detile_buf_size_in_bytes = mode_lib->ip.det_buffer_size_kbytes * 1024; in handle_det_buf_split() local 192 if (total_swath_bytes <= detile_buf_size_in_bytes) { //full 256b request in handle_det_buf_split() 210 if (total_swath_bytes > detile_buf_size_in_bytes) { in handle_det_buf_split() 222 if (total_swath_bytes > detile_buf_size_in_bytes) { in handle_det_buf_split()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20.c | 193 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()
|
H A D | display_rq_dlg_calc_20v2.c | 193 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/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 171 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/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml1_display_rq_dlg_calc.c | 236 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()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_dcn4_calcs.c | 11800 unsigned int detile_buf_size_in_bytes; in rq_dlg_get_rq_reg() local 11843 …detile_buf_size_in_bytes = (unsigned int)(dml_get_det_buffer_size_kbytes(mode_lib, pipe_idx) * 102… in rq_dlg_get_rq_reg() 11892 …detile_buf_plane1_addr = (unsigned int)(detile_buf_size_in_bytes / 2.0 / 1024.0); // half to chroma in rq_dlg_get_rq_reg() 11897 …dr = (unsigned int)(dml_round_to_multiple((unsigned int)((2.0 * detile_buf_size_in_bytes) / 3.0), … in rq_dlg_get_rq_reg() 11910 dml2_printf("DML_DLG: %s: detile_buf_size_in_bytes = %d\n", __func__, detile_buf_size_in_bytes); in rq_dlg_get_rq_reg()
|
H A D | dml2_core_shared.c | 11525 …unsigned int detile_buf_size_in_bytes = (unsigned int)(mode_lib->mp.DETBufferSizeInKByte[mode_lib-… in rq_dlg_get_rq_reg() local 11575 …detile_buf_plane1_addr = (unsigned int)(detile_buf_size_in_bytes / 2.0 / 1024.0); // half to chroma in rq_dlg_get_rq_reg() 11580 …dr = (unsigned int)(dml_round_to_multiple((unsigned int)((2.0 * detile_buf_size_in_bytes) / 3.0), … in rq_dlg_get_rq_reg() 11593 dml2_printf("DML_DLG: %s: detile_buf_size_in_bytes = %d\n", __func__, detile_buf_size_in_bytes); in rq_dlg_get_rq_reg()
|