Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c1654 static void vop2_parse_alpha(struct vop2_alpha_config *alpha_config, in vop2_parse_alpha() argument
1657 int src_glb_alpha_en = is_opaque(alpha_config->src_glb_alpha_value) ? 0 : 1; in vop2_parse_alpha()
1658 int dst_glb_alpha_en = is_opaque(alpha_config->dst_glb_alpha_value) ? 0 : 1; in vop2_parse_alpha()
1659 int src_color_mode = alpha_config->src_premulti_en ? in vop2_parse_alpha()
1661 int dst_color_mode = alpha_config->dst_premulti_en ? in vop2_parse_alpha()
1669 if (!alpha_config->src_pixel_alpha_en) in vop2_parse_alpha()
1671 else if (alpha_config->src_pixel_alpha_en && !src_glb_alpha_en) in vop2_parse_alpha()
1688 alpha->src_color_ctrl.bits.glb_alpha = alpha_config->src_glb_alpha_value >> 8; in vop2_parse_alpha()
1695 alpha->dst_color_ctrl.bits.glb_alpha = alpha_config->dst_glb_alpha_value >> 8; in vop2_parse_alpha()
1705 if (alpha_config->dst_pixel_alpha_en && !dst_glb_alpha_en) in vop2_parse_alpha()
[all …]