linux/drivers/gpu/drm/i915/display/intel_pch_display.c

// SPDX-License-Identifier: MIT
/*
 * Copyright © 2021 Intel Corporation
 */

#include "g4x_dp.h"
#include "i915_reg.h"
#include "intel_crt.h"
#include "intel_de.h"
#include "intel_display_types.h"
#include "intel_dpll.h"
#include "intel_fdi.h"
#include "intel_fdi_regs.h"
#include "intel_lvds.h"
#include "intel_lvds_regs.h"
#include "intel_pch_display.h"
#include "intel_pch_refclk.h"
#include "intel_pps.h"
#include "intel_sdvo.h"

bool intel_has_pch_trancoder(struct drm_i915_private *i915,
			     enum pipe pch_transcoder)
{}

enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc)
{}

static void assert_pch_dp_disabled(struct drm_i915_private *dev_priv,
				   enum pipe pipe, enum port port,
				   i915_reg_t dp_reg)
{}

static void assert_pch_hdmi_disabled(struct drm_i915_private *dev_priv,
				     enum pipe pipe, enum port port,
				     i915_reg_t hdmi_reg)
{}

static void assert_pch_ports_disabled(struct drm_i915_private *dev_priv,
				      enum pipe pipe)
{}

static void assert_pch_transcoder_disabled(struct drm_i915_private *dev_priv,
					   enum pipe pipe)
{}

static void ibx_sanitize_pch_hdmi_port(struct drm_i915_private *dev_priv,
				       enum port port, i915_reg_t hdmi_reg)
{}

static void ibx_sanitize_pch_dp_port(struct drm_i915_private *dev_priv,
				     enum port port, i915_reg_t dp_reg)
{}

static void ibx_sanitize_pch_ports(struct drm_i915_private *dev_priv)
{}

static void intel_pch_transcoder_set_m1_n1(struct intel_crtc *crtc,
					   const struct intel_link_m_n *m_n)
{}

static void intel_pch_transcoder_set_m2_n2(struct intel_crtc *crtc,
					   const struct intel_link_m_n *m_n)
{}

void intel_pch_transcoder_get_m1_n1(struct intel_crtc *crtc,
				    struct intel_link_m_n *m_n)
{}

void intel_pch_transcoder_get_m2_n2(struct intel_crtc *crtc,
				    struct intel_link_m_n *m_n)
{}

static void ilk_pch_transcoder_set_timings(const struct intel_crtc_state *crtc_state,
					   enum pipe pch_transcoder)
{}

static void ilk_enable_pch_transcoder(const struct intel_crtc_state *crtc_state)
{}

static void ilk_disable_pch_transcoder(struct intel_crtc *crtc)
{}

void ilk_pch_pre_enable(struct intel_atomic_state *state,
			struct intel_crtc *crtc)
{}

/*
 * Enable PCH resources required for PCH ports:
 *   - PCH PLLs
 *   - FDI training & RX/TX
 *   - update transcoder timings
 *   - DP transcoding bits
 *   - transcoder
 */
void ilk_pch_enable(struct intel_atomic_state *state,
		    struct intel_crtc *crtc)
{}

void ilk_pch_disable(struct intel_atomic_state *state,
		     struct intel_crtc *crtc)
{}

void ilk_pch_post_disable(struct intel_atomic_state *state,
			  struct intel_crtc *crtc)
{}

static void ilk_pch_clock_get(struct intel_crtc_state *crtc_state)
{}

void ilk_pch_get_config(struct intel_crtc_state *crtc_state)
{}

static void lpt_enable_pch_transcoder(const struct intel_crtc_state *crtc_state)
{}

static void lpt_disable_pch_transcoder(struct drm_i915_private *dev_priv)
{}

void lpt_pch_enable(struct intel_atomic_state *state,
		    struct intel_crtc *crtc)
{}

void lpt_pch_disable(struct intel_atomic_state *state,
		     struct intel_crtc *crtc)
{}

void lpt_pch_get_config(struct intel_crtc_state *crtc_state)
{}

void intel_pch_sanitize(struct drm_i915_private *i915)
{}