Home
last modified time | relevance | path

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

/linux-6.6.21/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.h115 unsigned int bytes_per_element,
/linux-6.6.21/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.h109 unsigned int bytes_per_element,
115 unsigned int *bytes_per_element);
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c54 unsigned int bytes_per_element);
60 unsigned int bytes_per_element);
63 unsigned int bytes_per_element);
504 unsigned int bytes_per_element) in frame_init_nv_planes() argument
527 y_stride = y_width * bytes_per_element; in frame_init_nv_planes()
528 uv_stride = uv_width * bytes_per_element; in frame_init_nv_planes()
543 unsigned int bytes_per_element) in frame_init_yuv_planes() argument
551 y_stride = y_width * bytes_per_element; in frame_init_yuv_planes()
552 uv_stride = uv_width * bytes_per_element; in frame_init_yuv_planes()
573 unsigned int bytes_per_element) in frame_init_rgb_planes() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubbub.c712 unsigned int bytes_per_element, in hubbub1_dcc_support_swizzle() argument
740 if (bytes_per_element == 1 && standard_swizzle) { in hubbub1_dcc_support_swizzle()
745 if (bytes_per_element == 2 && standard_swizzle) { in hubbub1_dcc_support_swizzle()
750 if (bytes_per_element == 4 && standard_swizzle) { in hubbub1_dcc_support_swizzle()
755 if (bytes_per_element == 8 && standard_swizzle) { in hubbub1_dcc_support_swizzle()
760 if (bytes_per_element == 8 && display_swizzle) { in hubbub1_dcc_support_swizzle()
771 unsigned int *bytes_per_element) in hubbub1_dcc_support_pixel_format() argument
777 *bytes_per_element = 2; in hubbub1_dcc_support_pixel_format()
783 *bytes_per_element = 4; in hubbub1_dcc_support_pixel_format()
789 *bytes_per_element = 8; in hubbub1_dcc_support_pixel_format()
[all …]
/linux-6.6.21/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()
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 …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddchubbub.h140 unsigned int bytes_per_element,
146 unsigned int *bytes_per_element);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c351 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()
Ddisplay_rq_dlg_calc_20v2.c351 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-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c339 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-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c296 unsigned int bytes_per_element = 0; in get_meta_and_pte_attr() local
376 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr()
380 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr()
383 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()
447 * bytes_per_element; in get_meta_and_pte_attr()
450 * bytes_per_element; in get_meta_and_pte_attr()
503 meta_blk_width = meta_blk_bytes * 256 / bytes_per_element / meta_blk_height; in get_meta_and_pte_attr()
506 * bytes_per_element / 256; in get_meta_and_pte_attr()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c319 unsigned int bytes_per_element; in get_meta_and_pte_attr() local
398 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr()
402 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr()
405 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()
466 …rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_height * bytes_per_element; in get_meta_and_pte_attr()
468 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_width * bytes_per_element; in get_meta_and_pte_attr()
514 …_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) * bytes_per_element / 256; in get_meta_and_pte_attr()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c407 unsigned int bytes_per_element; in get_meta_and_pte_attr() local
486 bytes_per_element = bytes_per_element_y; in get_meta_and_pte_attr()
490 bytes_per_element = bytes_per_element_c; in get_meta_and_pte_attr()
493 log2_bytes_per_element = dml_log2(bytes_per_element); in get_meta_and_pte_attr()
554 …rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_height * bytes_per_element; in get_meta_and_pte_attr()
556 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_width * bytes_per_element; in get_meta_and_pte_attr()
602 …_round_to_multiple(vp_height - 1, meta_blk_height, 1) + meta_blk_height) * bytes_per_element / 256; in get_meta_and_pte_attr()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubbub.c736 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()