diff options
author | Stuart Summers <stuart.summers@intel.com> | 2020-07-13 11:23:16 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2020-07-14 02:47:15 -0700 |
commit | 2ffcfd8def00265c2f1f9fc711104fcd656101f9 (patch) | |
tree | c367a0570e5f13bb27176f53849499f2d78cb7c6 /drivers/gpu/drm/i915/i915_drv.h | |
parent | a133c6988f7080fb8baf86ecf5161065bec65fb6 (diff) | |
download | linux-stable-2ffcfd8def00265c2f1f9fc711104fcd656101f9.tar.gz linux-stable-2ffcfd8def00265c2f1f9fc711104fcd656101f9.tar.bz2 linux-stable-2ffcfd8def00265c2f1f9fc711104fcd656101f9.zip |
drm/i915: Add has_master_unit_irq flag
Add flag to differentiate platforms with and without the master
IRQ control bit.
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200713182321.12390-1-lucas.demarchi@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 87973dedf8e7..d357043db44e 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -1599,6 +1599,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915, #define HAS_LOGICAL_RING_PREEMPTION(dev_priv) \ (INTEL_INFO(dev_priv)->has_logical_ring_preemption) +#define HAS_MASTER_UNIT_IRQ(dev_priv) (INTEL_INFO(dev_priv)->has_master_unit_irq) + #define HAS_EXECLISTS(dev_priv) HAS_LOGICAL_RING_CONTEXTS(dev_priv) #define INTEL_PPGTT(dev_priv) (INTEL_INFO(dev_priv)->ppgtt_type) |