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_drrs.h (827B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2021 Intel Corporation
      4 */
      5
      6#ifndef __INTEL_DRRS_H__
      7#define __INTEL_DRRS_H__
      8
      9#include <linux/types.h>
     10
     11enum drrs_type;
     12struct drm_i915_private;
     13struct intel_atomic_state;
     14struct intel_crtc;
     15struct intel_crtc_state;
     16struct intel_connector;
     17
     18const char *intel_drrs_type_str(enum drrs_type drrs_type);
     19bool intel_drrs_is_active(struct intel_crtc *crtc);
     20void intel_drrs_activate(const struct intel_crtc_state *crtc_state);
     21void intel_drrs_deactivate(const struct intel_crtc_state *crtc_state);
     22void intel_drrs_invalidate(struct drm_i915_private *dev_priv,
     23			   unsigned int frontbuffer_bits);
     24void intel_drrs_flush(struct drm_i915_private *dev_priv,
     25		      unsigned int frontbuffer_bits);
     26void intel_crtc_drrs_init(struct intel_crtc *crtc);
     27
     28#endif /* __INTEL_DRRS_H__ */