/linux-6.1.9/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 236 *blk256_height = 16; in hubbub3_get_blk256_size() 239 *blk256_height = 8; in hubbub3_get_blk256_size() 242 *blk256_height = 8; in hubbub3_get_blk256_size() 245 *blk256_height = 4; in hubbub3_get_blk256_size() 257 unsigned int blk256_height = 0; in hubbub3_det_request_size() local 261 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub3_det_request_size() 263 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub3_det_request_size()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 79 unsigned int *blk256_height, in get_blk256_size() argument 84 *blk256_height = 16; in get_blk256_size() 87 *blk256_height = 8; in get_blk256_size() 90 *blk256_height = 8; in get_blk256_size() 93 *blk256_height = 4; in get_blk256_size() 352 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split() 353 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split() 402 unsigned int blk256_height = 0; in dml1_rq_dlg_get_row_heights() local 427 blk256_height = 1; 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 | 119 dml_print("DML_RQ_DLG_CALC: blk256_height = %0d\n", rq_misc_param->blk256_height); in print__data_rq_misc_params_st()
|
D | display_mode_structs.h | 563 unsigned int blk256_height; member
|
/linux-6.1.9/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 178 *blk256_height = 16; in hubbub2_get_blk256_size() 181 *blk256_height = 8; in hubbub2_get_blk256_size() 184 *blk256_height = 8; in hubbub2_get_blk256_size() 187 *blk256_height = 4; in hubbub2_get_blk256_size() 199 unsigned int blk256_height = 0; in hubbub2_det_request_size() local 203 hubbub2_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub2_det_request_size() 205 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub2_det_request_size()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 246 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split() 247 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split() 303 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local 377 blk256_height = blk256_height_y; in get_meta_and_pte_attr() 381 blk256_height = blk256_height_c; in get_meta_and_pte_attr() 390 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr() 393 log2_blk256_height = dml_log2((double)blk256_height); in get_meta_and_pte_attr() 432 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr() 433 if (surface_height < blk256_height) { in get_meta_and_pte_attr() 434 …culation ignored surface_height=%u < blk256_height=%u\n", __func__, surface_height, blk256_height); in get_meta_and_pte_attr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 301 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split() 302 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split() 358 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local 429 blk256_height = blk256_height_y; in get_meta_and_pte_attr() 433 blk256_height = blk256_height_c; in get_meta_and_pte_attr() 442 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr() 445 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr() 470 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) in get_meta_and_pte_attr() 471 + blk256_height; in get_meta_and_pte_attr() 476 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_height in get_meta_and_pte_attr() [all …]
|
D | display_rq_dlg_calc_20v2.c | 301 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split() 302 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split() 358 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local 429 blk256_height = blk256_height_y; in get_meta_and_pte_attr() 433 blk256_height = blk256_height_c; in get_meta_and_pte_attr() 442 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr() 445 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr() 470 rq_dlg_param->swath_width_ub = dml_round_to_multiple(vp_height - 1, blk256_height, 1) in get_meta_and_pte_attr() 471 + blk256_height; in get_meta_and_pte_attr() 476 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_height in get_meta_and_pte_attr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 266 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split() 267 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split() 324 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local 397 blk256_height = blk256_height_y; in get_meta_and_pte_attr() 401 blk256_height = blk256_height_c; in get_meta_and_pte_attr() 410 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr() 413 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr() 450 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr() 451 if (surface_height < blk256_height) { in get_meta_and_pte_attr() 452 …culation ignored surface_height=%u < blk256_height=%u\n", __func__, surface_height, blk256_height); in get_meta_and_pte_attr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 354 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split() 355 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split() 412 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local 485 blk256_height = blk256_height_y; in get_meta_and_pte_attr() 489 blk256_height = blk256_height_c; in get_meta_and_pte_attr() 498 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr() 501 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr() 538 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr() 539 if (surface_height < blk256_height) { in get_meta_and_pte_attr() 540 …culation ignored surface_height=%u < blk256_height=%u\n", __func__, surface_height, blk256_height); in get_meta_and_pte_attr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 285 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split() 286 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split() 348 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local 421 blk256_height = blk256_height_y; in get_meta_and_pte_attr() 425 blk256_height = blk256_height_c; in get_meta_and_pte_attr() 434 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr() 437 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr() 464 blk256_height, in get_meta_and_pte_attr() 465 1) + blk256_height; in get_meta_and_pte_attr() 470 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_height in get_meta_and_pte_attr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubbub.c | 796 static void hubbub1_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub1_get_blk256_size() argument 803 *blk256_height = 16; in hubbub1_get_blk256_size() 806 *blk256_height = 8; in hubbub1_get_blk256_size() 809 *blk256_height = 8; in hubbub1_get_blk256_size() 812 *blk256_height = 4; in hubbub1_get_blk256_size() 825 unsigned int blk256_height = 0; in hubbub1_det_request_size() local 829 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size() 831 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub1_det_request_size()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_hubbub.c | 734 static void hubbub3_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub3_get_blk256_size() argument 741 *blk256_height = 16; in hubbub3_get_blk256_size() 744 *blk256_height = 8; in hubbub3_get_blk256_size() 747 *blk256_height = 8; in hubbub3_get_blk256_size() 750 *blk256_height = 4; in hubbub3_get_blk256_size() 762 unsigned int blk256_height = 0; in hubbub31_det_request_size() local 766 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub31_det_request_size() 768 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub31_det_request_size()
|