Home
last modified time | relevance | path

Searched refs:blnd_cfg (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_mpc.c67 mpcc->blnd_cfg.overlap_only = false; in mpc201_init_mpcc()
68 mpcc->blnd_cfg.global_alpha = 0xff; in mpc201_init_mpcc()
69 mpcc->blnd_cfg.global_gain = 0xff; in mpc201_init_mpcc()
70 mpcc->blnd_cfg.background_color_bpc = 4; in mpc201_init_mpcc()
71 mpcc->blnd_cfg.bottom_gain_mode = 0; in mpc201_init_mpcc()
72 mpcc->blnd_cfg.top_gain = 0x1f000; in mpc201_init_mpcc()
73 mpcc->blnd_cfg.bottom_inside_gain = 0x1f000; in mpc201_init_mpcc()
74 mpcc->blnd_cfg.bottom_outside_gain = 0x1f000; in mpc201_init_mpcc()
H A Ddcn201_hwseq.c421 struct mpcc_blnd_cfg blnd_cfg; in dcn201_update_mpcc() local
431 pipe_ctx, &blnd_cfg.black_color); in dcn201_update_mpcc()
434 pipe_ctx, &blnd_cfg.black_color); in dcn201_update_mpcc()
438 &blnd_cfg.black_color); in dcn201_update_mpcc()
442 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn201_update_mpcc()
444 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn201_update_mpcc()
446 blnd_cfg.overlap_only = false; in dcn201_update_mpcc()
449 blnd_cfg.global_alpha = pipe_ctx->plane_state->global_alpha_value; in dcn201_update_mpcc()
451 blnd_cfg.global_alpha = 0xff; in dcn201_update_mpcc()
453 blnd_cfg in dcn201_update_mpcc()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_mpc.c50 struct mpcc_blnd_cfg *blnd_cfg, in mpc2_update_blending()
58 MPCC_ALPHA_BLND_MODE, blnd_cfg->alpha_mode, in mpc2_update_blending()
59 MPCC_ALPHA_MULTIPLIED_MODE, blnd_cfg->pre_multiplied_alpha, in mpc2_update_blending()
60 MPCC_BLND_ACTIVE_OVERLAP_ONLY, blnd_cfg->overlap_only, in mpc2_update_blending()
61 MPCC_GLOBAL_ALPHA, blnd_cfg->global_alpha, in mpc2_update_blending()
62 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain, in mpc2_update_blending()
63 MPCC_BG_BPC, blnd_cfg->background_color_bpc, in mpc2_update_blending()
64 MPCC_BOT_GAIN_MODE, blnd_cfg->bottom_gain_mode); in mpc2_update_blending()
66 REG_SET(MPCC_TOP_GAIN[mpcc_id], 0, MPCC_TOP_GAIN, blnd_cfg->top_gain); in mpc2_update_blending()
67 REG_SET(MPCC_BOT_GAIN_INSIDE[mpcc_id], 0, MPCC_BOT_GAIN_INSIDE, blnd_cfg in mpc2_update_blending()
48 mpc2_update_blending( struct mpc *mpc, struct mpcc_blnd_cfg *blnd_cfg, int mpcc_id) mpc2_update_blending() argument
[all...]
H A Ddcn20_hwseq.c2255 struct mpcc_blnd_cfg blnd_cfg = { {0} }; in dcn20_update_mpcc() local
2265 pipe_ctx, &blnd_cfg.black_color); in dcn20_update_mpcc()
2268 pipe_ctx, &blnd_cfg.black_color); in dcn20_update_mpcc()
2271 pipe_ctx, &blnd_cfg.black_color); in dcn20_update_mpcc()
2274 blnd_cfg.overlap_only = false; in dcn20_update_mpcc()
2275 blnd_cfg.global_gain = 0xff; in dcn20_update_mpcc()
2278 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA_COMBINED_GLOBAL_GAIN; in dcn20_update_mpcc()
2279 blnd_cfg.global_gain = pipe_ctx->plane_state->global_alpha_value; in dcn20_update_mpcc()
2281 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn20_update_mpcc()
2283 blnd_cfg in dcn20_update_mpcc()
[all...]
H A Ddcn20_mpc.h279 struct mpcc_blnd_cfg *blnd_cfg,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_mpc.c50 struct mpcc_blnd_cfg *blnd_cfg, in mpc2_update_blending()
58 MPCC_ALPHA_BLND_MODE, blnd_cfg->alpha_mode, in mpc2_update_blending()
59 MPCC_ALPHA_MULTIPLIED_MODE, blnd_cfg->pre_multiplied_alpha, in mpc2_update_blending()
60 MPCC_BLND_ACTIVE_OVERLAP_ONLY, blnd_cfg->overlap_only, in mpc2_update_blending()
61 MPCC_GLOBAL_ALPHA, blnd_cfg->global_alpha, in mpc2_update_blending()
62 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain, in mpc2_update_blending()
63 MPCC_BG_BPC, blnd_cfg->background_color_bpc, in mpc2_update_blending()
64 MPCC_BOT_GAIN_MODE, blnd_cfg->bottom_gain_mode); in mpc2_update_blending()
66 REG_SET(MPCC_TOP_GAIN[mpcc_id], 0, MPCC_TOP_GAIN, blnd_cfg->top_gain); in mpc2_update_blending()
67 REG_SET(MPCC_BOT_GAIN_INSIDE[mpcc_id], 0, MPCC_BOT_GAIN_INSIDE, blnd_cfg in mpc2_update_blending()
48 mpc2_update_blending( struct mpc *mpc, struct mpcc_blnd_cfg *blnd_cfg, int mpcc_id) mpc2_update_blending() argument
[all...]
H A Ddcn20_hwseq.c2592 struct mpcc_blnd_cfg blnd_cfg = {0}; in dcn20_update_mpcc() local
2599 blnd_cfg.overlap_only = false; in dcn20_update_mpcc()
2600 blnd_cfg.global_gain = 0xff; in dcn20_update_mpcc()
2603 blnd_cfg.pre_multiplied_alpha = pipe_ctx->plane_state->pre_multiplied_alpha; in dcn20_update_mpcc()
2605 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA_COMBINED_GLOBAL_GAIN; in dcn20_update_mpcc()
2606 blnd_cfg.global_gain = pipe_ctx->plane_state->global_alpha_value; in dcn20_update_mpcc()
2608 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn20_update_mpcc()
2611 blnd_cfg.pre_multiplied_alpha = false; in dcn20_update_mpcc()
2612 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn20_update_mpcc()
2616 blnd_cfg in dcn20_update_mpcc()
[all...]
H A Ddcn20_mpc.h279 struct mpcc_blnd_cfg *blnd_cfg,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_mpc.c71 struct mpcc_blnd_cfg *blnd_cfg, in mpc1_update_blending()
78 MPCC_ALPHA_BLND_MODE, blnd_cfg->alpha_mode, in mpc1_update_blending()
79 MPCC_ALPHA_MULTIPLIED_MODE, blnd_cfg->pre_multiplied_alpha, in mpc1_update_blending()
80 MPCC_BLND_ACTIVE_OVERLAP_ONLY, blnd_cfg->overlap_only, in mpc1_update_blending()
81 MPCC_GLOBAL_ALPHA, blnd_cfg->global_alpha, in mpc1_update_blending()
82 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain); in mpc1_update_blending()
84 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc1_update_blending()
85 mpcc->blnd_cfg = *blnd_cfg; in mpc1_update_blending()
180 * [in] blnd_cfg
69 mpc1_update_blending( struct mpc *mpc, struct mpcc_blnd_cfg *blnd_cfg, int mpcc_id) mpc1_update_blending() argument
189 mpc1_insert_plane( struct mpc *mpc, struct mpc_tree *tree, struct mpcc_blnd_cfg *blnd_cfg, struct mpcc_sm_cfg *sm_cfg, struct mpcc *insert_above_mpcc, int dpp_id, int mpcc_id) mpc1_insert_plane() argument
[all...]
H A Ddcn10_hw_sequencer.c2371 struct mpcc_blnd_cfg blnd_cfg = {{0}}; in dcn10_update_mpcc() local
2380 pipe_ctx, &blnd_cfg.black_color); in dcn10_update_mpcc()
2383 pipe_ctx, &blnd_cfg.black_color); in dcn10_update_mpcc()
2387 &blnd_cfg.black_color); in dcn10_update_mpcc()
2390 blnd_cfg.overlap_only = false; in dcn10_update_mpcc()
2391 blnd_cfg.global_gain = 0xff; in dcn10_update_mpcc()
2394 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA_COMBINED_GLOBAL_GAIN; in dcn10_update_mpcc()
2395 blnd_cfg.global_gain = pipe_ctx->plane_state->global_alpha_value; in dcn10_update_mpcc()
2397 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn10_update_mpcc()
2399 blnd_cfg in dcn10_update_mpcc()
[all...]
H A Ddcn10_mpc.h144 struct mpcc_blnd_cfg *blnd_cfg,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_mpc.c48 bottommost_mpcc->blnd_cfg.black_color = *bg_color; in mpc1_set_bg_color()
78 struct mpcc_blnd_cfg *blnd_cfg, in mpc1_update_blending()
85 MPCC_ALPHA_BLND_MODE, blnd_cfg->alpha_mode, in mpc1_update_blending()
86 MPCC_ALPHA_MULTIPLIED_MODE, blnd_cfg->pre_multiplied_alpha, in mpc1_update_blending()
87 MPCC_BLND_ACTIVE_OVERLAP_ONLY, blnd_cfg->overlap_only, in mpc1_update_blending()
88 MPCC_GLOBAL_ALPHA, blnd_cfg->global_alpha, in mpc1_update_blending()
89 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain); in mpc1_update_blending()
91 mpcc->blnd_cfg = *blnd_cfg; in mpc1_update_blending()
186 * [in] blnd_cfg
76 mpc1_update_blending( struct mpc *mpc, struct mpcc_blnd_cfg *blnd_cfg, int mpcc_id) mpc1_update_blending() argument
195 mpc1_insert_plane( struct mpc *mpc, struct mpc_tree *tree, struct mpcc_blnd_cfg *blnd_cfg, struct mpcc_sm_cfg *sm_cfg, struct mpcc *insert_above_mpcc, int dpp_id, int mpcc_id) mpc1_insert_plane() argument
[all...]
H A Ddcn10_mpc.h144 struct mpcc_blnd_cfg *blnd_cfg,
H A Ddcn10_hw_sequencer.c2604 struct mpcc_blnd_cfg blnd_cfg = {0}; in dcn10_update_mpcc() local
2611 blnd_cfg.overlap_only = false; in dcn10_update_mpcc()
2612 blnd_cfg.global_gain = 0xff; in dcn10_update_mpcc()
2618 blnd_cfg.pre_multiplied_alpha = (is_rgb_cspace( in dcn10_update_mpcc()
2622 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA_COMBINED_GLOBAL_GAIN; in dcn10_update_mpcc()
2623 blnd_cfg.global_gain = pipe_ctx->plane_state->global_alpha_value; in dcn10_update_mpcc()
2625 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn10_update_mpcc()
2628 blnd_cfg.pre_multiplied_alpha = false; in dcn10_update_mpcc()
2629 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn10_update_mpcc()
2633 blnd_cfg in dcn10_update_mpcc()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dmpc.h124 struct mpcc_blnd_cfg blnd_cfg; /* The blending configuration for this MPCC */ member
173 * [in] blnd_cfg - MPCC blending configuration for the new blending layer.
185 struct mpcc_blnd_cfg *blnd_cfg,
224 * [in] blnd_cfg - MPCC blending configuration.
231 struct mpcc_blnd_cfg *blnd_cfg,
258 * [in] blnd_cfg - MPCC blending configuration for the new blending layer.
270 struct mpcc_blnd_cfg *blnd_cfg,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dmpc.h150 * @blnd_cfg: the blending configuration for this MPCC
160 struct mpcc_blnd_cfg blnd_cfg; /* The blending configuration for this MPCC */ member
216 * [in] blnd_cfg - MPCC blending configuration for the new blending layer.
228 struct mpcc_blnd_cfg *blnd_cfg,
273 * [in] blnd_cfg - MPCC blending configuration.
280 struct mpcc_blnd_cfg *blnd_cfg,
310 * [in] blnd_cfg - MPCC blending configuration for the new blending layer.
322 struct mpcc_blnd_cfg *blnd_cfg,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_mpc.c1014 mpcc->blnd_cfg.overlap_only = false; in mpc3_init_mpcc()
1015 mpcc->blnd_cfg.global_alpha = 0xff; in mpc3_init_mpcc()
1016 mpcc->blnd_cfg.global_gain = 0xff; in mpc3_init_mpcc()
1017 mpcc->blnd_cfg.background_color_bpc = 4; in mpc3_init_mpcc()
1018 mpcc->blnd_cfg.bottom_gain_mode = 0; in mpc3_init_mpcc()
1019 mpcc->blnd_cfg.top_gain = 0x1f000; in mpc3_init_mpcc()
1020 mpcc->blnd_cfg.bottom_inside_gain = 0x1f000; in mpc3_init_mpcc()
1021 mpcc->blnd_cfg.bottom_outside_gain = 0x1f000; in mpc3_init_mpcc()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_mpc.c1043 mpcc->blnd_cfg.overlap_only = false; in mpc3_init_mpcc()
1044 mpcc->blnd_cfg.global_alpha = 0xff; in mpc3_init_mpcc()
1045 mpcc->blnd_cfg.global_gain = 0xff; in mpc3_init_mpcc()
1046 mpcc->blnd_cfg.background_color_bpc = 4; in mpc3_init_mpcc()
1047 mpcc->blnd_cfg.bottom_gain_mode = 0; in mpc3_init_mpcc()
1048 mpcc->blnd_cfg.top_gain = 0x1f000; in mpc3_init_mpcc()
1049 mpcc->blnd_cfg.bottom_inside_gain = 0x1f000; in mpc3_init_mpcc()
1050 mpcc->blnd_cfg.bottom_outside_gain = 0x1f000; in mpc3_init_mpcc()

Completed in 25 milliseconds