Home
last modified time | relevance | path

Searched refs:ocsc_regs (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c139 struct color_matrices_reg ocsc_regs; in mpc2_set_output_csc() local
164 ocsc_regs.shifts.csc_c11 = mpc20->mpc_shift->MPC_OCSC_C11_A; in mpc2_set_output_csc()
165 ocsc_regs.masks.csc_c11 = mpc20->mpc_mask->MPC_OCSC_C11_A; in mpc2_set_output_csc()
166 ocsc_regs.shifts.csc_c12 = mpc20->mpc_shift->MPC_OCSC_C12_A; in mpc2_set_output_csc()
167 ocsc_regs.masks.csc_c12 = mpc20->mpc_mask->MPC_OCSC_C12_A; 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()
173 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_B[opp_id]); in mpc2_set_output_csc()
174 ocsc_regs.csc_c33_c34 = REG(CSC_C33_C34_B[opp_id]); in mpc2_set_output_csc()
180 &ocsc_regs); in mpc2_set_output_csc()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_mpc.c1241 struct color_matrices_reg ocsc_regs; in mpc3_set_output_csc() local
1255 ocsc_regs.shifts.csc_c11 = mpc30->mpc_shift->MPC_OCSC_C11_A; in mpc3_set_output_csc()
1256 ocsc_regs.masks.csc_c11 = mpc30->mpc_mask->MPC_OCSC_C11_A; in mpc3_set_output_csc()
1257 ocsc_regs.shifts.csc_c12 = mpc30->mpc_shift->MPC_OCSC_C12_A; in mpc3_set_output_csc()
1258 ocsc_regs.masks.csc_c12 = mpc30->mpc_mask->MPC_OCSC_C12_A; in mpc3_set_output_csc()
1261 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_A[opp_id]); in mpc3_set_output_csc()
1262 ocsc_regs.csc_c33_c34 = REG(CSC_C33_C34_A[opp_id]); in mpc3_set_output_csc()
1264 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_B[opp_id]); in mpc3_set_output_csc()
1265 ocsc_regs.csc_c33_c34 = REG(CSC_C33_C34_B[opp_id]); in mpc3_set_output_csc()
1270 &ocsc_regs); in mpc3_set_output_csc()
[all …]