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_vrr.h (1152B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2019 Intel Corporation
      4 */
      5
      6#ifndef __INTEL_VRR_H__
      7#define __INTEL_VRR_H__
      8
      9#include <linux/types.h>
     10
     11struct drm_connector;
     12struct drm_connector_state;
     13struct intel_atomic_state;
     14struct intel_crtc;
     15struct intel_crtc_state;
     16struct intel_dp;
     17struct intel_encoder;
     18
     19bool intel_vrr_is_capable(struct drm_connector *connector);
     20void intel_vrr_check_modeset(struct intel_atomic_state *state);
     21void intel_vrr_compute_config(struct intel_crtc_state *crtc_state,
     22			      struct drm_connector_state *conn_state);
     23void intel_vrr_enable(struct intel_encoder *encoder,
     24		      const struct intel_crtc_state *crtc_state);
     25void intel_vrr_send_push(const struct intel_crtc_state *crtc_state);
     26bool intel_vrr_is_push_sent(const struct intel_crtc_state *crtc_state);
     27void intel_vrr_disable(const struct intel_crtc_state *old_crtc_state);
     28void intel_vrr_get_config(struct intel_crtc *crtc,
     29			  struct intel_crtc_state *crtc_state);
     30int intel_vrr_vmax_vblank_start(const struct intel_crtc_state *crtc_state);
     31int intel_vrr_vmin_vblank_start(const struct intel_crtc_state *crtc_state);
     32
     33#endif /* __INTEL_VRR_H__ */