#include "reg_helper.h"
#include "resource.h"
#include "dwb.h"
#include "dcn20_dwb.h"
#define REG(reg) …
#define CTX …
#define DC_LOGGER …
#undef FN
#define FN(reg_name, field_name) …
enum dwb_outside_pix_strategy { … };
static bool dwb2_get_caps(struct dwbc *dwbc, struct dwb_caps *caps)
{ … }
void dwb2_config_dwb_cnv(struct dwbc *dwbc, struct dc_dwb_params *params)
{ … }
static bool dwb2_enable(struct dwbc *dwbc, struct dc_dwb_params *params)
{ … }
bool dwb2_disable(struct dwbc *dwbc)
{ … }
static bool dwb2_update(struct dwbc *dwbc, struct dc_dwb_params *params)
{ … }
bool dwb2_is_enabled(struct dwbc *dwbc)
{ … }
void dwb2_set_stereo(struct dwbc *dwbc,
struct dwb_stereo_params *stereo_params)
{ … }
void dwb2_set_new_content(struct dwbc *dwbc,
bool is_new_content)
{ … }
static void dwb2_set_warmup(struct dwbc *dwbc,
struct dwb_warmup_params *warmup_params)
{ … }
void dwb2_set_scaler(struct dwbc *dwbc, struct dc_dwb_params *params)
{ … }
static const struct dwbc_funcs dcn20_dwbc_funcs = …;
void dcn20_dwbc_construct(struct dcn20_dwbc *dwbc20,
struct dc_context *ctx,
const struct dcn20_dwbc_registers *dwbc_regs,
const struct dcn20_dwbc_shift *dwbc_shift,
const struct dcn20_dwbc_mask *dwbc_mask,
int inst)
{ … }