]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89ab1ab31acf1a4973f555e91f09c5e8ee868659
treeb03f91b7fbc1d55a3227b0efcc38292cba00bd3b
parentd94050d81431e4f1ab75cf1f88fb74903def4e3f
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