Home
last modified time | relevance | path

Searched refs:opp_id (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_mpc.c138 unsigned int opp_id; in mpc1_is_mpcc_idle() local
142 REG_GET(MPCC_OPP_ID[mpcc_id], MPCC_OPP_ID, &opp_id); in mpc1_is_mpcc_idle()
144 if (top_sel == 0xf && opp_id == 0xf && idle) in mpc1_is_mpcc_idle()
225 REG_SET(MPCC_OPP_ID[mpcc_id], 0, MPCC_OPP_ID, tree->opp_id); in mpc1_insert_plane()
228 REG_SET(MPCC_UPDATE_LOCK_SEL[mpcc_id], 0, MPCC_UPDATE_LOCK_SEL, tree->opp_id); in mpc1_insert_plane()
234 REG_UPDATE(MUX[tree->opp_id], MPC_OUT_MUX, mpcc_id); in mpc1_insert_plane()
290 REG_UPDATE(MUX[tree->opp_id], MPC_OUT_MUX, tree->opp_list->mpcc_id); in mpc1_remove_mpcc()
294 REG_UPDATE(MUX[tree->opp_id], MPC_OUT_MUX, 0xf); in mpc1_remove_mpcc()
363 int opp_id; in mpc1_mpc_init() local
375 for (opp_id = 0; opp_id < MAX_OPP; opp_id++) { in mpc1_mpc_init()
[all …]
Ddcn10_mpc.h201 void mpc1_cursor_lock(struct mpc *mpc, int opp_id, bool lock);
203 unsigned int mpc1_get_mpc_out_mux(struct mpc *mpc, int opp_id);
Ddcn10_hw_sequencer.h68 int opp_id);
Ddcn10_hw_sequencer_debug.c399 if (s.opp_id != 0xf) { in dcn10_get_mpcc_states()
401 i, s.opp_id, s.dpp_id, s.bot_mpcc_id, in dcn10_get_mpcc_states()
Ddcn10_hw_sequencer.c339 if (s.opp_id != 0xf) in dcn10_log_hw_state()
341 i, s.opp_id, s.dpp_id, s.bot_mpcc_id, in dcn10_log_hw_state()
1150 int opp_id = hubp->opp_id; in dcn10_plane_atomic_disable() local
1158 if (opp_id != 0xf && pipe_ctx->stream_res.opp->mpc_tree_params.opp_list == NULL) in dcn10_plane_atomic_disable()
1280 hubp->opp_id = OPP_ID_INVALID; in dcn10_init_pipes()
1283 dc->res_pool->opps[i]->mpc_tree_params.opp_id = dc->res_pool->opps[i]->inst; in dcn10_init_pipes()
2384 int opp_id) in dcn10_program_output_csc() argument
2518 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn10_update_mpcc()
Ddcn10_hubp.c66 hubp->opp_id = OPP_ID_INVALID; in hubp1_set_blank()
1368 hubp1->base.opp_id = OPP_ID_INVALID; in dcn10_hubp_construct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_optc.c43 static void optc31_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc31_set_odm_combine() argument
61 memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2); in optc31_set_odm_combine()
63 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc31_set_odm_combine()
76 OPTC_SEG0_SRC_SEL, opp_id[0], in optc31_set_odm_combine()
77 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc31_set_odm_combine()
81 OPTC_SEG0_SRC_SEL, opp_id[0], in optc31_set_odm_combine()
82 OPTC_SEG1_SRC_SEL, opp_id[1], in optc31_set_odm_combine()
83 OPTC_SEG2_SRC_SEL, opp_id[2], in optc31_set_odm_combine()
84 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc31_set_odm_combine()
Ddcn31_hubp.c99 hubp2->base.opp_id = OPP_ID_INVALID; in hubp31_construct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_optc.c203 static void optc3_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc3_set_odm_combine() argument
228 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc3_set_odm_combine()
233 …memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2) | 0x1 << (opp_id[2] * 2) | 0x1 << (o… in optc3_set_odm_combine()
243 OPTC_SEG0_SRC_SEL, opp_id[0], in optc3_set_odm_combine()
244 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc3_set_odm_combine()
248 OPTC_SEG0_SRC_SEL, opp_id[0], in optc3_set_odm_combine()
249 OPTC_SEG1_SRC_SEL, opp_id[1], in optc3_set_odm_combine()
250 OPTC_SEG2_SRC_SEL, opp_id[2], in optc3_set_odm_combine()
251 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc3_set_odm_combine()
Ddcn30_mpc.c85 int opp_id, in mpc3_set_out_rate_control() argument
92 REG_UPDATE_2(MUX[opp_id], in mpc3_set_out_rate_control()
97 REG_UPDATE_2(MUX[opp_id], in mpc3_set_out_rate_control()
380 int opp_id, in mpc3_set_denorm() argument
413 REG_UPDATE(DENORM_CONTROL[opp_id], in mpc3_set_denorm()
419 int opp_id, in mpc3_set_denorm_clamp() argument
425 REG_UPDATE_2(DENORM_CONTROL[opp_id], in mpc3_set_denorm_clamp()
428 REG_UPDATE_2(DENORM_CLAMP_G_Y[opp_id], in mpc3_set_denorm_clamp()
431 REG_UPDATE_2(DENORM_CLAMP_B_CB[opp_id], in mpc3_set_denorm_clamp()
1236 int opp_id, in mpc3_set_output_csc() argument
[all …]
Ddcn30_mpc.h810 int opp_id,
815 int opp_id,
820 int opp_id,
826 int opp_id,
Ddcn30_hubp.c531 hubp2->base.opp_id = OPP_ID_INVALID; in hubp3_construct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h127 int opp_id; /* The OPP instance that owns this MPC tree */ member
141 uint32_t opp_id; member
239 int opp_id,
297 int opp_id,
302 int opp_id,
306 int opp_id,
311 int opp_id,
338 int opp_id,
364 int opp_id);
Dhubp.h63 int opp_id; member
Dtiming_generator.h291 void (*set_odm_combine)(struct timing_generator *optc, int *opp_id, int opp_cnt,
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c75 int opp_id, in mpc2_set_denorm() argument
107 REG_UPDATE(DENORM_CONTROL[opp_id], in mpc2_set_denorm()
113 int opp_id, in mpc2_set_denorm_clamp() argument
118 REG_UPDATE_2(DENORM_CONTROL[opp_id], in mpc2_set_denorm_clamp()
121 REG_UPDATE_2(DENORM_CLAMP_G_Y[opp_id], in mpc2_set_denorm_clamp()
124 REG_UPDATE_2(DENORM_CLAMP_B_CB[opp_id], in mpc2_set_denorm_clamp()
133 int opp_id, in mpc2_set_output_csc() argument
142 REG_SET(CSC_MODE[opp_id], 0, MPC_OCSC_MODE, ocsc_mode); in mpc2_set_output_csc()
170 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_A[opp_id]); in mpc2_set_output_csc()
171 ocsc_regs.csc_c33_c34 = REG(CSC_C33_C34_A[opp_id]); in mpc2_set_output_csc()
[all …]
Ddcn20_optc.c219 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc2_set_odm_combine() argument
242 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc2_set_odm_combine()
250 OPTC_SEG0_SRC_SEL, opp_id[0], in optc2_set_odm_combine()
251 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc2_set_odm_combine()
Ddcn20_mpc.h284 int opp_id,
289 int opp_id,
294 int opp_id,
300 int opp_id,
Ddcn20_hwseq.h51 int opp_id);
Ddcn20_optc.h104 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt,
Ddcn20_hwseq.c769 int opp_id) in dcn20_program_output_csc() argument
781 opp_id, in dcn20_program_output_csc()
787 opp_id, in dcn20_program_output_csc()
1526 hubp->opp_id); in dcn20_update_dchubp_dpp()
2362 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn20_update_mpcc()
2496 res_pool->opps[i]->mpc_tree_params.opp_id = res_pool->opps[i]->inst; in dcn20_fpga_init_hw()
2515 hubp->opp_id = OPP_ID_INVALID; in dcn20_fpga_init_hw()
Ddcn20_hubp.c956 hubp->opp_id = OPP_ID_INVALID; in hubp2_set_blank()
1640 hubp2->base.opp_id = OPP_ID_INVALID; in hubp2_construct()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer.h163 uint16_t *matrix, int opp_id);
/Linux-v5.15/Documentation/arm/omap/
Domap_pm.rst127 7. `(*pdata->dsp_set_min_opp)(u8 opp_id)`
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1976 if (s.opp_id < MAX_OPP) in acquire_resource_from_hw_enabled_state()
1977 pipe_ctx->stream_res.opp->mpc_tree_params.opp_id = s.opp_id; in acquire_resource_from_hw_enabled_state()

12