]> 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)
commit9c540fd6c3deda897150ba624577edb8952a710f
treeb03f91b7fbc1d55a3227b0efcc38292cba00bd3b
parent069a9773601503aa5e2fc84f1e7800069c43523f
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