]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915/cnl: Remove unnecessary check in cnl_setup_private_ppat
authorMichel Thierry <michel.thierry@intel.com>
Fri, 27 Oct 2017 22:32:07 +0000 (15:32 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 31 Oct 2017 23:03:15 +0000 (16:03 -0700)
commitd9b99ffcb5aa113d175a3df845c72eac0d4624e0
tree9df98ba82c52df2baa0f60c4c4f6931be5f689ee
parent9f846643c788bbdf4d4b4fe587661705d07de8ef
drm/i915/cnl: Remove unnecessary check in cnl_setup_private_ppat

There is no need check if PPGTT is disabled because that not possible
in CNL. Execlists and GuC submission modes rely on at least aliasing
PPGTT and even intel_sanitize_enable_ppgtt says: "We don't allow disabling
PPGTT for gen9+ as it's a requirement for execlists, the sole mechanism
available to submit work."

Suggested-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171027223207.7869-1-michel.thierry@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c