| /Linux-v5.4/drivers/gpu/drm/ |
| D | drm_fourcc.c | 211 …_YUV410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, in __drm_format_info() 212 …_YVU410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, in __drm_format_info() 213 …_YUV411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, in __drm_format_info() 214 …_YVU411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, in __drm_format_info() 215 …_YUV420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info() 216 …_YVU420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info() 217 …_YUV422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, in __drm_format_info() 218 …_YVU422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, in __drm_format_info() 219 …_YUV444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, in __drm_format_info() 220 …_YVU444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, in __drm_format_info() [all …]
|
| /Linux-v5.4/include/drm/ |
| D | drm_fourcc.h | 135 bool is_yuv; member 157 return info->is_yuv && info->num_planes == 1; in drm_format_info_is_yuv_packed() 171 return info->is_yuv && info->num_planes == 2; in drm_format_info_is_yuv_semiplanar() 185 return info->is_yuv && info->num_planes == 3; in drm_format_info_is_yuv_planar() 200 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410() 215 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411() 230 return info->is_yuv && info->hsub == 2 && info->vsub == 2; in drm_format_info_is_yuv_sampling_420() 245 return info->is_yuv && info->hsub == 2 && info->vsub == 1; in drm_format_info_is_yuv_sampling_422() 260 return info->is_yuv && info->hsub == 1 && info->vsub == 1; in drm_format_info_is_yuv_sampling_444()
|
| /Linux-v5.4/drivers/gpu/drm/msm/disp/ |
| D | mdp_kms.h | 84 bool is_yuv; member 87 #define MDP_FORMAT_IS_YUV(mdp_format) ((mdp_format)->is_yuv)
|
| D | mdp_format.c | 76 .is_yuv = yuv, \
|
| /Linux-v5.4/drivers/gpu/drm/rockchip/ |
| D | rockchip_drm_vop.c | 317 bool is_yuv = false; in scl_vop_cal_scl_fac() local 325 if (info->is_yuv) in scl_vop_cal_scl_fac() 326 is_yuv = true; in scl_vop_cal_scl_fac() 338 if (is_yuv) { in scl_vop_cal_scl_fac() 350 if (is_yuv) { in scl_vop_cal_scl_fac() 396 if (is_yuv) { in scl_vop_cal_scl_fac() 750 if (fb->format->is_yuv && ((state->src.x1 >> 16) % 2)) { in vop_plane_atomic_check() 755 if (fb->format->is_yuv && state->rotation & DRM_MODE_REFLECT_Y) { in vop_plane_atomic_check() 802 int is_yuv = fb->format->is_yuv; in vop_plane_atomic_update() local 851 VOP_WIN_YUV2YUV_SET(vop, win_yuv2yuv, y2r_en, is_yuv); in vop_plane_atomic_update() [all …]
|
| D | rockchip_drm_vop.h | 354 static inline int scl_vop_cal_lb_mode(int width, bool is_yuv) in scl_vop_cal_lb_mode() argument 358 if (is_yuv) { in scl_vop_cal_lb_mode()
|
| /Linux-v5.4/drivers/gpu/drm/vc4/ |
| D | vc4_plane.c | 365 vc4_state->is_yuv = true; in vc4_plane_setup_clipping_and_scaling() 386 vc4_state->is_yuv = false; in vc4_plane_setup_clipping_and_scaling() 436 if (!vc4_state->is_yuv) { in vc4_lbm_size() 858 if (vc4_state->is_yuv) { in vc4_plane_mode_set() 1062 vc4_state->is_yuv = new_vc4_state->is_yuv; in vc4_plane_atomic_async_update()
|
| D | vc4_drv.h | 381 bool is_yuv; member
|
| /Linux-v5.4/drivers/gpu/drm/arm/ |
| D | malidp_planes.c | 219 if (!(info->is_yuv) != !!(modifier & AFBC_FORMAT_MOD_YTR)) { in malidp_format_mod_supported() 221 info->is_yuv ? "disallowed" : "mandatory", in malidp_format_mod_supported() 222 info->is_yuv ? "YUV" : "RGB"); in malidp_format_mod_supported() 227 if (!info->is_yuv) { in malidp_format_mod_supported()
|
| D | malidp_mw.c | 178 if (fb->format->is_yuv) in malidp_mw_encoder_atomic_check()
|
| /Linux-v5.4/drivers/gpu/drm/sun4i/ |
| D | sun4i_backend.c | 289 if (fb->format->is_yuv) in sun4i_backend_update_layer_formats() 362 if (fb->format->is_yuv) in sun4i_backend_update_layer_buffer() 523 if (fb->format->is_yuv) { in sun4i_backend_atomic_check()
|
| D | sun4i_frontend.c | 251 if (!format->is_yuv) in sun4i_frontend_drm_format_to_input_fmt() 464 if (format->is_yuv) { in sun4i_frontend_update_formats()
|
| /Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/ |
| D | mdp5_plane.c | 695 bool scaling = format->is_yuv ? true : (src != dst); in get_scale_config() 698 bool yuv = format->is_yuv; in get_scale_config() 727 bool scaling = format->is_yuv ? true : (src != dst); in calc_pixel_ext() 757 if (format->is_yuv && i == COMP_1_2) { in mdp5_write_pixel_ext()
|
| /Linux-v5.4/drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_pipeline_state.c | 807 dflow->is_yuv = fb->format->is_yuv; in komeda_complete_data_flow_cfg() 950 if ((overlap != 0) && dflow->is_yuv) { in komeda_split_data_flow() 972 if ((overlap != 0) && dflow->is_yuv) { in komeda_split_data_flow()
|
| D | komeda_pipeline.h | 359 is_yuv : 1, member
|
| /Linux-v5.4/drivers/gpu/drm/i915/display/ |
| D | intel_sprite.c | 308 if (!fb->format->is_yuv) in intel_plane_check_src_coordinates() 618 if (fb->format->is_yuv && icl_is_hdr_plane(dev_priv, plane_id)) in skl_program_plane() 764 if (!fb->format->is_yuv) in chv_update_csc() 799 if (fb->format->is_yuv && in vlv_update_clrc() 916 if (!fb->format->is_yuv) in vlv_update_gamma() 1350 if (!fb->format->is_yuv) in g4x_update_gamma() 1382 if (!fb->format->is_yuv) in ilk_update_gamma()
|
| D | intel_atomic.c | 254 plane_state->base.fb->format->is_yuv && in intel_atomic_setup_scaler()
|
| D | intel_atomic_plane.c | 135 if (fb->format->is_yuv && fb->format->num_planes > 1) in intel_plane_data_rate()
|
| D | intel_display.c | 4205 if (fb->format->is_yuv && !icl_is_hdr_plane(dev_priv, plane->id)) { in glk_plane_color_ctl() 4213 } else if (fb->format->is_yuv) { in glk_plane_color_ctl()
|
| /Linux-v5.4/drivers/gpu/drm/omapdrm/dss/ |
| D | dispc.c | 1897 if (!info->is_yuv) { in dispc_ovl_set_scaling_uv() 2626 if (info->is_yuv && (in_width & 1)) { in dispc_ovl_setup_common() 2666 if (info->is_yuv && (in_width & 1)) { in dispc_ovl_setup_common() 2674 if (info->is_yuv) in dispc_ovl_setup_common()
|
| /Linux-v5.4/drivers/gpu/drm/arm/display/komeda/d71/ |
| D | d71_component.c | 228 if (fb->format->is_yuv) { in d71_layer_update()
|
| /Linux-v5.4/drivers/gpu/drm/i915/ |
| D | intel_pm.c | 5042 if (fb->format->is_yuv && fb->format->num_planes > 1) { in skl_build_plane_wm() 5067 WARN_ON(!fb->format->is_yuv || in icl_build_plane_wm()
|