Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_lm.c113 u32 stage, u32 fg_alpha, u32 bg_alpha, u32 blend_op) in dpu_hw_lm_setup_blend_config_combined_alpha() argument
126 const_alpha = (bg_alpha & 0xFF) | ((fg_alpha & 0xFF) << 16); in dpu_hw_lm_setup_blend_config_combined_alpha()
132 u32 stage, u32 fg_alpha, u32 bg_alpha, u32 blend_op) in dpu_hw_lm_setup_blend_config() argument
144 DPU_REG_WRITE(c, LM_BLEND0_FG_ALPHA + stage_off, fg_alpha); in dpu_hw_lm_setup_blend_config()
Ddpu_hw_lm.h43 uint32_t fg_alpha, uint32_t bg_alpha, uint32_t blend_op);
Ddpu_crtc.c337 uint32_t fg_alpha, bg_alpha; in _dpu_crtc_setup_blend_cfg() local
339 fg_alpha = pstate->base.alpha >> 8; in _dpu_crtc_setup_blend_cfg()
340 bg_alpha = 0xff - fg_alpha; in _dpu_crtc_setup_blend_cfg()
350 if (fg_alpha != 0xff) { in _dpu_crtc_setup_blend_cfg()
351 bg_alpha = fg_alpha; in _dpu_crtc_setup_blend_cfg()
361 if (fg_alpha != 0xff) { in _dpu_crtc_setup_blend_cfg()
362 bg_alpha = fg_alpha; in _dpu_crtc_setup_blend_cfg()
373 fg_alpha, bg_alpha, blend_op); in _dpu_crtc_setup_blend_cfg()
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c227 uint32_t blend_op, fg_alpha, bg_alpha, ctl_blend_flags = 0; in blend_setup() local
295 fg_alpha = pstates[i]->base.alpha >> 8; in blend_setup()
296 bg_alpha = 0xFF - fg_alpha; in blend_setup()
303 DBG("Stage %d fg_alpha %x bg_alpha %x", i, fg_alpha, bg_alpha); in blend_setup()
309 if (fg_alpha != 0xff) { in blend_setup()
310 bg_alpha = fg_alpha; in blend_setup()
321 if (fg_alpha != 0xff) { in blend_setup()
322 bg_alpha = fg_alpha; in blend_setup()
336 blender(i)), fg_alpha); in blend_setup()
343 blender(i)), fg_alpha); in blend_setup()