| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_mpc.c | 42 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 …]
|
| D | dcn10_mpc.h | 142 int mpcc_id); 154 unsigned int mpcc_id); 168 int mpcc_id); 172 int mpcc_id); 176 int mpcc_id); 184 int mpcc_id);
|
| D | dcn10_hw_sequencer.c | 1152 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()
|
| D | dcn10_hubp.c | 65 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/ |
| D | dcn20_mpc.c | 48 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 …]
|
| D | dcn20_mpc.h | 257 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);
|
| D | dcn20_hwseq.c | 632 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 …]
|
| D | dcn20_hubp.c | 933 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/ |
| D | mpc.h | 109 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,
|
| D | hubp.h | 63 int mpcc_id; member
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn21/ |
| D | dcn21_hubp.c | 241 hubp21->base.mpcc_id = 0xf; in hubp21_construct()
|