Home
last modified time | relevance | path

Searched refs:bytes_per_element (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubbub.c139 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 …]
Ddcn30_hubbub.h103 unsigned int bytes_per_element,
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubbub.c58 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 …]
Ddcn20_hubbub.h96 unsigned int bytes_per_element,
102 unsigned int *bytes_per_element);
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubbub.c714 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()
790 *bytes_per_element = 8; in hubbub1_dcc_support_pixel_format()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c80 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()
379 unsigned int bytes_per_element = get_bytes_per_element( in dml1_rq_dlg_get_row_heights() local
382 unsigned int log2_bytes_per_element = dml_log2(bytes_per_element); in dml1_rq_dlg_get_row_heights()
411 get_blk256_size(&blk256_width, &blk256_height, bytes_per_element); in dml1_rq_dlg_get_row_heights()
529 if (!surf_vert && vp_width > (2560 + 16) && bytes_per_element >= 4 && log2_vmpg_bytes == 12 in dml1_rq_dlg_get_row_heights()
552 unsigned int bytes_per_element; in get_surf_rq_param() local
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c60 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-v5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddchubbub.h128 unsigned int bytes_per_element,
134 unsigned int *bytes_per_element);
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c333 unsigned int bytes_per_element; in get_meta_and_pte_attr() local
412 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr()
416 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr()
419 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()
459 * bytes_per_element; in get_meta_and_pte_attr()
462 * bytes_per_element; in get_meta_and_pte_attr()
515 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr()
518 * bytes_per_element / 256; in get_meta_and_pte_attr()
593 / bytes_per_element, in get_meta_and_pte_attr()
Ddisplay_rq_dlg_calc_20v2.c333 unsigned int bytes_per_element; in get_meta_and_pte_attr() local
412 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr()
416 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr()
419 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()
459 * bytes_per_element; in get_meta_and_pte_attr()
462 * bytes_per_element; in get_meta_and_pte_attr()
515 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr()
518 * bytes_per_element / 256; in get_meta_and_pte_attr()
593 / bytes_per_element, in get_meta_and_pte_attr()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c321 unsigned int bytes_per_element; in get_meta_and_pte_attr() local
404 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr()
408 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr()
411 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()
453 * bytes_per_element; in get_meta_and_pte_attr()
456 * bytes_per_element; in get_meta_and_pte_attr()
509 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr()
512 + meta_blk_height) * bytes_per_element / 256; in get_meta_and_pte_attr()
594 / bytes_per_element, in get_meta_and_pte_attr()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c369 unsigned int bytes_per_element = 0; in get_meta_and_pte_attr() local
449 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr()
453 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr()
456 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()
520 * bytes_per_element; in get_meta_and_pte_attr()
523 * bytes_per_element; in get_meta_and_pte_attr()
576 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr()
579 * bytes_per_element / 256; in get_meta_and_pte_attr()