Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions drivers/gpu/drm/i915/i915_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -2703,11 +2703,15 @@ intel_info(const struct drm_i915_private *dev_priv)

static inline bool intel_vtd_active(void)
{
#if 0
#ifdef CONFIG_INTEL_IOMMU
if (intel_iommu_gfx_mapped)
return true;
#endif
return false;
#else
return true;
#endif
}

static inline bool intel_scanout_needs_vtd_wa(struct drm_i915_private *dev_priv)
Expand Down