Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c2087 static void vop2_parse_alpha(struct vop2_alpha_config *alpha_config, in vop2_parse_alpha() argument
2090 int src_glb_alpha_en = is_opaque(alpha_config->src_glb_alpha_value) ? 0 : 1; in vop2_parse_alpha()
2091 int dst_glb_alpha_en = is_opaque(alpha_config->dst_glb_alpha_value) ? 0 : 1; in vop2_parse_alpha()
2092 int src_color_mode = alpha_config->src_premulti_en ? in vop2_parse_alpha()
2094 int dst_color_mode = alpha_config->dst_premulti_en ? in vop2_parse_alpha()
2102 if (!alpha_config->src_pixel_alpha_en) in vop2_parse_alpha()
2104 else if (alpha_config->src_pixel_alpha_en && !src_glb_alpha_en) in vop2_parse_alpha()
2121 alpha->src_color_ctrl.bits.glb_alpha = alpha_config->src_glb_alpha_value >> 8; in vop2_parse_alpha()
2128 alpha->dst_color_ctrl.bits.glb_alpha = alpha_config->dst_glb_alpha_value >> 8; in vop2_parse_alpha()
2138 if (alpha_config->dst_pixel_alpha_en && !dst_glb_alpha_en) in vop2_parse_alpha()
[all …]