#define pr_fmt(fmt) …
#include <linux/slab.h>
#include <linux/sysrq.h>
#include <drm/drm_drv.h>
#include "display/intel_display_irq.h"
#include "display/intel_hotplug.h"
#include "display/intel_hotplug_irq.h"
#include "display/intel_lpe_audio.h"
#include "display/intel_psr_regs.h"
#include "gt/intel_breadcrumbs.h"
#include "gt/intel_gt.h"
#include "gt/intel_gt_irq.h"
#include "gt/intel_gt_pm_irq.h"
#include "gt/intel_gt_regs.h"
#include "gt/intel_rps.h"
#include "i915_driver.h"
#include "i915_drv.h"
#include "i915_irq.h"
#include "i915_reg.h"
static inline void pmu_irq_stats(struct drm_i915_private *i915,
irqreturn_t res)
{ … }
void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr,
i915_reg_t iir, i915_reg_t ier)
{ … }
static void gen2_irq_reset(struct intel_uncore *uncore)
{ … }
void gen3_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg)
{ … }
static void gen2_assert_iir_is_zero(struct intel_uncore *uncore)
{ … }
void gen3_irq_init(struct intel_uncore *uncore,
i915_reg_t imr, u32 imr_val,
i915_reg_t ier, u32 ier_val,
i915_reg_t iir)
{ … }
static void gen2_irq_init(struct intel_uncore *uncore,
u32 imr_val, u32 ier_val)
{ … }
static void ivb_parity_work(struct work_struct *work)
{ … }
static irqreturn_t valleyview_irq_handler(int irq, void *arg)
{ … }
static irqreturn_t cherryview_irq_handler(int irq, void *arg)
{ … }
static irqreturn_t ilk_irq_handler(int irq, void *arg)
{ … }
static inline u32 gen8_master_intr_disable(void __iomem * const regs)
{ … }
static inline void gen8_master_intr_enable(void __iomem * const regs)
{ … }
static irqreturn_t gen8_irq_handler(int irq, void *arg)
{ … }
static inline u32 gen11_master_intr_disable(void __iomem * const regs)
{ … }
static inline void gen11_master_intr_enable(void __iomem * const regs)
{ … }
static irqreturn_t gen11_irq_handler(int irq, void *arg)
{ … }
static inline u32 dg1_master_intr_disable(void __iomem * const regs)
{ … }
static inline void dg1_master_intr_enable(void __iomem * const regs)
{ … }
static irqreturn_t dg1_irq_handler(int irq, void *arg)
{ … }
static void ibx_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void ilk_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void valleyview_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void gen8_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void gen11_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void dg1_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void cherryview_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void ilk_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static void valleyview_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static void gen8_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static void gen11_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static void dg1_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static void cherryview_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static void i8xx_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static u32 i9xx_error_mask(struct drm_i915_private *i915)
{ … }
static void i8xx_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static void i8xx_error_irq_ack(struct drm_i915_private *i915,
u16 *eir, u16 *eir_stuck)
{ … }
static void i8xx_error_irq_handler(struct drm_i915_private *dev_priv,
u16 eir, u16 eir_stuck)
{ … }
static void i9xx_error_irq_ack(struct drm_i915_private *dev_priv,
u32 *eir, u32 *eir_stuck)
{ … }
static void i9xx_error_irq_handler(struct drm_i915_private *dev_priv,
u32 eir, u32 eir_stuck)
{ … }
static irqreturn_t i8xx_irq_handler(int irq, void *arg)
{ … }
static void i915_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void i915_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static irqreturn_t i915_irq_handler(int irq, void *arg)
{ … }
static void i965_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static u32 i965_error_mask(struct drm_i915_private *i915)
{ … }
static void i965_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
static irqreturn_t i965_irq_handler(int irq, void *arg)
{ … }
void intel_irq_init(struct drm_i915_private *dev_priv)
{ … }
void intel_irq_fini(struct drm_i915_private *i915)
{ … }
static irq_handler_t intel_irq_handler(struct drm_i915_private *dev_priv)
{ … }
static void intel_irq_reset(struct drm_i915_private *dev_priv)
{ … }
static void intel_irq_postinstall(struct drm_i915_private *dev_priv)
{ … }
int intel_irq_install(struct drm_i915_private *dev_priv)
{ … }
void intel_irq_uninstall(struct drm_i915_private *dev_priv)
{ … }
void intel_runtime_pm_disable_interrupts(struct drm_i915_private *dev_priv)
{ … }
void intel_runtime_pm_enable_interrupts(struct drm_i915_private *dev_priv)
{ … }
bool intel_irqs_enabled(struct drm_i915_private *dev_priv)
{ … }
void intel_synchronize_irq(struct drm_i915_private *i915)
{ … }
void intel_synchronize_hardirq(struct drm_i915_private *i915)
{ … }