#ifndef __DC_MPCC_DCN20_H__
#define __DC_MPCC_DCN20_H__
#include "dcn10/dcn10_mpc.h"
#define TO_DCN20_MPC(mpc_base) …
#define MPC_REG_LIST_DCN2_0(inst) …
#define MPC_OUT_MUX_REG_LIST_DCN2_0(inst) …
#define MPC_DBG_REG_LIST_DCN2_0() …
#define MPC_REG_VARIABLE_LIST_DCN2_0 …
#define MPC_COMMON_MASK_SH_LIST_DCN2_0(mask_sh) …
#define MPC_OCSC_TEST_DEBUG_DATA_STATUS_IDX …
#define MPC_DEBUG_REG_LIST_SH_DCN20 …
#define MPC_DEBUG_REG_LIST_MASK_DCN20 …
#define MPC_REG_FIELD_LIST_DCN2_0(type) …
struct dcn20_mpc_registers { … };
struct dcn20_mpc_shift { … };
struct dcn20_mpc_mask { … };
struct dcn20_mpc { … };
void dcn20_mpc_construct(struct dcn20_mpc *mpcc20,
struct dc_context *ctx,
const struct dcn20_mpc_registers *mpc_regs,
const struct dcn20_mpc_shift *mpc_shift,
const struct dcn20_mpc_mask *mpc_mask,
int num_mpcc);
void mpc2_update_blending(
struct mpc *mpc,
struct mpcc_blnd_cfg *blnd_cfg,
int mpcc_id);
void mpc2_set_denorm(
struct mpc *mpc,
int opp_id,
enum dc_color_depth output_depth);
void mpc2_set_denorm_clamp(
struct mpc *mpc,
int opp_id,
struct mpc_denorm_clamp denorm_clamp);
void mpc2_set_output_csc(
struct mpc *mpc,
int opp_id,
const uint16_t *regval,
enum mpc_output_csc_mode ocsc_mode);
void mpc2_set_ocsc_default(
struct mpc *mpc,
int opp_id,
enum dc_color_space color_space,
enum mpc_output_csc_mode ocsc_mode);
void mpc2_set_output_gamma(
struct mpc *mpc,
int mpcc_id,
const struct pwl_params *params);
void mpc2_assert_idle_mpcc(struct mpc *mpc, int id);
void mpc2_assert_mpcc_idle_before_connect(struct mpc *mpc, int mpcc_id);
void mpc20_power_on_ogam_lut(struct mpc *mpc, int mpcc_id, bool power_on);
#endif