Searched refs:blnd_cfg (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_mpc.c | 50 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 …]
|
| D | dcn20_hwseq.c | 2293 struct mpcc_blnd_cfg blnd_cfg = { {0} }; in dcn20_update_mpcc() local 2301 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn20_update_mpcc() 2303 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn20_update_mpcc() 2305 blnd_cfg.overlap_only = false; in dcn20_update_mpcc() 2306 blnd_cfg.global_gain = 0xff; in dcn20_update_mpcc() 2309 blnd_cfg.global_alpha = pipe_ctx->plane_state->global_alpha_value; in dcn20_update_mpcc() 2311 blnd_cfg.global_alpha = 0xff; in dcn20_update_mpcc() 2313 blnd_cfg.background_color_bpc = 4; in dcn20_update_mpcc() 2314 blnd_cfg.bottom_gain_mode = 0; in dcn20_update_mpcc() 2315 blnd_cfg.top_gain = 0x1f000; in dcn20_update_mpcc() [all …]
|
| D | dcn20_mpc.h | 279 struct mpcc_blnd_cfg *blnd_cfg,
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_mpc.c | 48 bottommost_mpcc->blnd_cfg.black_color = *bg_color; in mpc1_set_bg_color() 73 struct mpcc_blnd_cfg *blnd_cfg, in mpc1_update_blending() argument 80 MPCC_ALPHA_BLND_MODE, blnd_cfg->alpha_mode, in mpc1_update_blending() 81 MPCC_ALPHA_MULTIPLIED_MODE, blnd_cfg->pre_multiplied_alpha, in mpc1_update_blending() 82 MPCC_BLND_ACTIVE_OVERLAP_ONLY, blnd_cfg->overlap_only, in mpc1_update_blending() 83 MPCC_GLOBAL_ALPHA, blnd_cfg->global_alpha, in mpc1_update_blending() 84 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain); in mpc1_update_blending() 86 mpcc->blnd_cfg = *blnd_cfg; in mpc1_update_blending() 187 struct mpcc_blnd_cfg *blnd_cfg, in mpc1_insert_plane() argument 251 mpc->funcs->update_blending(mpc, blnd_cfg, mpcc_id); in mpc1_insert_plane() [all …]
|
| D | dcn10_mpc.h | 144 struct mpcc_blnd_cfg *blnd_cfg,
|
| D | dcn10_hw_sequencer.c | 2451 struct mpcc_blnd_cfg blnd_cfg = {{0}}; in dcn10_update_mpcc() local 2459 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; in dcn10_update_mpcc() 2461 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA; in dcn10_update_mpcc() 2463 blnd_cfg.overlap_only = false; in dcn10_update_mpcc() 2464 blnd_cfg.global_gain = 0xff; in dcn10_update_mpcc() 2467 blnd_cfg.global_alpha = pipe_ctx->plane_state->global_alpha_value; in dcn10_update_mpcc() 2469 blnd_cfg.global_alpha = 0xff; in dcn10_update_mpcc() 2474 blnd_cfg.pre_multiplied_alpha = is_rgb_cspace( in dcn10_update_mpcc() 2491 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn10_update_mpcc() 2492 dc->hwss.update_visual_confirm_color(dc, pipe_ctx, &blnd_cfg.black_color, mpcc_id); in dcn10_update_mpcc() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| D | mpc.h | 118 struct mpcc_blnd_cfg blnd_cfg; /* The blending configuration for this MPCC */ member 177 struct mpcc_blnd_cfg *blnd_cfg, 223 struct mpcc_blnd_cfg *blnd_cfg, 261 struct mpcc_blnd_cfg *blnd_cfg,
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_mpc.c | 1043 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()
|