linux/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dwb.c

/*
 * Copyright 2020 Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * Authors: AMD
 *
 */


#include "reg_helper.h"
#include "resource.h"
#include "dwb.h"
#include "dcn30_dwb.h"


#define REG(reg)

#define CTX

#undef FN
#define FN(reg_name, field_name)

#define DC_LOGGER

static bool dwb3_get_caps(struct dwbc *dwbc, struct dwb_caps *caps)
{}

void dwb3_config_fc(struct dwbc *dwbc, struct dc_dwb_params *params)
{}

bool dwb3_enable(struct dwbc *dwbc, struct dc_dwb_params *params)
{}

bool dwb3_disable(struct dwbc *dwbc)
{}

void dwb3_set_fc_enable(struct dwbc *dwbc, enum dwb_frame_capture_enable enable)
{}


bool dwb3_update(struct dwbc *dwbc, struct dc_dwb_params *params)
{}

bool dwb3_is_enabled(struct dwbc *dwbc)
{}

void dwb3_set_stereo(struct dwbc *dwbc,
		struct dwb_stereo_params *stereo_params)
{}

void dwb3_set_new_content(struct dwbc *dwbc,
						bool is_new_content)
{}

void dwb3_set_denorm(struct dwbc *dwbc, struct dc_dwb_params *params)
{}


static const struct dwbc_funcs dcn30_dwbc_funcs =;

void dcn30_dwbc_construct(struct dcn30_dwbc *dwbc30,
		struct dc_context *ctx,
		const struct dcn30_dwbc_registers *dwbc_regs,
		const struct dcn30_dwbc_shift *dwbc_shift,
		const struct dcn30_dwbc_mask *dwbc_mask,
		int inst)
{}

void dwb3_set_host_read_rate_control(struct dwbc *dwbc, bool host_read_delay)
{}