/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
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 …]
|
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 …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
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 …]
|
/linux/drivers/media/platform/vsp1/ |
A D | vsp1_wpf.c | 48 struct v4l2_mbus_framefmt *source_format; in vsp1_wpf_set_rotation() local 71 source_format = vsp1_entity_get_pad_format(&wpf->entity, in vsp1_wpf_set_rotation() 78 source_format->width = sink_format->height; in vsp1_wpf_set_rotation() 79 source_format->height = sink_format->width; in vsp1_wpf_set_rotation() 81 source_format->width = sink_format->width; in vsp1_wpf_set_rotation() 82 source_format->height = sink_format->height; in vsp1_wpf_set_rotation() 263 const struct v4l2_mbus_framefmt *source_format; in wpf_configure_stream() local 274 source_format = vsp1_entity_get_pad_format(&wpf->entity, in wpf_configure_stream() 310 if (sink_format->code != source_format->code) in wpf_configure_stream()
|
A D | vsp1_rpf.c | 66 const struct v4l2_mbus_framefmt *source_format; in rpf_configure_stream() local 94 source_format = vsp1_entity_get_pad_format(&rpf->entity, in rpf_configure_stream() 106 if (sink_format->code != source_format->code) in rpf_configure_stream()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
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 …]
|
A D | display_mode_vba.c | 464 …ePixelFormat[mode_lib->vba.NumberOfActivePlanes] = (enum source_format_class) (src->source_format); in fetch_pipe_params() 659 int hdiv_c = src->source_format >= dm_420_8 && src->source_format <= dm_422_10 ? 2 : 1; in fetch_pipe_params() 660 int vdiv_c = src->source_format >= dm_420_8 && src->source_format <= dm_420_12 ? 2 : 1; in fetch_pipe_params()
|
A D | display_mode_structs.h | 236 int source_format; member
|
A D | display_mode_lib.c | 159 dml_print("DML PARAMS: source_format = %d\n", pipe_src->source_format); in dml_log_pipe_params()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
A D | display_rq_dlg_calc_30.c | 33 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument 37 …if ((source_format == dm_420_12) || (source_format == dm_420_8) || (source_format == dm_420_10) ||… in is_dual_plane() 376 unsigned int source_format, in get_meta_and_pte_attr() argument 831 pipe_param->src.source_format, in get_surf_rq_param() 845 rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 in dml_rq_dlg_get_rq_params() 846 || pipe_param->src.source_format == dm_420_10 in dml_rq_dlg_get_rq_params() 847 || pipe_param->src.source_format == dm_rgbe_alpha in dml_rq_dlg_get_rq_params() 848 || pipe_param->src.source_format == dm_420_12; in dml_rq_dlg_get_rq_params() 850 rq_param->yuv420_10bpc = pipe_param->src.source_format == dm_420_10; in dml_rq_dlg_get_rq_params() 852 rq_param->rgbe_alpha = (pipe_param->src.source_format == dm_rgbe_alpha)?1:0; in dml_rq_dlg_get_rq_params() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
A D | display_rq_dlg_calc_31.c | 119 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument 123 …if ((source_format == dm_420_12) || (source_format == dm_420_8) || (source_format == dm_420_10) ||… in is_dual_plane() 395 unsigned int source_format, in get_meta_and_pte_attr() argument 471 (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 …]
|
/linux/drivers/gpu/drm/amd/display/dc/calcs/ |
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()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_resource.c | 2241 pipes[pipe_cnt].pipe.src.source_format = dm_444_32; in dcn20_populate_dml_pipes_from_context() 2349 pipes[pipe_cnt].pipe.src.source_format = dm_420_8; in dcn20_populate_dml_pipes_from_context() 2353 pipes[pipe_cnt].pipe.src.source_format = dm_420_10; in dcn20_populate_dml_pipes_from_context() 2359 pipes[pipe_cnt].pipe.src.source_format = dm_444_64; in dcn20_populate_dml_pipes_from_context() 2363 pipes[pipe_cnt].pipe.src.source_format = dm_444_16; in dcn20_populate_dml_pipes_from_context() 2366 pipes[pipe_cnt].pipe.src.source_format = dm_444_8; in dcn20_populate_dml_pipes_from_context() 2369 pipes[pipe_cnt].pipe.src.source_format = dm_rgbe_alpha; in dcn20_populate_dml_pipes_from_context() 2372 pipes[pipe_cnt].pipe.src.source_format = dm_444_32; in dcn20_populate_dml_pipes_from_context()
|