Lines Matching refs:alpha_config

1662 static void vop2_parse_alpha(struct vop2_alpha_config *alpha_config,  in vop2_parse_alpha()  argument
1665 int src_glb_alpha_en = is_opaque(alpha_config->src_glb_alpha_value) ? 0 : 1; in vop2_parse_alpha()
1666 int dst_glb_alpha_en = is_opaque(alpha_config->dst_glb_alpha_value) ? 0 : 1; in vop2_parse_alpha()
1667 int src_color_mode = alpha_config->src_premulti_en ? in vop2_parse_alpha()
1669 int dst_color_mode = alpha_config->dst_premulti_en ? in vop2_parse_alpha()
1677 if (!alpha_config->src_pixel_alpha_en) in vop2_parse_alpha()
1679 else if (alpha_config->src_pixel_alpha_en && !src_glb_alpha_en) in vop2_parse_alpha()
1696 alpha->src_color_ctrl.bits.glb_alpha = alpha_config->src_glb_alpha_value >> 8; in vop2_parse_alpha()
1703 alpha->dst_color_ctrl.bits.glb_alpha = alpha_config->dst_glb_alpha_value >> 8; in vop2_parse_alpha()
1713 if (alpha_config->dst_pixel_alpha_en && !dst_glb_alpha_en) in vop2_parse_alpha()
1738 struct vop2_alpha_config alpha_config; in vop2_setup_cluster_alpha() local
1754 alpha_config.src_premulti_en = premulti_en; in vop2_setup_cluster_alpha()
1755 alpha_config.dst_premulti_en = false; in vop2_setup_cluster_alpha()
1756 alpha_config.src_pixel_alpha_en = src_pixel_alpha_en; in vop2_setup_cluster_alpha()
1757 alpha_config.dst_pixel_alpha_en = true; /* alpha value need transfer to next mix */ in vop2_setup_cluster_alpha()
1758 alpha_config.src_glb_alpha_value = src_glb_alpha_val; in vop2_setup_cluster_alpha()
1759 alpha_config.dst_glb_alpha_value = dst_glb_alpha_val; in vop2_setup_cluster_alpha()
1760 vop2_parse_alpha(&alpha_config, &alpha); in vop2_setup_cluster_alpha()
1777 struct vop2_alpha_config alpha_config; in vop2_setup_alpha() local
1788 alpha_config.dst_pixel_alpha_en = true; /* alpha value need transfer to next mix */ in vop2_setup_alpha()
1820 alpha_config.src_premulti_en = premulti_en; in vop2_setup_alpha()
1825 alpha_config.dst_premulti_en = false; in vop2_setup_alpha()
1826 alpha_config.src_pixel_alpha_en = pixel_alpha_en; in vop2_setup_alpha()
1827 alpha_config.src_glb_alpha_value = plane->state->alpha; in vop2_setup_alpha()
1828 alpha_config.dst_glb_alpha_value = dst_global_alpha; in vop2_setup_alpha()
1831 alpha_config.dst_premulti_en = true; in vop2_setup_alpha()
1832 alpha_config.src_pixel_alpha_en = true; in vop2_setup_alpha()
1833 alpha_config.src_glb_alpha_value = DRM_BLEND_ALPHA_OPAQUE; in vop2_setup_alpha()
1834 alpha_config.dst_glb_alpha_value = DRM_BLEND_ALPHA_OPAQUE; in vop2_setup_alpha()
1837 alpha_config.dst_premulti_en = true; in vop2_setup_alpha()
1838 alpha_config.src_pixel_alpha_en = pixel_alpha_en; in vop2_setup_alpha()
1839 alpha_config.src_glb_alpha_value = plane->state->alpha; in vop2_setup_alpha()
1840 alpha_config.dst_glb_alpha_value = DRM_BLEND_ALPHA_OPAQUE; in vop2_setup_alpha()
1843 vop2_parse_alpha(&alpha_config, &alpha); in vop2_setup_alpha()
1859 alpha_config.src_premulti_en = gpremulti_en; in vop2_setup_alpha()
1860 alpha_config.dst_premulti_en = true; in vop2_setup_alpha()
1861 alpha_config.src_pixel_alpha_en = true; in vop2_setup_alpha()
1862 alpha_config.src_glb_alpha_value = DRM_BLEND_ALPHA_OPAQUE; in vop2_setup_alpha()
1863 alpha_config.dst_glb_alpha_value = DRM_BLEND_ALPHA_OPAQUE; in vop2_setup_alpha()
1864 vop2_parse_alpha(&alpha_config, &alpha); in vop2_setup_alpha()