Program the PCH transcoder M2/N2 values appropriately. We're still missing a few things for PCH port DRRS but at least this means we can do readout/state check for dp_m2_n2 unconditionally. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220128103757.22461-15-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_PCH_DISPLAY_H_
|
|
#define _INTEL_PCH_DISPLAY_H_
|
|
|
|
struct intel_atomic_state;
|
|
struct intel_crtc;
|
|
struct intel_crtc_state;
|
|
struct intel_link_m_n;
|
|
|
|
void ilk_pch_pre_enable(struct intel_atomic_state *state,
|
|
struct intel_crtc *crtc);
|
|
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);
|
|
void ilk_pch_get_config(struct intel_crtc_state *crtc_state);
|
|
|
|
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_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);
|
|
|
|
#endif
|