/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
A 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() 230 unsigned int bytes_per_element) in hubbub3_get_blk256_size() argument [all …]
|
A D | dcn30_hubbub.h | 115 unsigned int bytes_per_element,
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_hubbub.c | 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() 146 *bytes_per_element = 2; in hubbub2_dcc_support_pixel_format() 158 *bytes_per_element = 4; in hubbub2_dcc_support_pixel_format() 164 *bytes_per_element = 8; in hubbub2_dcc_support_pixel_format() [all …]
|
A D | dcn20_hubbub.h | 109 unsigned int bytes_per_element, 115 unsigned int *bytes_per_element);
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_hubbub.c | 714 unsigned int bytes_per_element, in hubbub1_dcc_support_swizzle() argument 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() 799 unsigned int bytes_per_element) in hubbub1_get_blk256_size() argument 803 if (bytes_per_element == 1) { in hubbub1_get_blk256_size() 806 } else if (bytes_per_element == 2) { in hubbub1_get_blk256_size() 809 } else if (bytes_per_element == 4) { in hubbub1_get_blk256_size() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
A 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() 570 unsigned int bytes_per_element; in get_surf_rq_param() local 651 bytes_per_element = get_bytes_per_element( in get_surf_rq_param() 659 blk256_width = 256 / bytes_per_element; in get_surf_rq_param() 707 * bytes_per_element; in get_surf_rq_param() 710 * bytes_per_element; in get_surf_rq_param() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
A 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 …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | dchubbub.h | 133 unsigned int bytes_per_element, 139 unsigned int *bytes_per_element);
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
A 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()
|
A 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()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
A 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()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
A 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()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
A 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()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_hubbub.c | 732 unsigned int bytes_per_element) in hubbub3_get_blk256_size() argument 736 if (bytes_per_element == 1) { in hubbub3_get_blk256_size() 739 } else if (bytes_per_element == 2) { in hubbub3_get_blk256_size() 742 } else if (bytes_per_element == 4) { in hubbub3_get_blk256_size() 745 } else if (bytes_per_element == 8) { in hubbub3_get_blk256_size()
|