#include "dm_services.h"
#include "dce/dce_6_0_d.h"
#include "dce/dce_6_0_sh_mask.h"
#include "dc_types.h"
#include "include/grph_object_id.h"
#include "include/logger_interface.h"
#include "../dce110/dce110_timing_generator.h"
#include "dce60_timing_generator.h"
#include "timing_generator.h"
enum black_color_format { … };
static const struct dce110_timing_generator_offsets reg_offsets[] = …;
#define NUMBER_OF_FRAME_TO_WAIT_ON_TRIGGERED_RESET …
#define MAX_H_TOTAL …
#define MAX_V_TOTAL …
#define CRTC_REG(reg) …
#define DCP_REG(reg) …
#define DMIF_REG(reg) …
static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz)
{ … }
static void 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 dce60_timing_generator_enable_advanced_request(
struct timing_generator *tg,
bool enable,
const struct dc_crtc_timing *timing)
{ … }
static bool dce60_is_tg_enabled(struct timing_generator *tg)
{ … }
static bool dce60_configure_crc(struct timing_generator *tg,
const struct crc_params *params)
{ … }
static const struct timing_generator_funcs dce60_tg_funcs = …;
void dce60_timing_generator_construct(
struct dce110_timing_generator *tg110,
struct dc_context *ctx,
uint32_t instance,
const struct dce110_timing_generator_offsets *offsets)
{ … }