Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c140 struct color_matrices_reg ocsc_regs; in mpc2_set_output_csc() local
165 ocsc_regs.shifts.csc_c11 = mpc20->mpc_shift->MPC_OCSC_C11_A; in mpc2_set_output_csc()
166 ocsc_regs.masks.csc_c11 = mpc20->mpc_mask->MPC_OCSC_C11_A; in mpc2_set_output_csc()
167 ocsc_regs.shifts.csc_c12 = mpc20->mpc_shift->MPC_OCSC_C12_A; in mpc2_set_output_csc()
168 ocsc_regs.masks.csc_c12 = mpc20->mpc_mask->MPC_OCSC_C12_A; in mpc2_set_output_csc()
171 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_A[opp_id]); in mpc2_set_output_csc()
172 ocsc_regs.csc_c33_c34 = REG(CSC_C33_C34_A[opp_id]); in mpc2_set_output_csc()
174 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_B[opp_id]); in mpc2_set_output_csc()
175 ocsc_regs.csc_c33_c34 = REG(CSC_C33_C34_B[opp_id]); in mpc2_set_output_csc()
181 &ocsc_regs); in mpc2_set_output_csc()
[all …]
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_mpc.c1209 struct color_matrices_reg ocsc_regs; in mpc3_set_output_csc() local
1223 ocsc_regs.shifts.csc_c11 = mpc30->mpc_shift->MPC_OCSC_C11_A; in mpc3_set_output_csc()
1224 ocsc_regs.masks.csc_c11 = mpc30->mpc_mask->MPC_OCSC_C11_A; in mpc3_set_output_csc()
1225 ocsc_regs.shifts.csc_c12 = mpc30->mpc_shift->MPC_OCSC_C12_A; in mpc3_set_output_csc()
1226 ocsc_regs.masks.csc_c12 = mpc30->mpc_mask->MPC_OCSC_C12_A; in mpc3_set_output_csc()
1229 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_A[opp_id]); in mpc3_set_output_csc()
1230 ocsc_regs.csc_c33_c34 = REG(CSC_C33_C34_A[opp_id]); in mpc3_set_output_csc()
1232 ocsc_regs.csc_c11_c12 = REG(CSC_C11_C12_B[opp_id]); in mpc3_set_output_csc()
1233 ocsc_regs.csc_c33_c34 = REG(CSC_C33_C34_B[opp_id]); in mpc3_set_output_csc()
1238 &ocsc_regs); in mpc3_set_output_csc()
[all …]