/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubbub.c | 139 unsigned int bytes_per_element, in hubbub3_dcc_support_swizzle() argument 177 if (bytes_per_element == 1) { in hubbub3_dcc_support_swizzle() 182 if (bytes_per_element == 2) { in hubbub3_dcc_support_swizzle() 187 if (bytes_per_element == 4) { in hubbub3_dcc_support_swizzle() 192 if (bytes_per_element == 8) { in hubbub3_dcc_support_swizzle() 199 if (bytes_per_element == 1) { in hubbub3_dcc_support_swizzle() 204 if (bytes_per_element == 2) { in hubbub3_dcc_support_swizzle() 209 if (bytes_per_element == 4) { in hubbub3_dcc_support_swizzle() 214 if (bytes_per_element == 8) { in hubbub3_dcc_support_swizzle() 220 if (display_swizzle && bytes_per_element == 8) { in hubbub3_dcc_support_swizzle() [all …]
|
D | dcn30_hubbub.h | 115 unsigned int bytes_per_element,
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubbub.c | 58 unsigned int bytes_per_element, in hubbub2_dcc_support_swizzle() argument 91 if (bytes_per_element == 1) { in hubbub2_dcc_support_swizzle() 96 if (bytes_per_element == 2) { in hubbub2_dcc_support_swizzle() 101 if (bytes_per_element == 4) { in hubbub2_dcc_support_swizzle() 106 if (bytes_per_element == 8) { in hubbub2_dcc_support_swizzle() 113 if (bytes_per_element == 2) { in hubbub2_dcc_support_swizzle() 118 if (bytes_per_element == 4) { in hubbub2_dcc_support_swizzle() 123 if (bytes_per_element == 8) { in hubbub2_dcc_support_swizzle() 129 if (display_swizzle && bytes_per_element == 8) { in hubbub2_dcc_support_swizzle() 140 unsigned int *bytes_per_element) in hubbub2_dcc_support_pixel_format() argument [all …]
|
D | dcn20_hubbub.h | 109 unsigned int bytes_per_element, 115 unsigned int *bytes_per_element);
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubbub.c | 714 unsigned int bytes_per_element, in hubbub1_dcc_support_swizzle() argument 742 if (bytes_per_element == 1 && standard_swizzle) { in hubbub1_dcc_support_swizzle() 747 if (bytes_per_element == 2 && standard_swizzle) { in hubbub1_dcc_support_swizzle() 752 if (bytes_per_element == 4 && standard_swizzle) { in hubbub1_dcc_support_swizzle() 757 if (bytes_per_element == 8 && standard_swizzle) { in hubbub1_dcc_support_swizzle() 762 if (bytes_per_element == 8 && display_swizzle) { in hubbub1_dcc_support_swizzle() 773 unsigned int *bytes_per_element) in hubbub1_dcc_support_pixel_format() argument 779 *bytes_per_element = 2; in hubbub1_dcc_support_pixel_format() 785 *bytes_per_element = 4; in hubbub1_dcc_support_pixel_format() 791 *bytes_per_element = 8; in hubbub1_dcc_support_pixel_format() [all …]
|
/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 80 unsigned int bytes_per_element) in get_blk256_size() argument 82 if (bytes_per_element == 1) { in get_blk256_size() 85 } else if (bytes_per_element == 2) { in get_blk256_size() 88 } else if (bytes_per_element == 4) { in get_blk256_size() 91 } else if (bytes_per_element == 8) { in get_blk256_size() 397 unsigned int bytes_per_element = get_bytes_per_element( in dml1_rq_dlg_get_row_heights() local 400 unsigned int log2_bytes_per_element = dml_log2(bytes_per_element); 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() 547 if (!surf_vert && vp_width > (2560 + 16) && bytes_per_element >= 4 && log2_vmpg_bytes == 12 in dml1_rq_dlg_get_row_heights() 570 unsigned int bytes_per_element; in get_surf_rq_param() local [all …]
|
/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
D | frame.c | 60 unsigned int bytes_per_element); 66 unsigned int bytes_per_element); 69 unsigned int bytes_per_element); 690 unsigned int bytes_per_element) in frame_init_nv_planes() argument 713 y_stride = y_width * bytes_per_element; in frame_init_nv_planes() 714 uv_stride = uv_width * bytes_per_element; in frame_init_nv_planes() 729 unsigned int bytes_per_element) in frame_init_yuv_planes() argument 737 y_stride = y_width * bytes_per_element; in frame_init_yuv_planes() 738 uv_stride = uv_width * bytes_per_element; in frame_init_yuv_planes() 759 unsigned int bytes_per_element) in frame_init_rgb_planes() argument [all …]
|
/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dchubbub.h | 133 unsigned int bytes_per_element, 139 unsigned int *bytes_per_element);
|
/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 351 unsigned int bytes_per_element; in get_meta_and_pte_attr() local 430 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr() 434 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr() 437 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr() 477 * bytes_per_element; in get_meta_and_pte_attr() 480 * bytes_per_element; in get_meta_and_pte_attr() 533 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr() 536 * bytes_per_element / 256; in get_meta_and_pte_attr() 611 / bytes_per_element, in get_meta_and_pte_attr()
|
D | display_rq_dlg_calc_20v2.c | 351 unsigned int bytes_per_element; in get_meta_and_pte_attr() local 430 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr() 434 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr() 437 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr() 477 * bytes_per_element; in get_meta_and_pte_attr() 480 * bytes_per_element; in get_meta_and_pte_attr() 533 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr() 536 * bytes_per_element / 256; in get_meta_and_pte_attr() 611 / bytes_per_element, in get_meta_and_pte_attr()
|
/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 339 unsigned int bytes_per_element; in get_meta_and_pte_attr() local 422 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr() 426 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr() 429 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr() 471 * bytes_per_element; in get_meta_and_pte_attr() 474 * bytes_per_element; in get_meta_and_pte_attr() 527 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr() 530 + meta_blk_height) * bytes_per_element / 256; in get_meta_and_pte_attr() 612 / bytes_per_element, in get_meta_and_pte_attr()
|
/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 387 unsigned int bytes_per_element = 0; in get_meta_and_pte_attr() local 467 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr() 471 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr() 474 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr() 538 * bytes_per_element; in get_meta_and_pte_attr() 541 * bytes_per_element; in get_meta_and_pte_attr() 594 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr() 597 * bytes_per_element / 256; in get_meta_and_pte_attr()
|
/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 406 unsigned int bytes_per_element; in get_meta_and_pte_attr() local 485 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr() 489 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr() 492 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr() 553 …rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_height * bytes_per_element; in get_meta_and_pte_attr() 555 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_width * bytes_per_element; in get_meta_and_pte_attr() 601 …_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) * bytes_per_element / 256; in get_meta_and_pte_attr()
|
/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_hubbub.c | 736 unsigned int bytes_per_element) in hubbub3_get_blk256_size() argument 740 if (bytes_per_element == 1) { in hubbub3_get_blk256_size() 743 } else if (bytes_per_element == 2) { in hubbub3_get_blk256_size() 746 } else if (bytes_per_element == 4) { in hubbub3_get_blk256_size() 749 } else if (bytes_per_element == 8) { in hubbub3_get_blk256_size()
|