#ifndef __DC_HUBBUB_DCN10_H__
#define __DC_HUBBUB_DCN10_H__
#include "core_types.h"
#include "dchubbub.h"
#define TO_DCN10_HUBBUB(hubbub) …
#define HUBBUB_REG_LIST_DCN_COMMON() …
#define HUBBUB_VM_REG_LIST() …
#define HUBBUB_SR_WATERMARK_REG_LIST() …
#define HUBBUB_REG_LIST_DCN10(id) …
struct dcn_hubbub_registers { … };
#define HUBBUB_REG_FIELD_LIST_DCN32(type) …
#define HUBBUB_REG_FIELD_LIST_DCN35(type) …
#define HUBBUB_SF(reg_name, field_name, post_fix) …
#define HUBBUB_MASK_SH_LIST_DCN_COMMON(mask_sh) …
#define HUBBUB_MASK_SH_LIST_STUTTER(mask_sh) …
#define HUBBUB_MASK_SH_LIST_DCN10(mask_sh) …
#define DCN_HUBBUB_REG_FIELD_LIST(type) …
#define HUBBUB_STUTTER_REG_FIELD_LIST(type) …
#define HUBBUB_HVM_REG_FIELD_LIST(type) …
#define HUBBUB_RET_REG_FIELD_LIST(type) …
#define HUBBUB_REG_FIELD_LIST_DCN4_01(type) …
struct dcn_hubbub_shift { … };
struct dcn_hubbub_mask { … };
struct dc;
struct dcn10_hubbub { … };
void hubbub1_update_dchub(
struct hubbub *hubbub,
struct dchub_init_data *dh_data);
bool hubbub1_verify_allow_pstate_change_high(
struct hubbub *hubbub);
void hubbub1_wm_change_req_wa(struct hubbub *hubbub);
bool hubbub1_program_watermarks(
struct hubbub *hubbub,
union dcn_watermark_set *watermarks,
unsigned int refclk_mhz,
bool safe_to_lower);
void hubbub1_allow_self_refresh_control(struct hubbub *hubbub, bool allow);
bool hubbub1_is_allow_self_refresh_enabled(struct hubbub *hubub);
void hubbub1_toggle_watermark_change_req(
struct hubbub *hubbub);
void hubbub1_wm_read_state(struct hubbub *hubbub,
struct dcn_hubbub_wm *wm);
void hubbub1_soft_reset(struct hubbub *hubbub, bool reset);
void hubbub1_construct(struct hubbub *hubbub,
struct dc_context *ctx,
const struct dcn_hubbub_registers *hubbub_regs,
const struct dcn_hubbub_shift *hubbub_shift,
const struct dcn_hubbub_mask *hubbub_mask);
bool hubbub1_program_urgent_watermarks(
struct hubbub *hubbub,
union dcn_watermark_set *watermarks,
unsigned int refclk_mhz,
bool safe_to_lower);
bool hubbub1_program_stutter_watermarks(
struct hubbub *hubbub,
union dcn_watermark_set *watermarks,
unsigned int refclk_mhz,
bool safe_to_lower);
bool hubbub1_program_pstate_watermarks(
struct hubbub *hubbub,
union dcn_watermark_set *watermarks,
unsigned int refclk_mhz,
bool safe_to_lower);
#endif