Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_mpc.c149 unsigned int opp_id; in mpc1_is_mpcc_idle() local
374 int opp_id; in mpc1_mpc_init() local
386 for (opp_id = 0; opp_id < MAX_OPP; opp_id++) { in mpc1_mpc_init()
387 if (REG(MUX[opp_id])) in mpc1_mpc_init()
395 int opp_id; in mpc1_mpc_init_single_inst() local
406 if (opp_id < MAX_OPP && REG(MUX[opp_id])) in mpc1_mpc_init_single_inst()
416 unsigned int opp_id; in mpc1_init_mpcc_list_from_hw() local
435 if ((opp_id == tree->opp_id) && (top_sel != 0xf)) { in mpc1_init_mpcc_list_from_hw()
446 if ((opp_id == tree->opp_id) && (top_sel != 0xf)) { in mpc1_init_mpcc_list_from_hw()
487 if (opp_id < MAX_OPP && REG(MUX[opp_id])) in mpc1_get_mpc_out_mux()
[all …]
A 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);
A Ddcn10_hw_sequencer.h68 int opp_id);
A 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()
A Ddcn10_hw_sequencer.c343 if (s.opp_id != 0xf) in dcn10_log_hw_state()
345 i, s.opp_id, s.dpp_id, s.bot_mpcc_id, in dcn10_log_hw_state()
1255 int opp_id = hubp->opp_id; in dcn10_plane_atomic_disable() local
1263 if (opp_id != 0xf && pipe_ctx->stream_res.opp->mpc_tree_params.opp_list == NULL) in dcn10_plane_atomic_disable()
1401 hubp->opp_id = OPP_ID_INVALID; in dcn10_init_pipes()
1404 dc->res_pool->opps[i]->mpc_tree_params.opp_id = dc->res_pool->opps[i]->inst; in dcn10_init_pipes()
2549 int opp_id) in dcn10_program_output_csc() argument
2689 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn10_update_mpcc()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn314/
A Ddcn314_optc.c50 static void optc314_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc314_set_odm_combine() argument
74 memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2); in optc314_set_odm_combine()
76 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc314_set_odm_combine()
87 OPTC_SEG0_SRC_SEL, opp_id[0], in optc314_set_odm_combine()
88 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc314_set_odm_combine()
92 OPTC_SEG0_SRC_SEL, opp_id[0], in optc314_set_odm_combine()
93 OPTC_SEG1_SRC_SEL, opp_id[1], in optc314_set_odm_combine()
94 OPTC_SEG2_SRC_SEL, opp_id[2], in optc314_set_odm_combine()
95 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc314_set_odm_combine()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/
A 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()
A Ddcn31_hubp.c109 hubp2->base.opp_id = OPP_ID_INVALID; in hubp31_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_optc.c219 static void optc3_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc3_set_odm_combine() argument
244 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc3_set_odm_combine()
249 …memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2) | 0x1 << (opp_id[2] * 2) | 0x1 << (o… in optc3_set_odm_combine()
259 OPTC_SEG0_SRC_SEL, opp_id[0], in optc3_set_odm_combine()
260 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc3_set_odm_combine()
264 OPTC_SEG0_SRC_SEL, opp_id[0], in optc3_set_odm_combine()
265 OPTC_SEG1_SRC_SEL, opp_id[1], in optc3_set_odm_combine()
266 OPTC_SEG2_SRC_SEL, opp_id[2], in optc3_set_odm_combine()
267 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc3_set_odm_combine()
A 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 …]
A Ddcn30_mpc.h1026 int opp_id,
1031 int opp_id,
1036 int opp_id,
1042 int opp_id,
1080 int opp_id,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dmpc.h173 int opp_id; /* The OPP instance that owns this MPC tree */ member
187 uint32_t opp_id; member
298 int opp_id,
361 int opp_id,
366 int opp_id,
370 int opp_id,
375 int opp_id,
402 int opp_id,
433 int opp_id);
A Dhubp.h64 int opp_id; member
A Dtiming_generator.h310 void (*set_odm_combine)(struct timing_generator *optc, int *opp_id, int opp_cnt,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_optc.c45 static void optc32_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc32_set_odm_combine() argument
69 memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2); in optc32_set_odm_combine()
71 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc32_set_odm_combine()
82 OPTC_SEG0_SRC_SEL, opp_id[0], in optc32_set_odm_combine()
83 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc32_set_odm_combine()
87 OPTC_SEG0_SRC_SEL, opp_id[0], in optc32_set_odm_combine()
88 OPTC_SEG1_SRC_SEL, opp_id[1], in optc32_set_odm_combine()
89 OPTC_SEG2_SRC_SEL, opp_id[2], in optc32_set_odm_combine()
90 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc32_set_odm_combine()
A Ddcn32_hubp.c210 hubp2->base.opp_id = OPP_ID_INVALID; in hubp32_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A 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
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()
173 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_B[opp_id]); in mpc2_set_output_csc()
[all …]
A Ddcn20_optc.c181 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc2_set_odm_combine() argument
204 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc2_set_odm_combine()
212 OPTC_SEG0_SRC_SEL, opp_id[0], in optc2_set_odm_combine()
213 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc2_set_odm_combine()
A Ddcn20_mpc.h284 int opp_id,
289 int opp_id,
294 int opp_id,
300 int opp_id,
A Ddcn20_hwseq.h51 int opp_id);
A Ddcn20_optc.h107 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_mpc.c44 int opp_id, in mpc201_set_out_rate_control() argument
51 REG_UPDATE_2(MUX[opp_id], in mpc201_set_out_rate_control()
56 REG_UPDATE_3(MUX[opp_id], in mpc201_set_out_rate_control()
A Ddcn201_hubp.c145 hubp201->base.opp_id = OPP_ID_INVALID; in dcn201_hubp_construct()
A Ddcn201_hwseq.c308 res_pool->opps[i]->mpc_tree_params.opp_id = res_pool->opps[i]->inst; in dcn201_init_hw()
327 hubp->opp_id = OPP_ID_INVALID; in dcn201_init_hw()
534 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn201_update_mpcc()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/
A Dhw_sequencer.h160 uint16_t *matrix, int opp_id);

Completed in 35 milliseconds

12