| /linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn10/ |
| H A D | dcn10_mpc.c | 359 int opp_id; in mpc1_mpc_init() local 371 for (opp_id = 0; opp_id < MAX_OPP; opp_id++) { in mpc1_mpc_init() 372 if (REG(MUX[opp_id])) in mpc1_mpc_init() 380 int opp_id; in mpc1_mpc_init_single_inst() local 391 if (opp_id < MAX_OPP && REG(MUX[opp_id])) in mpc1_mpc_init_single_inst() 392 REG_UPDATE(MUX[opp_id], MPC_OUT_MUX, 0xf); in mpc1_mpc_init_single_inst() 401 unsigned int opp_id; in mpc1_init_mpcc_list_from_hw() local 420 if ((opp_id == tree->opp_id) && (top_sel != 0xf)) { in mpc1_init_mpcc_list_from_hw() 431 if ((opp_id == tree->opp_id) && (top_sel != 0xf)) { in mpc1_init_mpcc_list_from_hw() 472 if (opp_id < MAX_OPP && REG(MUX[opp_id])) in mpc1_get_mpc_out_mux() [all …]
|
| H A D | dcn10_mpc.h | 197 void mpc1_cursor_lock(struct mpc *mpc, int opp_id, bool lock); 199 unsigned int mpc1_get_mpc_out_mux(struct mpc *mpc, int opp_id);
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/optc/dcn314/ |
| H A D | dcn314_optc.c | 50 static void optc314_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc314_set_odm_combine() argument 73 memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2); in optc314_set_odm_combine() 75 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc314_set_odm_combine() 86 OPTC_SEG0_SRC_SEL, opp_id[0], in optc314_set_odm_combine() 87 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc314_set_odm_combine() 91 OPTC_SEG0_SRC_SEL, opp_id[0], in optc314_set_odm_combine() 92 OPTC_SEG1_SRC_SEL, opp_id[1], in optc314_set_odm_combine() 93 OPTC_SEG2_SRC_SEL, opp_id[2], in optc314_set_odm_combine() 94 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc314_set_odm_combine()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/optc/dcn32/ |
| H A D | dcn32_optc.c | 45 static void optc32_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc32_set_odm_combine() argument 68 memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2); in optc32_set_odm_combine() 70 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc32_set_odm_combine() 81 OPTC_SEG0_SRC_SEL, opp_id[0], in optc32_set_odm_combine() 82 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc32_set_odm_combine() 86 OPTC_SEG0_SRC_SEL, opp_id[0], in optc32_set_odm_combine() 87 OPTC_SEG1_SRC_SEL, opp_id[1], in optc32_set_odm_combine() 88 OPTC_SEG2_SRC_SEL, opp_id[2], in optc32_set_odm_combine() 89 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc32_set_odm_combine()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn20/ |
| H A D | dcn20_mpc.c | 75 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 …]
|
| H A D | dcn20_mpc.h | 284 int opp_id, 289 int opp_id, 294 int opp_id, 300 int opp_id,
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/optc/dcn30/ |
| H A D | dcn30_optc.c | 218 void optc3_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc3_set_odm_combine() argument 241 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc3_set_odm_combine() 246 …memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2) | 0x1 << (opp_id[2] * 2) | 0x1 << (o… in optc3_set_odm_combine() 256 OPTC_SEG0_SRC_SEL, opp_id[0], in optc3_set_odm_combine() 257 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc3_set_odm_combine() 261 OPTC_SEG0_SRC_SEL, opp_id[0], in optc3_set_odm_combine() 262 OPTC_SEG1_SRC_SEL, opp_id[1], in optc3_set_odm_combine() 263 OPTC_SEG2_SRC_SEL, opp_id[2], in optc3_set_odm_combine() 264 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc3_set_odm_combine()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/optc/dcn31/ |
| H A D | dcn31_optc.c | 43 static void optc31_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc31_set_odm_combine() argument 59 memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2); in optc31_set_odm_combine() 61 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc31_set_odm_combine() 74 OPTC_SEG0_SRC_SEL, opp_id[0], in optc31_set_odm_combine() 75 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc31_set_odm_combine() 79 OPTC_SEG0_SRC_SEL, opp_id[0], in optc31_set_odm_combine() 80 OPTC_SEG1_SRC_SEL, opp_id[1], in optc31_set_odm_combine() 81 OPTC_SEG2_SRC_SEL, opp_id[2], in optc31_set_odm_combine() 82 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc31_set_odm_combine()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H A D | mpc.h | 270 int opp_id; member 288 uint32_t opp_id; member 447 int opp_id, 602 int opp_id, 621 int opp_id, 641 int opp_id, 663 int opp_id, 780 int opp_id, 903 int opp_id);
|
| H A D | hubp.h | 109 int opp_id; member
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/optc/dcn401/ |
| H A D | dcn401_optc.c | 67 first_preferred_memory_for_opp[opp_id[i]] = true; in decide_odm_mem_bit_map() 110 opp_id, opp_cnt, h_active); in optc401_set_odm_combine() 119 OPTC_SEG0_SRC_SEL, opp_id[0], in optc401_set_odm_combine() 120 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc401_set_odm_combine() 130 OPTC_SEG0_SRC_SEL, opp_id[0], in optc401_set_odm_combine() 131 OPTC_SEG1_SRC_SEL, opp_id[1], in optc401_set_odm_combine() 132 OPTC_SEG2_SRC_SEL, opp_id[2]); in optc401_set_odm_combine() 149 OPTC_SEG0_SRC_SEL, opp_id[0], in optc401_set_odm_combine() 150 OPTC_SEG1_SRC_SEL, opp_id[1], in optc401_set_odm_combine() 151 OPTC_SEG2_SRC_SEL, opp_id[2], in optc401_set_odm_combine() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/optc/dcn35/ |
| H A D | dcn35_optc.c | 58 static void optc35_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc35_set_odm_combine() argument 81 memory_mask = 0x1 << (opp_id[0] * 2) | 0x1 << (opp_id[1] * 2); in optc35_set_odm_combine() 83 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc35_set_odm_combine() 94 OPTC_SEG0_SRC_SEL, opp_id[0], in optc35_set_odm_combine() 95 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc35_set_odm_combine() 99 OPTC_SEG0_SRC_SEL, opp_id[0], in optc35_set_odm_combine() 100 OPTC_SEG1_SRC_SEL, opp_id[1], in optc35_set_odm_combine() 101 OPTC_SEG2_SRC_SEL, opp_id[2], in optc35_set_odm_combine() 102 OPTC_SEG3_SRC_SEL, opp_id[3]); in optc35_set_odm_combine()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn30/ |
| H A D | dcn30_mpc.c | 50 int opp_id; in mpc3_mpc_init() local 54 for (opp_id = 0; opp_id < MAX_OPP; opp_id++) { in mpc3_mpc_init() 55 if (REG(MUX[opp_id])) in mpc3_mpc_init() 115 int opp_id, in mpc3_set_out_rate_control() argument 125 REG_UPDATE_2(MUX[opp_id], in mpc3_set_out_rate_control() 391 int opp_id, in mpc3_set_denorm() argument 424 REG_UPDATE(DENORM_CONTROL[opp_id], in mpc3_set_denorm() 430 int opp_id, in mpc3_set_denorm_clamp() argument 436 REG_UPDATE_2(DENORM_CONTROL[opp_id], in mpc3_set_denorm_clamp() 1305 int opp_id, in mpc3_set_output_csc() argument [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dcn201/ |
| H A D | dcn201_mpc.c | 44 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()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/optc/dcn20/ |
| H A D | dcn20_optc.c | 181 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc2_set_odm_combine() argument 202 memory_mask = 0x3 << (opp_id[0] * 2) | 0x3 << (opp_id[1] * 2); in optc2_set_odm_combine() 210 OPTC_SEG0_SRC_SEL, opp_id[0], in optc2_set_odm_combine() 211 OPTC_SEG1_SRC_SEL, opp_id[1]); in optc2_set_odm_combine()
|
| H A D | dcn20_optc.h | 112 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt,
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_hw_sequencer.c | 837 …block_sequence[*num_steps].params.set_output_csc_params.opp_id = current_mpc_pipe->stream_res.opp-… in hwss_build_fast_sequence() 844 …block_sequence[*num_steps].params.set_ocsc_default_params.opp_id = current_mpc_pipe->stream_res.op… in hwss_build_fast_sequence() 1057 int opp_id = params->set_output_csc_params.opp_id; in hwss_set_output_csc() local 1063 opp_id, in hwss_set_output_csc() 1071 int opp_id = params->set_ocsc_default_params.opp_id; in hwss_set_ocsc_default() local 1077 opp_id, in hwss_set_ocsc_default()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hubp/dcn31/ |
| H A D | dcn31_hubp.c | 117 hubp2->base.opp_id = OPP_ID_INVALID; in hubp31_construct()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/ |
| H A D | hw_sequencer.h | 127 int opp_id; member 134 int opp_id; member 313 uint16_t *matrix, int opp_id);
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hubp/dcn201/ |
| H A D | dcn201_hubp.c | 152 hubp201->base.opp_id = OPP_ID_INVALID; in dcn201_hubp_construct()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn201/ |
| H A D | dcn201_hwseq.c | 298 res_pool->opps[i]->mpc_tree_params.opp_id = res_pool->opps[i]->inst; in dcn201_init_hw() 317 hubp->opp_id = OPP_ID_INVALID; in dcn201_init_hw() 521 hubp->opp_id = pipe_ctx->stream_res.opp->inst; in dcn201_update_mpcc()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hubp/dcn35/ |
| H A D | dcn35_hubp.c | 237 hubp2->base.opp_id = OPP_ID_INVALID; in hubp35_construct()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.h | 53 int opp_id);
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hubp/dcn32/ |
| H A D | dcn32_hubp.c | 225 hubp2->base.opp_id = OPP_ID_INVALID; in hubp32_construct()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
| H A D | dcn10_hwseq.h | 68 int opp_id);
|