Home
last modified time | relevance | path

Searched refs:source_format (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20v2.c79 static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma) in get_bytes_per_element() argument
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()
108 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument
112 if ((source_format == dm_420_8) || (source_format == dm_420_10)) in is_dual_plane()
324 unsigned int source_format, in get_meta_and_pte_attr() argument
[all …]
Ddisplay_rq_dlg_calc_20.c79 static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma) in get_bytes_per_element() argument
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()
108 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument
112 if ((source_format == dm_420_8) || (source_format == dm_420_10)) in is_dual_plane()
324 unsigned int source_format, in get_meta_and_pte_attr() argument
[all …]
/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c55 static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma) in get_bytes_per_element() argument
59 if (source_format == dm_444_16) { in get_bytes_per_element()
62 } else if (source_format == dm_444_32) { in get_bytes_per_element()
65 } else if (source_format == dm_444_64) { in get_bytes_per_element()
68 } else if (source_format == dm_420_8) { in get_bytes_per_element()
73 } else if (source_format == dm_420_10) { in get_bytes_per_element()
78 } else if (source_format == dm_444_8) { in get_bytes_per_element()
84 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument
88 if ((source_format == dm_420_8) || (source_format == dm_420_10)) in is_dual_plane()
312 unsigned int source_format, in get_meta_and_pte_attr() argument
[all …]
/drivers/media/platform/vsp1/
Dvsp1_wpf.c48 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()
Dvsp1_rpf.c66 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()
/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c40 static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma) in get_bytes_per_element() argument
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()
67 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument
71 if ((source_format == dm_420_8) || (source_format == dm_420_10)) in is_dual_plane()
370 int source_format, in dml1_rq_dlg_get_row_heights() argument
380 (enum source_format_class) source_format, in dml1_rq_dlg_get_row_heights()
[all …]
Ddisplay_mode_structs.h214 int source_format; member
Ddisplay_mode_vba.c426 (enum source_format_class) (src->source_format); in fetch_pipe_params()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1944 pipes[pipe_cnt].pipe.src.source_format = dm_444_32; in dcn20_populate_dml_pipes_from_context()
2026 pipes[pipe_cnt].pipe.src.source_format = dm_420_8; in dcn20_populate_dml_pipes_from_context()
2030 pipes[pipe_cnt].pipe.src.source_format = dm_420_10; in dcn20_populate_dml_pipes_from_context()
2035 pipes[pipe_cnt].pipe.src.source_format = dm_444_64; in dcn20_populate_dml_pipes_from_context()
2039 pipes[pipe_cnt].pipe.src.source_format = dm_444_16; in dcn20_populate_dml_pipes_from_context()
2042 pipes[pipe_cnt].pipe.src.source_format = dm_444_8; in dcn20_populate_dml_pipes_from_context()
2045 pipes[pipe_cnt].pipe.src.source_format = dm_444_32; in dcn20_populate_dml_pipes_from_context()
/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c363 input->src.source_format = dm_420_8; in pipe_ctx_to_e2e_pipe_params()
369 input->src.source_format = dm_420_10; in pipe_ctx_to_e2e_pipe_params()
376 input->src.source_format = dm_444_64; in pipe_ctx_to_e2e_pipe_params()
381 input->src.source_format = dm_444_32; in pipe_ctx_to_e2e_pipe_params()