cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

intel_pch_display.h (1371B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2021 Intel Corporation
      4 */
      5
      6#ifndef _INTEL_PCH_DISPLAY_H_
      7#define _INTEL_PCH_DISPLAY_H_
      8
      9#include <linux/types.h>
     10
     11enum pipe;
     12struct drm_i915_private;
     13struct intel_atomic_state;
     14struct intel_crtc;
     15struct intel_crtc_state;
     16struct intel_link_m_n;
     17
     18bool intel_has_pch_trancoder(struct drm_i915_private *i915,
     19			     enum pipe pch_transcoder);
     20enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc);
     21
     22void ilk_pch_pre_enable(struct intel_atomic_state *state,
     23			struct intel_crtc *crtc);
     24void ilk_pch_enable(struct intel_atomic_state *state,
     25		    struct intel_crtc *crtc);
     26void ilk_pch_disable(struct intel_atomic_state *state,
     27		     struct intel_crtc *crtc);
     28void ilk_pch_post_disable(struct intel_atomic_state *state,
     29			  struct intel_crtc *crtc);
     30void ilk_pch_get_config(struct intel_crtc_state *crtc_state);
     31
     32void lpt_pch_enable(struct intel_atomic_state *state,
     33		    struct intel_crtc *crtc);
     34void lpt_pch_disable(struct intel_atomic_state *state,
     35		     struct intel_crtc *crtc);
     36void lpt_pch_get_config(struct intel_crtc_state *crtc_state);
     37
     38void intel_pch_transcoder_get_m1_n1(struct intel_crtc *crtc,
     39				    struct intel_link_m_n *m_n);
     40void intel_pch_transcoder_get_m2_n2(struct intel_crtc *crtc,
     41				    struct intel_link_m_n *m_n);
     42
     43void intel_pch_sanitize(struct drm_i915_private *i915);
     44
     45#endif