/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()
|
/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 | 391 unsigned int blk256_width; member
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubbub.c | 171 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()
|
/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
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 …]
|
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 …]
|
/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 356 swath_height_l = rq_param->misc.rq_l.blk256_width; in handle_det_buf_split() 357 swath_height_c = rq_param->misc.rq_c.blk256_width; in handle_det_buf_split() 410 unsigned int blk256_width = 0; in get_meta_and_pte_attr() local 483 blk256_width = blk256_width_y; in get_meta_and_pte_attr() 487 blk256_width = blk256_width_c; in get_meta_and_pte_attr() 496 dml_print("DML_DLG: %s: blk256_width = %d\n", __func__, blk256_width); in get_meta_and_pte_attr() 499 log2_blk256_width = dml_log2((double) blk256_width); in get_meta_and_pte_attr() 521 temp = dml_round_to_multiple(vp_width - 1, blk256_width, 1) + blk256_width; in get_meta_and_pte_attr() 522 if (data_pitch < blk256_width) { in get_meta_and_pte_attr() 523 …_size calculation ignoring data_pitch=%u < blk256_width=%u\n", __func__, data_pitch, blk256_width); in get_meta_and_pte_attr() [all …]
|
/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 …]
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubbub.c | 798 static void hubbub1_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub1_get_blk256_size() argument 804 *blk256_width = 16; in hubbub1_get_blk256_size() 807 *blk256_width = 16; in hubbub1_get_blk256_size() 810 *blk256_width = 8; in hubbub1_get_blk256_size() 813 *blk256_width = 8; in hubbub1_get_blk256_size() 828 unsigned int blk256_width = 0; in hubbub1_det_request_size() local 831 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size() 834 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub1_det_request_size()
|
/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 …]
|
/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_hubbub.c | 735 static void hubbub3_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub3_get_blk256_size() argument 741 *blk256_width = 16; in hubbub3_get_blk256_size() 744 *blk256_width = 16; in hubbub3_get_blk256_size() 747 *blk256_width = 8; in hubbub3_get_blk256_size() 750 *blk256_width = 8; in hubbub3_get_blk256_size() 764 unsigned int blk256_width = 0; in hubbub31_det_request_size() local 767 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub31_det_request_size() 770 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub31_det_request_size()
|