/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubbub.c | 229 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubbub.c | 172 static void hubbub2_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub2_get_blk256_size() argument 178 *blk256_width = 16; in hubbub2_get_blk256_size() 181 *blk256_width = 16; in hubbub2_get_blk256_size() 184 *blk256_width = 8; in hubbub2_get_blk256_size() 187 *blk256_width = 8; in hubbub2_get_blk256_size() 201 unsigned int blk256_width = 0; in hubbub2_det_request_size() local 204 hubbub2_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub2_det_request_size() 207 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub2_det_request_size()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 78 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 …]
|
D | display_rq_dlg_helpers.c | 118 dml_print("DML_RQ_DLG_CALC: blk256_width = %0d\n", rq_misc_param.blk256_width); in print__data_rq_misc_params_st()
|
D | display_mode_structs.h | 384 unsigned int blk256_width; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20v2.c | 304 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 …]
|
D | display_rq_dlg_calc_20.c | 304 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 248 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split() 249 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split() 391 unsigned int blk256_width = 0; in get_meta_and_pte_attr() local 465 blk256_width = blk256_width_y; in get_meta_and_pte_attr() 469 blk256_width = blk256_width_c; in get_meta_and_pte_attr() 478 dml_print("DML_DLG: %s: blk256_width = %d\n", __func__, blk256_width); in get_meta_and_pte_attr() 481 log2_blk256_width = dml_log2((double)blk256_width); in get_meta_and_pte_attr() 505 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 506 if (data_pitch < blk256_width) { in get_meta_and_pte_attr() 507 …_size calculation ignoring data_pitch=%u < blk256_width=%u\n", __func__, data_pitch, blk256_width); in get_meta_and_pte_attr() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubbub.c | 797 static void hubbub1_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub1_get_blk256_size() argument 803 *blk256_width = 16; in hubbub1_get_blk256_size() 806 *blk256_width = 16; in hubbub1_get_blk256_size() 809 *blk256_width = 8; in hubbub1_get_blk256_size() 812 *blk256_width = 8; in hubbub1_get_blk256_size() 827 unsigned int blk256_width = 0; in hubbub1_det_request_size() local 830 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size() 833 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub1_det_request_size()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 288 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 …]
|