Home
last modified time | relevance | path

Searched refs:mpcc_id (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_mpc.c42 int mpcc_id) in mpc1_set_bg_color() argument
54 REG_SET(MPCC_BG_R_CR[mpcc_id], 0, in mpc1_set_bg_color()
56 REG_SET(MPCC_BG_G_Y[mpcc_id], 0, in mpc1_set_bg_color()
58 REG_SET(MPCC_BG_B_CB[mpcc_id], 0, in mpc1_set_bg_color()
65 int mpcc_id) in mpc1_update_blending() argument
68 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc1_update_blending()
70 REG_UPDATE_5(MPCC_CONTROL[mpcc_id], in mpc1_update_blending()
77 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc1_update_blending()
84 int mpcc_id) in mpc1_update_stereo_mix() argument
88 REG_UPDATE_6(MPCC_SM_CONTROL[mpcc_id], in mpc1_update_stereo_mix()
[all …]
Ddcn10_mpc.h142 int mpcc_id);
154 unsigned int mpcc_id);
168 int mpcc_id);
172 int mpcc_id);
176 int mpcc_id);
184 int mpcc_id);
Ddcn10_hw_sequencer.c1152 hubp->mpcc_id = dpp->inst; in dcn10_init_pipes()
2188 int mpcc_id; in dcn10_update_mpcc() local
2234 mpcc_id = hubp->inst; in dcn10_update_mpcc()
2238 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn10_update_mpcc()
2243 new_mpcc = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, mpcc_id); in dcn10_update_mpcc()
2250 dc->res_pool->mpc, mpcc_id); in dcn10_update_mpcc()
2259 mpcc_id); in dcn10_update_mpcc()
2264 hubp->mpcc_id = mpcc_id; in dcn10_update_mpcc()
Ddcn10_hubp.c65 hubp->mpcc_id = 0xf; in hubp1_set_blank()
1268 hubp1->base.mpcc_id = 0xf; in dcn10_hubp_construct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c48 int mpcc_id) in mpc2_update_blending() argument
52 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc2_update_blending()
54 REG_UPDATE_7(MPCC_CONTROL[mpcc_id], 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()
65 REG_SET(MPCC_BOT_GAIN_OUTSIDE[mpcc_id], 0, MPCC_BOT_GAIN_OUTSIDE, blnd_cfg->bottom_outside_gain); in mpc2_update_blending()
67 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc2_update_blending()
237 struct mpc *mpc, int mpcc_id, in mpc20_power_on_ogam_lut() argument
242 REG_SET(MPCC_MEM_PWR_CTRL[mpcc_id], 0, in mpc20_power_on_ogam_lut()
248 struct mpc *mpc, int mpcc_id, in mpc20_configure_ogam_lut() argument
[all …]
Ddcn20_mpc.h257 int mpcc_id);
283 int mpcc_id,
287 void mpc2_assert_mpcc_idle_before_connect(struct mpc *mpc, int mpcc_id);
288 void mpc20_power_on_ogam_lut(struct mpc *mpc, int mpcc_id, bool power_on);
Ddcn20_hwseq.c632 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn20_program_output_csc() local
635 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_program_output_csc()
655 int mpcc_id = pipe_ctx->plane_res.hubp->inst; in dcn20_set_output_transfer_func() local
666 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_set_output_transfer_func()
686 mpc->funcs->set_output_gamma(mpc, mpcc_id, params); in dcn20_set_output_transfer_func()
1710 int mpcc_id; in dcn20_update_mpcc() local
1752 mpcc_id = hubp->inst; in dcn20_update_mpcc()
1756 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn20_update_mpcc()
1761 new_mpcc = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, mpcc_id); in dcn20_update_mpcc()
1768 dc->res_pool->mpc, mpcc_id); in dcn20_update_mpcc()
[all …]
Ddcn20_hubp.c933 hubp->mpcc_id = 0xf; in hubp2_set_blank()
1287 hubp2->base.mpcc_id = 0xf; in hubp2_construct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h109 int mpcc_id; /* MPCC physical instance */ member
176 int mpcc_id);
204 unsigned int mpcc_id);
219 int mpcc_id);
227 void (*assert_mpcc_idle_before_connect)(struct mpc *mpc, int mpcc_id);
255 int mpcc_id,
259 int mpcc_id,
Dhubp.h63 int mpcc_id; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c241 hubp21->base.mpcc_id = 0xf; in hubp21_construct()