#include "i915_drv.h"
#include "i915_reg.h"
#include "intel_de.h"
#include "intel_display_types.h"
#include "intel_vrr.h"
#include "intel_vrr_regs.h"
#include "intel_dp.h"
#define FIXED_POINT_PRECISION …
#define CMRR_PRECISION_TOLERANCE …
bool intel_vrr_is_capable(struct intel_connector *connector)
{ … }
bool intel_vrr_is_in_range(struct intel_connector *connector, int vrefresh)
{ … }
void
intel_vrr_check_modeset(struct intel_atomic_state *state)
{ … }
static int intel_vrr_vblank_exit_length(const struct intel_crtc_state *crtc_state)
{ … }
int intel_vrr_vmin_vblank_start(const struct intel_crtc_state *crtc_state)
{ … }
int intel_vrr_vmax_vblank_start(const struct intel_crtc_state *crtc_state)
{ … }
static bool
is_cmrr_frac_required(struct intel_crtc_state *crtc_state)
{ … }
static unsigned int
cmrr_get_vtotal(struct intel_crtc_state *crtc_state, bool video_mode_required)
{ … }
void
intel_vrr_compute_config(struct intel_crtc_state *crtc_state,
struct drm_connector_state *conn_state)
{ … }
static u32 trans_vrr_ctl(const struct intel_crtc_state *crtc_state)
{ … }
void intel_vrr_set_transcoder_timings(const struct intel_crtc_state *crtc_state)
{ … }
void intel_vrr_send_push(const struct intel_crtc_state *crtc_state)
{ … }
bool intel_vrr_is_push_sent(const struct intel_crtc_state *crtc_state)
{ … }
void intel_vrr_enable(const struct intel_crtc_state *crtc_state)
{ … }
void intel_vrr_disable(const struct intel_crtc_state *old_crtc_state)
{ … }
void intel_vrr_get_config(struct intel_crtc_state *crtc_state)
{ … }