]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/gpu/drm/i915/i915_gem_gtt.c
UBUNTU: SAUCE: drm/i915: Add gen9 BCS cmdparsing
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / i915 / i915_gem_gtt.c
index 8151196d323bbdf89f302d5f9ed11cd7cd33d304..aa1edc7294554615eb834f0244b5286cfae6b57d 100644 (file)
@@ -157,7 +157,8 @@ int intel_sanitize_enable_ppgtt(struct drm_i915_private *dev_priv,
        if (enable_ppgtt == 0 && INTEL_GEN(dev_priv) < 9)
                return 0;
 
-       if (enable_ppgtt == 1)
+       /* Full PPGTT is required by the Gen9 cmdparser */
+       if (enable_ppgtt == 1 && INTEL_GEN(dev_priv) != 9)
                return 1;
 
        if (enable_ppgtt == 2 && has_full_ppgtt)