Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c47 struct mpcc_blnd_cfg *blnd_cfg, in mpc2_update_blending() argument
55 MPCC_ALPHA_BLND_MODE, blnd_cfg->alpha_mode, in mpc2_update_blending()
56 MPCC_ALPHA_MULTIPLIED_MODE, blnd_cfg->pre_multiplied_alpha, in mpc2_update_blending()
57 MPCC_BLND_ACTIVE_OVERLAP_ONLY, blnd_cfg->overlap_only, in mpc2_update_blending()
58 MPCC_GLOBAL_ALPHA, blnd_cfg->global_alpha, in mpc2_update_blending()
59 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain, in mpc2_update_blending()
60 MPCC_BG_BPC, blnd_cfg->background_color_bpc, in mpc2_update_blending()
61 MPCC_BOT_GAIN_MODE, blnd_cfg->bottom_gain_mode); in mpc2_update_blending()
63 REG_SET(MPCC_TOP_GAIN[mpcc_id], 0, MPCC_TOP_GAIN, blnd_cfg->top_gain); in mpc2_update_blending()
64 REG_SET(MPCC_BOT_GAIN_INSIDE[mpcc_id], 0, MPCC_BOT_GAIN_INSIDE, blnd_cfg->bottom_inside_gain); in mpc2_update_blending()
[all …]
Ddcn20_hwseq.c1708 struct mpcc_blnd_cfg blnd_cfg = { {0} }; in dcn20_update_mpcc() local
1718 pipe_ctx, &blnd_cfg.black_color); in dcn20_update_mpcc()
1721 pipe_ctx, &blnd_cfg.black_color); in dcn20_update_mpcc()
1725 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn20_update_mpcc()
1727 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn20_update_mpcc()
1729 blnd_cfg.overlap_only = false; in dcn20_update_mpcc()
1730 blnd_cfg.global_gain = 0xff; in dcn20_update_mpcc()
1733 blnd_cfg.global_alpha = pipe_ctx->plane_state->global_alpha_value; in dcn20_update_mpcc()
1735 blnd_cfg.global_alpha = 0xff; in dcn20_update_mpcc()
1737 blnd_cfg.background_color_bpc = 4; in dcn20_update_mpcc()
[all …]
Ddcn20_mpc.h256 struct mpcc_blnd_cfg *blnd_cfg,
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_mpc.c64 struct mpcc_blnd_cfg *blnd_cfg, in mpc1_update_blending() argument
71 MPCC_ALPHA_BLND_MODE, blnd_cfg->alpha_mode, in mpc1_update_blending()
72 MPCC_ALPHA_MULTIPLIED_MODE, blnd_cfg->pre_multiplied_alpha, in mpc1_update_blending()
73 MPCC_BLND_ACTIVE_OVERLAP_ONLY, blnd_cfg->overlap_only, in mpc1_update_blending()
74 MPCC_GLOBAL_ALPHA, blnd_cfg->global_alpha, in mpc1_update_blending()
75 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain); in mpc1_update_blending()
77 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc1_update_blending()
78 mpcc->blnd_cfg = *blnd_cfg; in mpc1_update_blending()
179 struct mpcc_blnd_cfg *blnd_cfg, in mpc1_insert_plane() argument
240 mpc->funcs->update_blending(mpc, blnd_cfg, mpcc_id); in mpc1_insert_plane()
[all …]
Ddcn10_hw_sequencer.c2186 struct mpcc_blnd_cfg blnd_cfg = {{0}}; in dcn10_update_mpcc() local
2195 pipe_ctx, &blnd_cfg.black_color); in dcn10_update_mpcc()
2198 pipe_ctx, &blnd_cfg.black_color); in dcn10_update_mpcc()
2202 &blnd_cfg.black_color); in dcn10_update_mpcc()
2206 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn10_update_mpcc()
2208 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn10_update_mpcc()
2210 blnd_cfg.overlap_only = false; in dcn10_update_mpcc()
2211 blnd_cfg.global_gain = 0xff; in dcn10_update_mpcc()
2214 blnd_cfg.global_alpha = pipe_ctx->plane_state->global_alpha_value; in dcn10_update_mpcc()
2216 blnd_cfg.global_alpha = 0xff; in dcn10_update_mpcc()
[all …]
Ddcn10_mpc.h138 struct mpcc_blnd_cfg *blnd_cfg,
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h112 struct mpcc_blnd_cfg blnd_cfg; /* The blending configuration for this MPCC */ member
172 struct mpcc_blnd_cfg *blnd_cfg,
218 struct mpcc_blnd_cfg *blnd_cfg,