Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
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()
342 unsigned int source_format, in get_meta_and_pte_attr() argument
[all …]
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()
342 unsigned int source_format, in get_meta_and_pte_attr() argument
[all …]
Ddcn20_fpu.c1408 pipes[pipe_cnt].pipe.src.source_format = dm_444_32; in dcn20_populate_dml_pipes_from_context()
1534 pipes[pipe_cnt].pipe.src.source_format = dm_420_8; in dcn20_populate_dml_pipes_from_context()
1538 pipes[pipe_cnt].pipe.src.source_format = dm_420_10; in dcn20_populate_dml_pipes_from_context()
1544 pipes[pipe_cnt].pipe.src.source_format = dm_444_64; in dcn20_populate_dml_pipes_from_context()
1548 pipes[pipe_cnt].pipe.src.source_format = dm_444_16; in dcn20_populate_dml_pipes_from_context()
1551 pipes[pipe_cnt].pipe.src.source_format = dm_444_8; in dcn20_populate_dml_pipes_from_context()
1554 pipes[pipe_cnt].pipe.src.source_format = dm_rgbe_alpha; in dcn20_populate_dml_pipes_from_context()
1557 pipes[pipe_cnt].pipe.src.source_format = dm_444_32; in dcn20_populate_dml_pipes_from_context()
/linux-6.1.9/drivers/media/platform/renesas/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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c54 static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma) in get_bytes_per_element() argument
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()
83 static bool is_dual_plane(enum source_format_class source_format) in is_dual_plane() argument
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
[all …]
/linux-6.1.9/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()
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()
[all …]
Ddisplay_mode_vba.c610 …ePixelFormat[mode_lib->vba.NumberOfActivePlanes] = (enum source_format_class) (src->source_format); in fetch_pipe_params()
806 int hdiv_c = src->source_format >= dm_420_8 && src->source_format <= dm_422_10 ? 2 : 1; in fetch_pipe_params()
807 int vdiv_c = src->source_format >= dm_420_8 && src->source_format <= dm_420_12 ? 2 : 1; in fetch_pipe_params()
Ddisplay_mode_lib.c184 dml_print("DML PARAMS: source_format = %d\n", pipe_src->source_format); in dml_log_pipe_params()
Ddisplay_mode_structs.h381 int source_format; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c34 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
342 const bool dual_plane_en = is_dual_plane((enum source_format_class)(source_format)); in get_meta_and_pte_attr()
364 dml30_CalculateBytePerPixelAnd256BBlockSizes((enum source_format_class)(source_format), in get_meta_and_pte_attr()
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()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c32 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
361 const bool dual_plane_en = is_dual_plane((enum source_format_class) (source_format)); in get_meta_and_pte_attr()
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()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c120 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
449 const bool dual_plane_en = is_dual_plane((enum source_format_class) (source_format)); in get_meta_and_pte_attr()
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()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_rq_dlg_calc_32.c32 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()
Ddcn32_fpu.c392 pipe_e2e->pipe.src.source_format, in dcn32_predict_pipe_split()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c368 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()