#include "dm_services.h"
#include "dce/dce_11_0_d.h"
#include "dce/dce_11_0_sh_mask.h"
#include "dc_types.h"
#include "dc_bios_types.h"
#include "dc.h"
#include "include/grph_object_id.h"
#include "include/logger_interface.h"
#include "dce110_timing_generator.h"
#include "dce110_timing_generator_v.h"
#include "timing_generator.h"
#define DC_LOGGER …
static bool dce110_timing_generator_v_enable_crtc(struct timing_generator *tg)
{ … }
static bool dce110_timing_generator_v_disable_crtc(struct timing_generator *tg)
{ … }
static void dce110_timing_generator_v_blank_crtc(struct timing_generator *tg)
{ … }
static void dce110_timing_generator_v_unblank_crtc(struct timing_generator *tg)
{ … }
static bool dce110_timing_generator_v_is_in_vertical_blank(
struct timing_generator *tg)
{ … }
static bool dce110_timing_generator_v_is_counter_moving(struct timing_generator *tg)
{ … }
static void dce110_timing_generator_v_wait_for_vblank(struct timing_generator *tg)
{ … }
static void dce110_timing_generator_v_wait_for_vactive(struct timing_generator *tg)
{ … }
static void dce110_timing_generator_v_wait_for_state(struct timing_generator *tg,
enum crtc_state state)
{ … }
static void dce110_timing_generator_v_program_blanking(
struct timing_generator *tg,
const struct dc_crtc_timing *timing)
{ … }
static void dce110_timing_generator_v_enable_advanced_request(
struct timing_generator *tg,
bool enable,
const struct dc_crtc_timing *timing)
{ … }
static void dce110_timing_generator_v_set_blank(struct timing_generator *tg,
bool enable_blanking)
{ … }
static void dce110_timing_generator_v_program_timing(struct timing_generator *tg,
const struct dc_crtc_timing *timing,
int vready_offset,
int vstartup_start,
int vupdate_offset,
int vupdate_width,
const enum signal_type signal,
bool use_vbios)
{ … }
static void dce110_timing_generator_v_program_blank_color(
struct timing_generator *tg,
const struct tg_color *black_color)
{ … }
static void dce110_timing_generator_v_set_overscan_color_black(
struct timing_generator *tg,
const struct tg_color *color)
{ … }
static void dce110_tg_v_program_blank_color(struct timing_generator *tg,
const struct tg_color *black_color)
{ … }
static void dce110_timing_generator_v_set_overscan_color(struct timing_generator *tg,
const struct tg_color *overscan_color)
{ … }
static void dce110_timing_generator_v_set_colors(struct timing_generator *tg,
const struct tg_color *blank_color,
const struct tg_color *overscan_color)
{ … }
static void dce110_timing_generator_v_set_early_control(
struct timing_generator *tg,
uint32_t early_cntl)
{ … }
static uint32_t dce110_timing_generator_v_get_vblank_counter(struct timing_generator *tg)
{ … }
static bool dce110_timing_generator_v_did_triggered_reset_occur(
struct timing_generator *tg)
{ … }
static void dce110_timing_generator_v_setup_global_swap_lock(
struct timing_generator *tg,
const struct dcp_gsl_params *gsl_params)
{ … }
static void dce110_timing_generator_v_enable_reset_trigger(
struct timing_generator *tg,
int source_tg_inst)
{ … }
static void dce110_timing_generator_v_disable_reset_trigger(
struct timing_generator *tg)
{ … }
static void dce110_timing_generator_v_tear_down_global_swap_lock(
struct timing_generator *tg)
{ … }
static void dce110_timing_generator_v_disable_vga(
struct timing_generator *tg)
{ … }
static const struct timing_generator_funcs dce110_tg_v_funcs = …;
void dce110_timing_generator_v_construct(
struct dce110_timing_generator *tg110,
struct dc_context *ctx)
{ … }