/drivers/gpu/drm/ |
D | drm_fourcc.c | 215 …_YUV410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, in __drm_format_info() 216 …_YVU410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, in __drm_format_info() 217 …_YUV411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, in __drm_format_info() 218 …_YVU411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, in __drm_format_info() 219 …_YUV420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info() 220 …_YVU420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info() 221 …_YUV422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, in __drm_format_info() 222 …_YVU422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, in __drm_format_info() 223 …_YUV444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, in __drm_format_info() 224 …_YVU444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, in __drm_format_info() [all …]
|
/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, \
|
/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 110 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate() 113 else if (!format->is_yuv && in dcss_plane_can_rotate() 118 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate() 221 if (!format->is_yuv || in dcss_plane_atomic_set_base()
|
D | dcss-scaler.c | 717 if (format->is_yuv) in dcss_scaler_set_rgb10_order() 767 if (format->is_yuv) { in dcss_scaler_setup() 792 if (format->is_yuv) in dcss_scaler_setup()
|
D | dcss-dpr.c | 463 if (!format->is_yuv) { in dcss_dpr_setup_components() 514 dcss_dpr_yuv_en(ch, format->is_yuv); in dcss_dpr_format_set()
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 362 bool is_yuv = false; in scl_vop_cal_scl_fac() local 370 if (info->is_yuv) in scl_vop_cal_scl_fac() 371 is_yuv = true; in scl_vop_cal_scl_fac() 383 if (is_yuv) { in scl_vop_cal_scl_fac() 395 if (is_yuv) { in scl_vop_cal_scl_fac() 441 if (is_yuv) { in scl_vop_cal_scl_fac() 826 if (fb->format->is_yuv && ((state->src.x1 >> 16) % 2)) { in vop_plane_atomic_check() 831 if (fb->format->is_yuv && state->rotation & DRM_MODE_REFLECT_Y) { in vop_plane_atomic_check() 902 int is_yuv = fb->format->is_yuv; in vop_plane_atomic_update() local 961 VOP_WIN_YUV2YUV_SET(vop, win_yuv2yuv, y2r_en, is_yuv); in vop_plane_atomic_update() [all …]
|
D | rockchip_drm_vop.h | 391 static inline int scl_vop_cal_lb_mode(int width, bool is_yuv) in scl_vop_cal_lb_mode() argument 395 if (is_yuv) { in scl_vop_cal_lb_mode()
|
/drivers/gpu/drm/vc4/ |
D | vc4_plane.c | 386 vc4_state->is_yuv = true; in vc4_plane_setup_clipping_and_scaling() 407 vc4_state->is_yuv = false; in vc4_plane_setup_clipping_and_scaling() 467 if (!vc4_state->is_yuv) { in vc4_lbm_size() 971 if (vc4_state->is_yuv) { in vc4_plane_mode_set() 1177 vc4_state->is_yuv = new_vc4_state->is_yuv; in vc4_plane_atomic_async_update()
|
D | vc4_drv.h | 392 bool is_yuv; member
|
/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()
|
/drivers/gpu/drm/sun4i/ |
D | sun4i_backend.c | 290 if (fb->format->is_yuv) in sun4i_backend_update_layer_formats() 363 if (fb->format->is_yuv) in sun4i_backend_update_layer_buffer() 524 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() 466 if (format->is_yuv) { in sun4i_frontend_update_formats()
|
D | sun8i_vi_layer.c | 216 if (!format->is_yuv) in sun8i_vi_layer_get_csc_mode() 262 if (!fmt->is_yuv) in sun8i_vi_layer_update_formats()
|
D | sun8i_ui_layer.c | 185 if (ret || fmt->is_yuv) { in sun8i_ui_layer_update_formats()
|
/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 709 bool scaling = format->is_yuv ? true : (src != dst); in get_scale_config() 712 bool yuv = format->is_yuv; in get_scale_config() 741 bool scaling = format->is_yuv ? true : (src != dst); in calc_pixel_ext() 771 if (format->is_yuv && i == COMP_1_2) { in mdp5_write_pixel_ext()
|
/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_pipeline_state.c | 859 dflow->is_yuv = fb->format->is_yuv; in komeda_complete_data_flow_cfg() 1002 if ((overlap != 0) && dflow->is_yuv) { in komeda_split_data_flow() 1024 if ((overlap != 0) && dflow->is_yuv) { in komeda_split_data_flow()
|
D | komeda_pipeline.h | 365 is_yuv : 1, member
|
/drivers/gpu/drm/i915/display/ |
D | intel_sprite.c | 631 if (fb->format->is_yuv && icl_is_hdr_plane(dev_priv, plane_id)) in skl_program_plane() 766 if (!fb->format->is_yuv) in chv_update_csc() 814 if (fb->format->is_yuv && in vlv_update_clrc() 1019 if (!fb->format->is_yuv) in vlv_update_gamma() 1597 if (!fb->format->is_yuv) in g4x_sprite_min_cdclk() 1712 if (!fb->format->is_yuv) in g4x_update_gamma() 1742 if (!fb->format->is_yuv) in ilk_update_gamma()
|
D | intel_atomic.c | 332 plane_state->hw.fb->format->is_yuv && in intel_atomic_setup_scaler()
|
D | intel_atomic_plane.c | 175 if (fb->format->is_yuv && fb->format->num_planes > 1) in intel_plane_data_rate()
|
/drivers/gpu/drm/xlnx/ |
D | zynqmp_disp.c | 800 if (layer->drm_fmt->is_yuv) { in zynqmp_disp_blend_layer_set_csc() 843 val = (layer->drm_fmt->is_yuv ? in zynqmp_disp_blend_layer_enable() 852 if (layer->drm_fmt->is_yuv) { in zynqmp_disp_blend_layer_enable()
|
/drivers/gpu/drm/mediatek/ |
D | mtk_disp_ovl.c | 172 if (state->fb->format->is_yuv && rotation != 0) in mtk_ovl_layer_check()
|
/drivers/gpu/drm/ingenic/ |
D | ingenic-ipu.c | 428 if (finfo->is_yuv) { in ingenic_ipu_plane_atomic_update()
|