drm/i915: Add has_64k_pages flag
authorStuart Summers <stuart.summers@intel.com>
Wed, 8 Dec 2021 14:16:10 +0000 (19:46 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Thu, 9 Dec 2021 16:39:27 +0000 (22:09 +0530)
commitc83125bb2199bc304badc98fcc7c79704053aeb4
treeb03f91b7fbc1d55a3227b0efcc38292cba00bd3b
parent20cddfcc82e642e4682c48af91f0702fbbd623a0
drm/i915: Add has_64k_pages flag

Add a new platform flag, has_64k_pages, to mark the requirement of 64K
GTT page sizes or larger for device local memory access.

Also implies that we require or at least support the compact PT layout
for the ppGTT when using 64K GTT pages.

v2: More explanation for the flag [Thomas]

Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211208141613.7251-2-ramalingam.c@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.h