Home
last modified time | relevance | path

Searched refs:blk256_width (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubbub.c229 static void hubbub3_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub3_get_blk256_size() argument
235 *blk256_width = 16; in hubbub3_get_blk256_size()
238 *blk256_width = 16; in hubbub3_get_blk256_size()
241 *blk256_width = 8; in hubbub3_get_blk256_size()
244 *blk256_width = 8; in hubbub3_get_blk256_size()
258 unsigned int blk256_width = 0; in hubbub3_det_request_size() local
261 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub3_det_request_size()
264 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub3_det_request_size()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c78 unsigned int *blk256_width, in get_blk256_size() argument
83 *blk256_width = 16; in get_blk256_size()
86 *blk256_width = 16; in get_blk256_size()
89 *blk256_width = 8; in get_blk256_size()
92 *blk256_width = 8; in get_blk256_size()
355 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
356 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
401 unsigned int blk256_width = 0; in dml1_rq_dlg_get_row_heights() local
426 blk256_width = 256; in dml1_rq_dlg_get_row_heights()
429 get_blk256_size(&blk256_width, &blk256_height, bytes_per_element); in dml1_rq_dlg_get_row_heights()
[all …]
Ddisplay_rq_dlg_helpers.c118 dml_print("DML_RQ_DLG_CALC: blk256_width = %0d\n", rq_misc_param->blk256_width); in print__data_rq_misc_params_st()
Ddisplay_mode_structs.h564 unsigned int blk256_width; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubbub.c171 static void hubbub2_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub2_get_blk256_size() argument
177 *blk256_width = 16; in hubbub2_get_blk256_size()
180 *blk256_width = 16; in hubbub2_get_blk256_size()
183 *blk256_width = 8; in hubbub2_get_blk256_size()
186 *blk256_width = 8; in hubbub2_get_blk256_size()
200 unsigned int blk256_width = 0; in hubbub2_det_request_size() local
203 hubbub2_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub2_det_request_size()
206 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub2_det_request_size()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c249 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
250 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
302 unsigned int blk256_width = 0; in get_meta_and_pte_attr() local
376 blk256_width = blk256_width_y; in get_meta_and_pte_attr()
380 blk256_width = blk256_width_c; in get_meta_and_pte_attr()
389 dml_print("DML_DLG: %s: blk256_width = %d\n", __func__, blk256_width); in get_meta_and_pte_attr()
392 log2_blk256_width = dml_log2((double)blk256_width); in get_meta_and_pte_attr()
416 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr()
417 if (data_pitch < blk256_width) { in get_meta_and_pte_attr()
418 …_size calculation ignoring data_pitch=%u < blk256_width=%u\n", __func__, data_pitch, blk256_width); in get_meta_and_pte_attr()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c304 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
305 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
357 unsigned int blk256_width = 0; in get_meta_and_pte_attr() local
428 blk256_width = blk256_width_y; in get_meta_and_pte_attr()
432 blk256_width = blk256_width_c; in get_meta_and_pte_attr()
441 dml_print("DML_DLG: %s: blk256_width = %d\n", __func__, blk256_width); in get_meta_and_pte_attr()
444 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()
466 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr()
467 + blk256_width; in get_meta_and_pte_attr()
479 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_width in get_meta_and_pte_attr()
[all …]
Ddisplay_rq_dlg_calc_20v2.c304 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
305 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
357 unsigned int blk256_width = 0; in get_meta_and_pte_attr() local
428 blk256_width = blk256_width_y; in get_meta_and_pte_attr()
432 blk256_width = blk256_width_c; in get_meta_and_pte_attr()
441 dml_print("DML_DLG: %s: blk256_width = %d\n", __func__, blk256_width); in get_meta_and_pte_attr()
444 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()
466 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr()
467 + blk256_width; in get_meta_and_pte_attr()
479 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_width in get_meta_and_pte_attr()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c269 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
270 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
323 unsigned int blk256_width = 0; in get_meta_and_pte_attr() local
396 blk256_width = blk256_width_y; in get_meta_and_pte_attr()
400 blk256_width = blk256_width_c; in get_meta_and_pte_attr()
409 dml_print("DML_DLG: %s: blk256_width = %d\n", __func__, blk256_width); in get_meta_and_pte_attr()
412 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()
434 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr()
435 if (data_pitch < blk256_width) { in get_meta_and_pte_attr()
436 …_size calculation ignoring data_pitch=%u < blk256_width=%u\n", __func__, data_pitch, blk256_width); in get_meta_and_pte_attr()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c357 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
358 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
411 unsigned int blk256_width = 0; in get_meta_and_pte_attr() local
484 blk256_width = blk256_width_y; in get_meta_and_pte_attr()
488 blk256_width = blk256_width_c; in get_meta_and_pte_attr()
497 dml_print("DML_DLG: %s: blk256_width = %d\n", __func__, blk256_width); in get_meta_and_pte_attr()
500 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()
522 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr()
523 if (data_pitch < blk256_width) { in get_meta_and_pte_attr()
524 …_size calculation ignoring data_pitch=%u < blk256_width=%u\n", __func__, data_pitch, blk256_width); in get_meta_and_pte_attr()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubbub.c796 static void hubbub1_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub1_get_blk256_size() argument
802 *blk256_width = 16; in hubbub1_get_blk256_size()
805 *blk256_width = 16; in hubbub1_get_blk256_size()
808 *blk256_width = 8; in hubbub1_get_blk256_size()
811 *blk256_width = 8; in hubbub1_get_blk256_size()
826 unsigned int blk256_width = 0; in hubbub1_det_request_size() local
829 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size()
832 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub1_det_request_size()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c288 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split()
289 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split()
347 unsigned int blk256_width = 0; in get_meta_and_pte_attr() local
420 blk256_width = blk256_width_y; in get_meta_and_pte_attr()
424 blk256_width = blk256_width_c; in get_meta_and_pte_attr()
433 dml_print("DML_DLG: %s: blk256_width = %d\n", __func__, blk256_width); in get_meta_and_pte_attr()
436 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr()
458 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_width - 1, blk256_width, 1) in get_meta_and_pte_attr()
459 + blk256_width; in get_meta_and_pte_attr()
473 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_width in get_meta_and_pte_attr()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubbub.c734 static void hubbub3_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub3_get_blk256_size() argument
740 *blk256_width = 16; in hubbub3_get_blk256_size()
743 *blk256_width = 16; in hubbub3_get_blk256_size()
746 *blk256_width = 8; in hubbub3_get_blk256_size()
749 *blk256_width = 8; in hubbub3_get_blk256_size()
763 unsigned int blk256_width = 0; in hubbub31_det_request_size() local
766 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub31_det_request_size()
769 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub31_det_request_size()