/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20.c | 83 if (source_format == dm_444_16) { in get_bytes_per_element() 86 } else if (source_format == dm_444_32) { in get_bytes_per_element() 89 } else if (source_format == dm_444_64) { in get_bytes_per_element() 92 } else if (source_format == dm_420_8) { in get_bytes_per_element() 97 } else if (source_format == dm_420_10) { in get_bytes_per_element() 102 } else if (source_format == dm_444_8) { in get_bytes_per_element() 112 if ((source_format == dm_420_8) || (source_format == dm_420_10)) in is_dual_plane() 342 unsigned int source_format, in get_meta_and_pte_attr() argument 416 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() 731 pipe_src_param->source_format, in get_surf_rq_param() [all …]
|
H A D | display_rq_dlg_calc_20v2.c | 83 if (source_format == dm_444_16) { in get_bytes_per_element() 86 } else if (source_format == dm_444_32) { in get_bytes_per_element() 89 } else if (source_format == dm_444_64) { in get_bytes_per_element() 92 } else if (source_format == dm_420_8) { in get_bytes_per_element() 97 } else if (source_format == dm_420_10) { in get_bytes_per_element() 102 } else if (source_format == dm_444_8) { in get_bytes_per_element() 112 if ((source_format == dm_420_8) || (source_format == dm_420_10)) in is_dual_plane() 342 unsigned int source_format, in get_meta_and_pte_attr() argument 416 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() 731 pipe_src_param->source_format, in get_surf_rq_param() [all …]
|
H A D | dcn20_fpu.c | 1558 pipes[pipe_cnt].pipe.src.source_format = dm_444_32; in dcn20_populate_dml_pipes_from_context() 1685 pipes[pipe_cnt].pipe.src.source_format = dm_420_8; in dcn20_populate_dml_pipes_from_context() 1689 pipes[pipe_cnt].pipe.src.source_format = dm_420_10; in dcn20_populate_dml_pipes_from_context() 1695 pipes[pipe_cnt].pipe.src.source_format = dm_444_64; in dcn20_populate_dml_pipes_from_context() 1699 pipes[pipe_cnt].pipe.src.source_format = dm_444_16; in dcn20_populate_dml_pipes_from_context() 1702 pipes[pipe_cnt].pipe.src.source_format = dm_444_8; in dcn20_populate_dml_pipes_from_context() 1705 pipes[pipe_cnt].pipe.src.source_format = dm_rgbe_alpha; in dcn20_populate_dml_pipes_from_context() 1708 pipes[pipe_cnt].pipe.src.source_format = dm_444_32; in dcn20_populate_dml_pipes_from_context()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 58 if (source_format == dm_444_16) { in get_bytes_per_element() 61 } else if (source_format == dm_444_32) { in get_bytes_per_element() 64 } else if (source_format == dm_444_64) { in get_bytes_per_element() 67 } else if (source_format == dm_420_8) { in get_bytes_per_element() 72 } else if (source_format == dm_420_10) { in get_bytes_per_element() 77 } else if (source_format == dm_444_8) { in get_bytes_per_element() 87 if ((source_format == dm_420_8) || (source_format == dm_420_10)) in is_dual_plane() 329 unsigned int source_format, in get_meta_and_pte_attr() argument 341 (enum source_format_class) (source_format), in get_meta_and_pte_attr() 407 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/ |
H A D | dml1_display_rq_dlg_calc.c | 44 if (source_format == dm_444_16) { in get_bytes_per_element() 47 } else if (source_format == dm_444_32) { in get_bytes_per_element() 50 } else if (source_format == dm_444_64) { in get_bytes_per_element() 53 } else if (source_format == dm_420_8) { in get_bytes_per_element() 58 } else if (source_format == dm_420_10) { in get_bytes_per_element() 71 if ((source_format == dm_420_8) || (source_format == dm_420_10)) in is_dual_plane() 388 int source_format, in dml1_rq_dlg_get_row_heights() argument 398 (enum source_format_class) source_format, in dml1_rq_dlg_get_row_heights() 652 (enum source_format_class) pipe_src_param->source_format, in get_surf_rq_param() 933 pipe_src_param->source_format, in get_surf_rq_param() [all …]
|
H A D | display_mode_vba.c | 616 …ePixelFormat[mode_lib->vba.NumberOfActivePlanes] = (enum source_format_class) (src->source_format); in fetch_pipe_params() 814 int hdiv_c = src->source_format >= dm_420_8 && src->source_format <= dm_422_10 ? 2 : 1; in fetch_pipe_params() 815 int vdiv_c = src->source_format >= dm_420_8 && src->source_format <= dm_420_12 ? 2 : 1; in fetch_pipe_params()
|
H A D | display_mode_lib.c | 183 dml_print("DML PARAMS: source_format = %d\n", pipe_src->source_format); in dml_log_pipe_params()
|
H A D | display_mode_structs.h | 383 int source_format; member
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 34 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument 38 …if ((source_format == dm_420_12) || (source_format == dm_420_8) || (source_format == dm_420_10) ||… in is_dual_plane() 287 unsigned int source_format, in get_meta_and_pte_attr() argument 742 pipe_param->src.source_format, in get_surf_rq_param() 756 rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 in dml_rq_dlg_get_rq_params() 757 || pipe_param->src.source_format == dm_420_10 in dml_rq_dlg_get_rq_params() 758 || pipe_param->src.source_format == dm_rgbe_alpha in dml_rq_dlg_get_rq_params() 759 || pipe_param->src.source_format == dm_420_12; in dml_rq_dlg_get_rq_params() 761 rq_param->yuv420_10bpc = pipe_param->src.source_format == dm_420_10; in dml_rq_dlg_get_rq_params() 763 rq_param->rgbe_alpha = (pipe_param->src.source_format == dm_rgbe_alpha)?1:0; in dml_rq_dlg_get_rq_params() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn31/ |
H A D | display_rq_dlg_calc_31.c | 32 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument 36 …if ((source_format == dm_420_12) || (source_format == dm_420_8) || (source_format == dm_420_10) ||… in is_dual_plane() 308 unsigned int source_format, in get_meta_and_pte_attr() argument 384 (enum source_format_class) (source_format), in get_meta_and_pte_attr() 738 pipe_param->src.source_format, in get_surf_rq_param() 750 …uv420 = pipe_param->src.source_format == dm_420_8 || pipe_param->src.source_format == dm_420_10 ||… in dml_rq_dlg_get_rq_params() 751 || pipe_param->src.source_format == dm_420_12; in dml_rq_dlg_get_rq_params() 753 rq_param->yuv420_10bpc = pipe_param->src.source_format == dm_420_10; in dml_rq_dlg_get_rq_params() 755 rq_param->rgbe_alpha = (pipe_param->src.source_format == dm_rgbe_alpha) ? 1 : 0; in dml_rq_dlg_get_rq_params() 759 if (is_dual_plane((enum source_format_class) (pipe_param->src.source_format))) { in dml_rq_dlg_get_rq_params() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn314/ |
H A D | display_rq_dlg_calc_314.c | 120 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument 124 …if ((source_format == dm_420_12) || (source_format == dm_420_8) || (source_format == dm_420_10) ||… in is_dual_plane() 396 unsigned int source_format, in get_meta_and_pte_attr() argument 472 (enum source_format_class) (source_format), in get_meta_and_pte_attr() 825 pipe_param->src.source_format, in get_surf_rq_param() 837 …uv420 = pipe_param->src.source_format == dm_420_8 || pipe_param->src.source_format == dm_420_10 ||… in dml_rq_dlg_get_rq_params() 838 || pipe_param->src.source_format == dm_420_12; in dml_rq_dlg_get_rq_params() 840 rq_param->yuv420_10bpc = pipe_param->src.source_format == dm_420_10; in dml_rq_dlg_get_rq_params() 842 rq_param->rgbe_alpha = (pipe_param->src.source_format == dm_rgbe_alpha) ? 1 : 0; in dml_rq_dlg_get_rq_params() 846 if (is_dual_plane((enum source_format_class) (pipe_param->src.source_format))) { in dml_rq_dlg_get_rq_params() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn32/ |
H A D | display_rq_dlg_calc_32.c | 32 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument 36 if ((source_format == dm_420_12) || (source_format == dm_420_8) || (source_format == dm_420_10) in is_dual_plane() 37 || (source_format == dm_rgbe_alpha)) in is_dual_plane() 50 bool dual_plane = is_dual_plane((enum source_format_class) (src->source_format)); in dml32_rq_dlg_get_rq_reg() 95 if ((enum source_format_class) src->source_format == dm_rgbe_alpha) in dml32_rq_dlg_get_rq_reg() 286 dual_plane = is_dual_plane((enum source_format_class) (src->source_format)); in dml32_rq_dlg_get_dlg_reg()
|
H A D | dcn32_fpu.c | 410 pipe_e2e->pipe.src.source_format, in dcn32_predict_pipe_split()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 368 input->src.source_format = dm_420_8; in pipe_ctx_to_e2e_pipe_params() 374 input->src.source_format = dm_420_10; in pipe_ctx_to_e2e_pipe_params() 382 input->src.source_format = dm_444_64; in pipe_ctx_to_e2e_pipe_params() 387 input->src.source_format = dm_rgbe_alpha; in pipe_ctx_to_e2e_pipe_params() 392 input->src.source_format = dm_444_32; in pipe_ctx_to_e2e_pipe_params()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn315/ |
H A D | dcn315_resource.c | 1694 int bpp = source_format_to_bpp(pipes[pipe_cnt].pipe.src.source_format); in dcn315_populate_dml_pipes_from_context()
|