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


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2019 Intel Corporation
      4 */
      5
      6#ifndef __INTEL_HOTPLUG_H__
      7#define __INTEL_HOTPLUG_H__
      8
      9#include <linux/types.h>
     10
     11struct drm_i915_private;
     12struct intel_connector;
     13struct intel_digital_port;
     14struct intel_encoder;
     15enum port;
     16
     17void intel_hpd_poll_enable(struct drm_i915_private *dev_priv);
     18void intel_hpd_poll_disable(struct drm_i915_private *dev_priv);
     19enum intel_hotplug_state intel_encoder_hotplug(struct intel_encoder *encoder,
     20					       struct intel_connector *connector);
     21void intel_hpd_irq_handler(struct drm_i915_private *dev_priv,
     22			   u32 pin_mask, u32 long_mask);
     23void intel_hpd_trigger_irq(struct intel_digital_port *dig_port);
     24void intel_hpd_init(struct drm_i915_private *dev_priv);
     25void intel_hpd_init_work(struct drm_i915_private *dev_priv);
     26void intel_hpd_cancel_work(struct drm_i915_private *dev_priv);
     27enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv,
     28				   enum port port);
     29bool intel_hpd_disable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
     30void intel_hpd_enable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
     31
     32#endif /* __INTEL_HOTPLUG_H__ */