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

hsw_ips.h (778B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2022 Intel Corporation
      4 */
      5
      6#ifndef __HSW_IPS_H__
      7#define __HSW_IPS_H__
      8
      9#include <linux/types.h>
     10
     11struct intel_atomic_state;
     12struct intel_crtc;
     13struct intel_crtc_state;
     14
     15bool hsw_ips_disable(const struct intel_crtc_state *crtc_state);
     16bool hsw_ips_pre_update(struct intel_atomic_state *state,
     17			struct intel_crtc *crtc);
     18void hsw_ips_post_update(struct intel_atomic_state *state,
     19			 struct intel_crtc *crtc);
     20bool hsw_crtc_supports_ips(struct intel_crtc *crtc);
     21bool hsw_crtc_state_ips_capable(const struct intel_crtc_state *crtc_state);
     22int hsw_ips_compute_config(struct intel_atomic_state *state,
     23			   struct intel_crtc *crtc);
     24void hsw_ips_get_config(struct intel_crtc_state *crtc_state);
     25
     26#endif /* __HSW_IPS_H__ */