mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Ville Syrjälä](/assets/img/avatar_default.png)
Move intel_crtc_pch_transcoder() and has_pch_trancoder() to a more appropritate place (intel_pch_display.c). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220221110356.5532-4-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_PCH_DISPLAY_H_
|
|
#define _INTEL_PCH_DISPLAY_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum pipe;
|
|
struct drm_i915_private;
|
|
struct intel_atomic_state;
|
|
struct intel_crtc;
|
|
struct intel_crtc_state;
|
|
struct intel_link_m_n;
|
|
|
|
bool intel_has_pch_trancoder(struct drm_i915_private *i915,
|
|
enum pipe pch_transcoder);
|
|
enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc);
|
|
|
|
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);
|
|
|
|
void intel_pch_sanitize(struct drm_i915_private *i915);
|
|
|
|
#endif
|