Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn201/
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()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn20/
Ddcn20_mpc.c50 struct mpcc_blnd_cfg *blnd_cfg, in mpc2_update_blending() argument
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->bottom_inside_gain); in mpc2_update_blending()
[all …]
Ddcn20_mpc.h279 struct mpcc_blnd_cfg *blnd_cfg,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
Ddcn201_hwseq.c425 struct mpcc_blnd_cfg blnd_cfg; in dcn201_update_mpcc() local
435 pipe_ctx, &blnd_cfg.black_color); in dcn201_update_mpcc()
438 pipe_ctx, &blnd_cfg.black_color); in dcn201_update_mpcc()
442 &blnd_cfg.black_color); in dcn201_update_mpcc()
446 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn201_update_mpcc()
448 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn201_update_mpcc()
450 blnd_cfg.overlap_only = false; in dcn201_update_mpcc()
453 blnd_cfg.global_alpha = pipe_ctx->plane_state->global_alpha_value; in dcn201_update_mpcc()
455 blnd_cfg.global_alpha = 0xff; in dcn201_update_mpcc()
457 blnd_cfg.global_gain = 0xff; in dcn201_update_mpcc()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn10/
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() argument
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()
198 struct mpcc_blnd_cfg *blnd_cfg, in mpc1_insert_plane() argument
263 mpc->funcs->update_blending(mpc, blnd_cfg, mpcc_id); in mpc1_insert_plane()
[all …]
Ddcn10_mpc.h144 struct mpcc_blnd_cfg *blnd_cfg,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h246 struct mpcc_blnd_cfg blnd_cfg; member
355 struct mpcc_blnd_cfg *blnd_cfg,
426 struct mpcc_blnd_cfg *blnd_cfg,
476 struct mpcc_blnd_cfg *blnd_cfg,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
Ddcn20_hwseq.c2893 struct mpcc_blnd_cfg blnd_cfg = {0}; in dcn20_update_mpcc() local
2900 blnd_cfg.overlap_only = false; in dcn20_update_mpcc()
2901 blnd_cfg.global_gain = 0xff; in dcn20_update_mpcc()
2904 blnd_cfg.pre_multiplied_alpha = pipe_ctx->plane_state->pre_multiplied_alpha; in dcn20_update_mpcc()
2906 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA_COMBINED_GLOBAL_GAIN; in dcn20_update_mpcc()
2907 blnd_cfg.global_gain = pipe_ctx->plane_state->global_alpha_value; in dcn20_update_mpcc()
2909 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn20_update_mpcc()
2912 blnd_cfg.pre_multiplied_alpha = false; in dcn20_update_mpcc()
2913 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn20_update_mpcc()
2917 blnd_cfg.global_alpha = pipe_ctx->plane_state->global_alpha_value; in dcn20_update_mpcc()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn30/
Ddcn30_mpc.c1037 mpcc->blnd_cfg.overlap_only = false; in mpc3_init_mpcc()
1038 mpcc->blnd_cfg.global_alpha = 0xff; in mpc3_init_mpcc()
1039 mpcc->blnd_cfg.global_gain = 0xff; in mpc3_init_mpcc()
1040 mpcc->blnd_cfg.background_color_bpc = 4; in mpc3_init_mpcc()
1041 mpcc->blnd_cfg.bottom_gain_mode = 0; in mpc3_init_mpcc()
1042 mpcc->blnd_cfg.top_gain = 0x1f000; in mpc3_init_mpcc()
1043 mpcc->blnd_cfg.bottom_inside_gain = 0x1f000; in mpc3_init_mpcc()
1044 mpcc->blnd_cfg.bottom_outside_gain = 0x1f000; in mpc3_init_mpcc()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
Ddcn10_hwseq.c2678 struct mpcc_blnd_cfg blnd_cfg = {0}; in dcn10_update_mpcc() local
2685 blnd_cfg.overlap_only = false; in dcn10_update_mpcc()
2686 blnd_cfg.global_gain = 0xff; in dcn10_update_mpcc()
2692 blnd_cfg.pre_multiplied_alpha = (is_rgb_cspace( in dcn10_update_mpcc()
2696 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA_COMBINED_GLOBAL_GAIN; in dcn10_update_mpcc()
2697 blnd_cfg.global_gain = pipe_ctx->plane_state->global_alpha_value; in dcn10_update_mpcc()
2699 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn10_update_mpcc()
2702 blnd_cfg.pre_multiplied_alpha = false; in dcn10_update_mpcc()
2703 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn10_update_mpcc()
2707 blnd_cfg.global_alpha = pipe_ctx->plane_state->global_alpha_value; in dcn10_update_mpcc()
[all …]