Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_disp_ovl.c401 unsigned int blend_mode = DRM_MODE_BLEND_COVERAGE; in mtk_ovl_fmt_convert() local
416 blend_mode = state->base.pixel_blend_mode; in mtk_ovl_fmt_convert()
432 return blend_mode == DRM_MODE_BLEND_COVERAGE ? in mtk_ovl_fmt_convert()
439 return blend_mode == DRM_MODE_BLEND_COVERAGE ? in mtk_ovl_fmt_convert()
446 return blend_mode == DRM_MODE_BLEND_COVERAGE ? in mtk_ovl_fmt_convert()
453 return blend_mode == DRM_MODE_BLEND_COVERAGE ? in mtk_ovl_fmt_convert()
476 unsigned int blend_mode = state->base.pixel_blend_mode; in mtk_ovl_layer_config() local
503 if (blend_mode || state->base.fb->format->has_alpha) in mtk_ovl_layer_config()
512 if (blend_mode == DRM_MODE_BLEND_PIXEL_NONE || !state->base.fb->format->has_alpha) in mtk_ovl_layer_config()
/linux-6.12.1/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c111 u32 blend_mode:2; member
2103 alpha->src_color_ctrl.bits.blend_mode = ALPHA_GLOBAL; in vop2_parse_alpha()
2105 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX; in vop2_parse_alpha()
2107 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX_GLOBAL; in vop2_parse_alpha()
2111 if (alpha->src_color_ctrl.bits.blend_mode == ALPHA_GLOBAL) { in vop2_parse_alpha()
2114 } else if (alpha->src_color_ctrl.bits.blend_mode == ALPHA_PER_PIX) { in vop2_parse_alpha()
2127 alpha->dst_color_ctrl.bits.blend_mode = ALPHA_GLOBAL; in vop2_parse_alpha()
2133 alpha->src_alpha_ctrl.bits.blend_mode = alpha->src_color_ctrl.bits.blend_mode; in vop2_parse_alpha()
2139 alpha->dst_alpha_ctrl.bits.blend_mode = ALPHA_PER_PIX; in vop2_parse_alpha()
2141 alpha->dst_alpha_ctrl.bits.blend_mode = ALPHA_PER_PIX_GLOBAL; in vop2_parse_alpha()